[arch-commits] Commit in linux/trunk (90-linux.hook 99-linux.hook PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Sun Mar 19 10:00:21 UTC 2017


    Date: Sunday, March 19, 2017 @ 10:00:20
  Author: andyrtr
Revision: 291084

decrease hook number; FS#52144

Added:
  linux/trunk/90-linux.hook
    (from rev 291083, linux/trunk/99-linux.hook)
Modified:
  linux/trunk/PKGBUILD
Deleted:
  linux/trunk/99-linux.hook

---------------+
 90-linux.hook |   11 +++++++++++
 99-linux.hook |   11 -----------
 PKGBUILD      |    6 +++---
 3 files changed, 14 insertions(+), 14 deletions(-)

Copied: linux/trunk/90-linux.hook (from rev 291083, linux/trunk/99-linux.hook)
===================================================================
--- 90-linux.hook	                        (rev 0)
+++ 90-linux.hook	2017-03-19 10:00:20 UTC (rev 291084)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = boot/vmlinuz-%PKGBASE%
+Target = usr/lib/initcpio/*
+
+[Action]
+Description = Updating %PKGBASE% initcpios
+When = PostTransaction
+Exec = /usr/bin/mkinitcpio -p %PKGBASE%

Deleted: 99-linux.hook
===================================================================
--- 99-linux.hook	2017-03-19 09:59:19 UTC (rev 291083)
+++ 99-linux.hook	2017-03-19 10:00:20 UTC (rev 291084)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Target = boot/vmlinuz-%PKGBASE%
-Target = usr/lib/initcpio/*
-
-[Action]
-Description = Updating %PKGBASE% initcpios
-When = PostTransaction
-Exec = /usr/bin/mkinitcpio -p %PKGBASE%

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-19 09:59:19 UTC (rev 291083)
+++ PKGBUILD	2017-03-19 10:00:20 UTC (rev 291084)
@@ -19,7 +19,7 @@
         # the main kernel config files
         'config.i686' 'config.x86_64'
         # pacman hook for initramfs regeneration
-        '99-linux.hook'
+        '90-linux.hook'
         # standard config files for mkinitcpio ramdisk
         'linux.preset')
 
@@ -112,8 +112,8 @@
     install -D -m644 /dev/stdin "${pkgdir}/etc/mkinitcpio.d/${pkgbase}.preset"
 
   # install pacman hook for initramfs regeneration
-  sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/99-linux.hook" |
-    install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/99-${pkgbase}.hook"
+  sed "s|%PKGBASE%|${pkgbase}|g" "${srcdir}/90-linux.hook" |
+    install -D -m644 /dev/stdin "${pkgdir}/usr/share/libalpm/hooks/90-${pkgbase}.hook"
 
   # remove build and source links
   rm -f "${pkgdir}"/lib/modules/${_kernver}/{source,build}



More information about the arch-commits mailing list