summarylogtreecommitdiffstats
path: root/loop_install
diff options
context:
space:
mode:
authorCsaba Henk2015-09-12 17:59:47 +0200
committerCsaba Henk2015-09-12 18:29:18 +0200
commit9e6c3e9c022cb0c0b6dd68013d766161286530da (patch)
tree9bfc8e6d15e8c8f46aba79a0419bba19aa701f29 /loop_install
downloadaur-mkinitcpio-loop-subdir.tar.gz
Initial commit
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 000000000000..b9b8b1f1b3be
--- /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: