From 070184ea66bae81963d34d6d60ad46be68190172 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 3 Jan 2009 16:02:54 +0000 Subject: [PATCH] Update --- rescue/linux/usb/remaster/pack_sqfs | 9 +++++++++ rescue/linux/usb/remaster/update_sqfs | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- 2.39.5