]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/usb/remaster/update_packages
Update
[bacula/rescue] / rescue / linux / usb / remaster / update_packages
index 4f51aed4e476e92a54d27ac127ae810320b5cf64..b9900014c95d2975beaa6c25c2899c098a1f53f7 100644 (file)
@@ -4,6 +4,10 @@
 #   but it should work even if you have already updated it.
 #
 
+if [ ! -d sqfs ] ; then
+  echo "Cannot find squashfs (sqfs directory)"
+  exit 1
+fi
 chroot sqfs /bin/sh
 mount -t proc none /proc/
 mount -t sysfs non /sys/