]> git.sur5r.net Git - bacula/rescue/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 16:02:54 +0000 (16:02 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 16:02:54 +0000 (16:02 +0000)
rescue/linux/usb/remaster/pack_sqfs
rescue/linux/usb/remaster/update_sqfs

index 927792bfd80d17ee6d0fad57af5f7883fde9a245..f498adadb4432e3bbe7e9a56c384879801e6be9b 100755 (executable)
@@ -1,4 +1,13 @@
 #!/bin/sh
 #
+. ../config
+
+if [ ! -d sqfs ] ; then
+  echo "Cannot find sqfs ..."
+  exit 1
+fi
 rm -f filesystem.squashfs
+echo "Squashing the filesystem ..."
 mksquashfs sqfs filesystem.squashfs
+rm -f filesystem.manifest
+cp sqfs/filesystem.manifest .
index 8cf283649a4fda016f97a145b11118d53fe9e3e5..6b7791647b6b5b3c3bc8675f333217bd9946769e 100755 (executable)
@@ -3,7 +3,7 @@
 #  Put a new squashfs on the disk image
 #
 
-. ./config
+. ../config
 
 
 if [ ! -d ${DISK_IMAGE}/casper ] ; then