From: Kern Sibbald Date: Sat, 3 Jan 2009 16:02:54 +0000 (+0000) Subject: Update X-Git-Tag: Release-5.0.3~830 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=070184ea66bae81963d34d6d60ad46be68190172;p=bacula%2Frescue Update --- diff --git a/rescue/linux/usb/remaster/pack_sqfs b/rescue/linux/usb/remaster/pack_sqfs index 927792b..f498ada 100755 --- a/rescue/linux/usb/remaster/pack_sqfs +++ b/rescue/linux/usb/remaster/pack_sqfs @@ -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 . diff --git a/rescue/linux/usb/remaster/update_sqfs b/rescue/linux/usb/remaster/update_sqfs index 8cf2836..6b77916 100755 --- a/rescue/linux/usb/remaster/update_sqfs +++ b/rescue/linux/usb/remaster/update_sqfs @@ -3,7 +3,7 @@ # Put a new squashfs on the disk image # -. ./config +. ../config if [ ! -d ${DISK_IMAGE}/casper ] ; then