summaryrefslogtreecommitdiffstats
path: root/recipes/squashfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squashfs.sh')
-rwxr-xr-xrecipes/squashfs.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/squashfs.sh b/recipes/squashfs.sh
new file mode 100755
index 00000000..3daaf2e8
--- /dev/null
+++ b/recipes/squashfs.sh
@@ -0,0 +1,12 @@
+#!/bin/sh -
+
+datadir=/usr/share/man/man8
+/sbin/mksquashfs $datadir test.sqsh
+
+guestfish <<EOF
+alloc test.img 10M
+add test.sqsh
+run
+mount /dev/sdb /
+ll /
+EOF