Permalink
Browse files

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>
  • Loading branch information...
falconindy committed Oct 1, 2011
1 parent 06fb998 commit da9d5608ab41d498084731edcc95e98330cea83f
Showing with 7 additions and 8 deletions.
  1. +7 −8 mkinitcpio.d/example.preset
@@ -4,23 +4,22 @@
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)
# 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_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"

0 comments on commit da9d560

Please sign in to comment.