Derp, the mounted image doesn't have folders.

This commit is contained in:
Steev Klimaszewski
2018-06-28 15:37:28 -05:00
parent 887a78ee78
commit 307da24353

View File

@@ -454,11 +454,9 @@ mkfs.vfat $bootp
mkfs.ext4 $rootp
# Create the dirs for the partitions and mount them
mkdir -p ${basedir}/root/boot
ls ${basedir} -lah
echo "mounting root to ${basedir}/root"
mkdir -p ${basedir}/root/
mount $rootp ${basedir}/root
echo "mounting boot to ${basedir}/root/boot"
mkdir -p ${basedir}/root/boot
mount $bootp ${basedir}/root/boot
echo "Rsyncing rootfs into image file"