Enable loopback partitions per default.
authorUlrich Dangel <uli@spamt.net>
Fri, 25 Mar 2011 17:08:45 +0000 (18:08 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 27 Mar 2011 20:42:34 +0000 (22:42 +0200)
etc/grml/fai/config/files/etc/modprobe.d/loop-part.conf/GRMLBASE [new file with mode: 0644]
etc/grml/fai/config/scripts/GRMLBASE/39-modprobe

diff --git a/etc/grml/fai/config/files/etc/modprobe.d/loop-part.conf/GRMLBASE b/etc/grml/fai/config/files/etc/modprobe.d/loop-part.conf/GRMLBASE
new file mode 100644 (file)
index 0000000..fdfc145
--- /dev/null
@@ -0,0 +1,14 @@
+# This file was deployed via grml-live's
+# /etc/grml/fai/config/scripts/GRMLBASE/39-modprobe script, using
+# /etc/grml/fai/config/files/etc/modprobe.d/loop-part.conf/GRMLBASE
+#
+# Filename:      /etc/modprobe.d/loop-part.conf
+# Purpose:       Enable partitions for loop devices per default
+#                in grml
+# Authors:       grml-team (grml.org),
+#                (c) Ulrich Dangel <mru@grml.org>
+# Bug-Reports:   see http://grml.org/bugs/
+# License:       This file is licensed under the GPL v2 or any later version.
+################################################################################
+
+options loop max_part=15
index 0c1c5aa..e773fbd 100755 (executable)
@@ -20,5 +20,8 @@ find $target/etc/modprobe.d -maxdepth 1 -type f ! -name \*\.conf -exec mv {} {}.
 # Replace modprobe configuration files to workaround issues.
 fcopy /etc/modprobe.d/radeon-kms.conf
 
+# Copy the loop options
+fcopy /etc/modprobe.d/loop-part.conf
+
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3