mkrootfs: put /boot/MLO at the head on beaglebone.
This file must be in the first sectors of the /boot FAT partition on the image.
This commit is contained in:
parent
4aaaa89d1c
commit
b6ca6f8027
@ -218,7 +218,13 @@ fi
|
|||||||
|
|
||||||
tarball=void-${PLATFORM}-rootfs-$(date '+%Y%m%d').tar.xz
|
tarball=void-${PLATFORM}-rootfs-$(date '+%Y%m%d').tar.xz
|
||||||
|
|
||||||
run_cmd "tar cp -C $rootfs . | $XZ -9 > $tarball"
|
if [ "$PLATFORM" = "beaglebone" ]; then
|
||||||
|
# On Beaglebone make sure that boot/MLO is at the head.
|
||||||
|
run_cmd "tar -cp --posix -C $rootfs ./boot/MLO . | $XZ -9 > $tarball"
|
||||||
|
else
|
||||||
|
run_cmd "tar -cp --posix -C $rootfs . | $XZ -9 > $tarball "
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf $rootfs
|
rm -rf $rootfs
|
||||||
|
|
||||||
info_msg "Successfully created $tarball ($PLATFORM)"
|
info_msg "Successfully created $tarball ($PLATFORM)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user