mk{image,rootfs}: misc tweaks for beaglebone.

This commit is contained in:
Juan RP
2014-12-05 11:06:39 +01:00
parent b7a3926c5b
commit 3818e6d425
2 changed files with 12 additions and 17 deletions

View File

@@ -217,13 +217,7 @@ if [ -n "${_ARCH}" ]; then
fi
tarball=void-${PLATFORM}-rootfs-$(date '+%Y%m%d').tar.xz
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
run_cmd "tar -cp --posix -C $rootfs . | $XZ -9 > $tarball "
rm -rf $rootfs