diff --git a/80-linux.hook b/99-linux.hook similarity index 100% rename from 80-linux.hook rename to 99-linux.hook diff --git a/PKGBUILD b/PKGBUILD index bf1ce82..173cf93 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -19,7 +19,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" # the main kernel config files 'config' 'config.x86_64' # pacman hook for initramfs regeneration - '80-linux.hook' + '99-linux.hook' # standard config files for mkinitcpio ramdisk 'linux.preset' 'change-default-console-loglevel.patch' @@ -124,8 +124,8 @@ _package() { install -D -m644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset" # install pacman hook for initramfs regeneration - sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/80-linux.hook" | - install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/80-${pkgbase}.hook" + sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/99-linux.hook" | + install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/99-${pkgbase}.hook" # remove build and source links rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}