diff options
author | Dave Reisner <dreisner@archlinux.org> | 2017-03-18 19:14:36 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-03-19 20:14:47 +0100 |
commit | c5ad00c2e565eaae8e8b02b92d7f193852008c80 (patch) | |
tree | 18493daa87e45e9f75a35699015917b8440a536c /mkinitcpio.conf | |
parent | 91b212551a5066bda4eb76c83bdd9c0d0ac8e6cc (diff) | |
download | mkinitcpio-c5ad00c2e565eaae8e8b02b92d7f193852008c80.tar.gz mkinitcpio-c5ad00c2e565eaae8e8b02b92d7f193852008c80.tar.xz |
arrayize config vars in mkinitcpio.conf
allows for backwards compat by detecting and converting old-style
string-based configs.
Diffstat (limited to 'mkinitcpio.conf')
-rw-r--r-- | mkinitcpio.conf | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mkinitcpio.conf b/mkinitcpio.conf index c4d5e06..b926b90 100644 --- a/mkinitcpio.conf +++ b/mkinitcpio.conf @@ -3,20 +3,20 @@ # The following modules are loaded before any boot hooks are # run. Advanced users may wish to specify all system modules # in this array. For instance: -# MODULES="piix ide_disk reiserfs" -MODULES="" +# MODULES=(piix ide_disk reiserfs) +MODULES=() # BINARIES # This setting includes any additional binaries a given user may # wish into the CPIO image. This is run last, so it may be used to # override the actual binaries included by a given hook # BINARIES are dependency parsed, so you may safely ignore libraries -BINARIES="" +BINARIES=() # FILES # This setting is similar to BINARIES above, however, files are added # as-is and are not parsed in any way. This is useful for config files. -FILES="" +FILES=() # HOOKS # This is the most important setting in this file. The HOOKS control the @@ -30,26 +30,26 @@ FILES="" # Examples: ## This setup specifies all modules in the MODULES setting above. ## No raid, lvm2, or encrypted root is needed. -# HOOKS="base" +# HOOKS=(base) # ## This setup will autodetect all modules for your system and should ## work as a sane default -# HOOKS="base udev autodetect block filesystems" +# HOOKS=(base udev autodetect block filesystems) # ## This setup will generate a 'full' image which supports most systems. ## No autodetection is done. -# HOOKS="base udev block filesystems" +# HOOKS=(base udev block filesystems) # ## This setup assembles a pata mdadm array with an encrypted root FS. ## Note: See 'mkinitcpio -H mdadm' for more information on raid devices. -# HOOKS="base udev block mdadm encrypt filesystems" +# HOOKS=(base udev block mdadm encrypt filesystems) # ## This setup loads an lvm2 volume group on a usb device. -# HOOKS="base udev block lvm2 filesystems" +# HOOKS=(base udev block lvm2 filesystems) # ## NOTE: If you have /usr on a separate partition, you MUST include the # usr, fsck and shutdown hooks. -HOOKS="base udev autodetect modconf block filesystems keyboard fsck" +HOOKS=(base udev autodetect modconf block filesystems keyboard fsck) # COMPRESSION # Use this to compress the initramfs image. By default, gzip compression @@ -63,4 +63,4 @@ HOOKS="base udev autodetect modconf block filesystems keyboard fsck" # COMPRESSION_OPTIONS # Additional options for the compressor -#COMPRESSION_OPTIONS="" +#COMPRESSION_OPTIONS=() |