[arch-projects] [MKINITCPIO][PATCH 3/4] Disable example file

Sébastien Luttringer seblu at seblu.net
Mon Feb 4 12:44:01 EST 2013


Add .disable to example file in mkinitcpio.d to avoid this file to be
automatically builded by -p and -a option of mkinitpcio

Signed-off-by: Sébastien Luttringer <seblu at seblu.net>
---
 mkinitcpio.d/example.preset         | 25 -------------------------
 mkinitcpio.d/example.preset.disable | 25 +++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 25 deletions(-)
 delete mode 100644 mkinitcpio.d/example.preset
 create mode 100644 mkinitcpio.d/example.preset.disable

diff --git a/mkinitcpio.d/example.preset b/mkinitcpio.d/example.preset
deleted file mode 100644
index a0479d2..0000000
--- a/mkinitcpio.d/example.preset
+++ /dev/null
@@ -1,25 +0,0 @@
-# Example mkinitcpio preset file
-
-# preset names
-PRESETS=('default' 'fallback')
-
-# ALL_kver is used if presetname_kver is not set
-# The kver can be specified as an explicit kernel version or
-# as the path to an kernel image.
-ALL_kver='/boot/vmlinuz-linux'
-ALL_config='/etc/mkinitcpio.conf'
-
-# presetname_kver    - the kernel version (omit if ALL_kver should be used)
-# presetname_config  - the configuration file (omit if ALL_config should be used)
-# presetname_image   - the filename of generated image
-# presetname_options - any extra options
-
-#default_kver="3.0-ARCH"
-#default_config="/etc/mkinitcpio.conf"
-default_image="/tmp/initramfs-linux.img"
-default_options=""
-
-#fallback_kver="3.0-ARCH"
-#fallback_config="/etc/mkinitcpio.conf"
-fallback_image="/tmp/initramfs-linux-fallback.img"
-fallback_options="-S autodetect"
diff --git a/mkinitcpio.d/example.preset.disable b/mkinitcpio.d/example.preset.disable
new file mode 100644
index 0000000..a0479d2
--- /dev/null
+++ b/mkinitcpio.d/example.preset.disable
@@ -0,0 +1,25 @@
+# Example mkinitcpio preset file
+
+# preset names
+PRESETS=('default' 'fallback')
+
+# ALL_kver is used if presetname_kver is not set
+# The kver can be specified as an explicit kernel version or
+# as the path to an kernel image.
+ALL_kver='/boot/vmlinuz-linux'
+ALL_config='/etc/mkinitcpio.conf'
+
+# presetname_kver    - the kernel version (omit if ALL_kver should be used)
+# presetname_config  - the configuration file (omit if ALL_config should be used)
+# presetname_image   - the filename of generated image
+# presetname_options - any extra options
+
+#default_kver="3.0-ARCH"
+#default_config="/etc/mkinitcpio.conf"
+default_image="/tmp/initramfs-linux.img"
+default_options=""
+
+#fallback_kver="3.0-ARCH"
+#fallback_config="/etc/mkinitcpio.conf"
+fallback_image="/tmp/initramfs-linux-fallback.img"
+fallback_options="-S autodetect"
-- 
Sébastien "Seblu" Luttringer



More information about the arch-projects mailing list