summaryrefslogtreecommitdiffstats
path: root/mkinitcpio.d/example.preset
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-10-01 21:27:49 +0200
committerDave Reisner <dreisner@archlinux.org>2011-10-01 21:27:49 +0200
commitda9d5608ab41d498084731edcc95e98330cea83f (patch)
tree9474d8cf733908adc8074df716085e2ace130193 /mkinitcpio.d/example.preset
parent06fb998d60257ed43afd10a39fb910b869502160 (diff)
downloadmkinitcpio-da9d5608ab41d498084731edcc95e98330cea83f.tar.gz
mkinitcpio-da9d5608ab41d498084731edcc95e98330cea83f.tar.xz
example.preset: update for newer style syntax
We don't suggest sourcing a .kver file anymore, and it can instead be a path to a kernel image. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'mkinitcpio.d/example.preset')
-rw-r--r--mkinitcpio.d/example.preset15
1 files changed, 7 insertions, 8 deletions
diff --git a/mkinitcpio.d/example.preset b/mkinitcpio.d/example.preset
index 93a8f92..a0479d2 100644
--- a/mkinitcpio.d/example.preset
+++ b/mkinitcpio.d/example.preset
@@ -4,10 +4,9 @@
PRESETS=('default' 'fallback')
# ALL_kver is used if presetname_kver is not set
-# note for distribution kernels: this should be in a separate file
-# and read like this:
-# . /etc/mkinitcpio.d/exmaple.kver
-ALL_kver='/boot/vmlinuz26'
+# 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)
@@ -15,12 +14,12 @@ ALL_config='/etc/mkinitcpio.conf'
# presetname_image - the filename of generated image
# presetname_options - any extra options
-#default_kver="2.6.18-ARCH"
+#default_kver="3.0-ARCH"
#default_config="/etc/mkinitcpio.conf"
-default_image="/tmp/kernel26.img"
+default_image="/tmp/initramfs-linux.img"
default_options=""
-#fallback_kver="2.6.18-ARCH"
+#fallback_kver="3.0-ARCH"
#fallback_config="/etc/mkinitcpio.conf"
-fallback_image="/tmp/kernel26-fallback.img"
+fallback_image="/tmp/initramfs-linux-fallback.img"
fallback_options="-S autodetect"