Derp, the mounted image doesn't have folders.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user