|
|
@ -70,7 +70,7 @@ mount_image() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Find the rootfs location
|
|
|
|
# Find the rootfs location
|
|
|
|
rootfs_dev_mapper="/dev/mapper/${loop_device}p${rootpart}"
|
|
|
|
rootfs_dev_mapper="${loop_device}p${rootpart}"
|
|
|
|
if [ ! -b "${rootfs_dev_mapper}" ]; then
|
|
|
|
if [ ! -b "${rootfs_dev_mapper}" ]; then
|
|
|
|
echo "${rootfs_dev_mapper} is not a block device";
|
|
|
|
echo "${rootfs_dev_mapper} is not a block device";
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|