]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/oldusb/remaster/pack_sqfs
Move usb to oldusb
[bacula/rescue] / rescue / linux / oldusb / remaster / pack_sqfs
diff --git a/rescue/linux/oldusb/remaster/pack_sqfs b/rescue/linux/oldusb/remaster/pack_sqfs
new file mode 100755 (executable)
index 0000000..f498ada
--- /dev/null
@@ -0,0 +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 .