summaryrefslogtreecommitdiffstats
path: root/mkinitcpio.d/example.preset
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-03-15 22:31:36 +0100
committerThomas Bächler <thomas@archlinux.org>2008-03-15 22:31:36 +0100
commitdff86cf5af941ad1478e765641f8f05722b18ae3 (patch)
tree329172b35547b10fd18a5e4f743fd338e73fddf5 /mkinitcpio.d/example.preset
parent5ce327f59920366b4f43eec12becf484383643ca (diff)
downloadmkinitcpio-dff86cf5af941ad1478e765641f8f05722b18ae3.tar.gz
mkinitcpio-dff86cf5af941ad1478e765641f8f05722b18ae3.tar.xz
Make presets more powerful: a fallback image can be generated without a separate configuration file
Diffstat (limited to 'mkinitcpio.d/example.preset')
-rw-r--r--mkinitcpio.d/example.preset16
1 files changed, 10 insertions, 6 deletions
diff --git a/mkinitcpio.d/example.preset b/mkinitcpio.d/example.preset
index b283815..9ad53a3 100644
--- a/mkinitcpio.d/example.preset
+++ b/mkinitcpio.d/example.preset
@@ -7,16 +7,20 @@ PRESETS=('default' 'fallback')
# note for distribution kernels: this should be in a separate file
# and read like this:
# source /etc/mkinitcpio.d/exmaple.kver
-ALL_kver='2.6.18-ARCH'
+ALL_kver='2.6.24-ARCH'
+ALL_config='/etc/mkinitcpio.conf'
-# presetname_kver specifies the kernel version (omit if ALL_kver should be used)
-# presetname_config specifies the configuration file
-# presetname_image specifies the image to be generated
+# 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="2.6.18-ARCH"
-default_config="/etc/mkinitcpio.conf"
+#default_config="/etc/mkinitcpio.conf"
default_image="/tmp/kernel26.img"
+default_options=""
#fallback_kver="2.6.18-ARCH"
-fallback_config="/etc/mkinitcpio.d/mkinitcpio-kernel26-fallback.conf"
+#fallback_config="/etc/mkinitcpio.conf"
fallback_image="/tmp/kernel26-fallback.img"
+fallback_options="-S autodetect"