diff options
Diffstat (limited to 'linux.preset')
-rw-r--r-- | linux.preset | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/linux.preset b/linux.preset index 046277584140..66709a8c1537 100644 --- a/linux.preset +++ b/linux.preset @@ -1,27 +1,14 @@ -post_install () { - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - depmod %KERNVER% -} +# mkinitcpio preset file for the '%PKGBASE%' package -post_upgrade() { - if findmnt --fstab -uno SOURCE /boot &>/dev/null && ! mountpoint -q /boot; then - echo "WARNING: /boot appears to be a separate partition but is not mounted." - fi +ALL_config="/etc/mkinitcpio.conf" +ALL_kver="/boot/vmlinuz-%PKGBASE%" - # updating module dependencies - echo ">>> Updating module dependencies. Please wait ..." - depmod %KERNVER% +PRESETS=('default' 'fallback') - if [ $(vercmp $2 3.13) -lt 0 ]; then - echo ">>> WARNING: AT keyboard support is no longer built into the kernel." - echo ">>> In order to use your keyboard during early init, you MUST" - echo ">>> include the 'keyboard' hook in your mkinitcpio.conf." - fi -} +#default_config="/etc/mkinitcpio.conf" +default_image="/boot/initramfs-%PKGBASE%.img" +#default_options="" -post_remove() { - # also remove the compat symlinks - rm -f boot/initramfs-%PKGBASE%.img - rm -f boot/initramfs-%PKGBASE%-fallback.img -} +#fallback_config="/etc/mkinitcpio.conf" +fallback_image="/boot/initramfs-%PKGBASE%-fallback.img" +fallback_options="-S autodetect" |