]> git.sur5r.net Git - bacula/rescue/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 16:03:33 +0000 (16:03 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 3 Jan 2009 16:03:33 +0000 (16:03 +0000)
rescue/linux/usb/remaster/update_sqfs [deleted file]
rescue/linux/usb/remaster/write_sqfs_to_disk_image [new file with mode: 0755]

diff --git a/rescue/linux/usb/remaster/update_sqfs b/rescue/linux/usb/remaster/update_sqfs
deleted file mode 100755 (executable)
index 6b77916..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-#  Put a new squashfs on the disk image
-#
-
-. ../config
-
-
-if [ ! -d ${DISK_IMAGE}/casper ] ; then
-  echo "Cannot find ${DISK_IMAGE}/casper directory -- possibly not detarred"
-  exit 1
-fi
-
-echo "Removing old squashfs"
-rm -f ${DISK_IMAGE}/casper/filesystem.squashfs ${DISK_IMAGE}/casper/filesystem.manifest 
-rm -f ${DISK_IMAGE}/casper/filesystem.manifest-desktop
-
-echo "Copying new squashfs"
-cp filesystem.manifest ${DISK_IMAGE}/casper/
-cp filesystem.manifest ${DISK_IMAGE}/casper/filesystem.manifest-desktop
-cp filesystem.squashfs ${DISK_IMAGE}/casper/
-sync
diff --git a/rescue/linux/usb/remaster/write_sqfs_to_disk_image b/rescue/linux/usb/remaster/write_sqfs_to_disk_image
new file mode 100755 (executable)
index 0000000..6b77916
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+#  Put a new squashfs on the disk image
+#
+
+. ../config
+
+
+if [ ! -d ${DISK_IMAGE}/casper ] ; then
+  echo "Cannot find ${DISK_IMAGE}/casper directory -- possibly not detarred"
+  exit 1
+fi
+
+echo "Removing old squashfs"
+rm -f ${DISK_IMAGE}/casper/filesystem.squashfs ${DISK_IMAGE}/casper/filesystem.manifest 
+rm -f ${DISK_IMAGE}/casper/filesystem.manifest-desktop
+
+echo "Copying new squashfs"
+cp filesystem.manifest ${DISK_IMAGE}/casper/
+cp filesystem.manifest ${DISK_IMAGE}/casper/filesystem.manifest-desktop
+cp filesystem.squashfs ${DISK_IMAGE}/casper/
+sync