summarylogtreecommitdiffstats
path: root/loop_install
diff options
context:
space:
mode:
Diffstat (limited to 'loop_install')
-rw-r--r--loop_install24
1 files changed, 24 insertions, 0 deletions
diff --git a/loop_install b/loop_install
new file mode 100644
index 00000000000..b9b8b1f1b3b
--- /dev/null
+++ b/loop_install
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+build() {
+ add_module fuse
+ add_module loop
+ add_binary ntfs-3g
+
+ add_runscript
+}
+
+help() {
+ cat <<HELPEOF
+Support for mounting Arch root from a file image.
+Make sure to add the filesystem kernel modules
+for your image type when building the initramfs
+as it won't be auto-detected.
+
+Syntax: root=<rootdev>@/<imagepath>
+ partfstype=<fstype>
+ offset=<int>
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et: