move 80-linux.hook to 99-linux.hook
This commit is contained in:
parent
0c6d4c7ab6
commit
a469c3f79d
6
PKGBUILD
6
PKGBUILD
|
@ -19,7 +19,7 @@ source=("https://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
|
||||||
# the main kernel config files
|
# the main kernel config files
|
||||||
'config' 'config.x86_64'
|
'config' 'config.x86_64'
|
||||||
# pacman hook for initramfs regeneration
|
# pacman hook for initramfs regeneration
|
||||||
'80-linux.hook'
|
'99-linux.hook'
|
||||||
# standard config files for mkinitcpio ramdisk
|
# standard config files for mkinitcpio ramdisk
|
||||||
'linux.preset'
|
'linux.preset'
|
||||||
'change-default-console-loglevel.patch'
|
'change-default-console-loglevel.patch'
|
||||||
|
@ -124,8 +124,8 @@ _package() {
|
||||||
install -D -m644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
|
install -D -m644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
|
||||||
|
|
||||||
# install pacman hook for initramfs regeneration
|
# install pacman hook for initramfs regeneration
|
||||||
sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/80-linux.hook" |
|
sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/99-linux.hook" |
|
||||||
install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/80-${pkgbase}.hook"
|
install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/99-${pkgbase}.hook"
|
||||||
|
|
||||||
# remove build and source links
|
# remove build and source links
|
||||||
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
|
rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}
|
||||||
|
|
Loading…
Reference in New Issue