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

Andreas Radke andyrtr at archlinux.org
Sun Mar 19 09:59:19 UTC 2017


    Date: Sunday, March 19, 2017 @ 09:59:19
  Author: andyrtr
Revision: 291083

decrease hook number; FS#52144

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

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

Copied: linux-lts/trunk/90-linux.hook (from rev 291082, linux-lts/trunk/99-linux.hook)
===================================================================
--- 90-linux.hook	                        (rev 0)
+++ 90-linux.hook	2017-03-19 09:59:19 UTC (rev 291083)
@@ -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:31:55 UTC (rev 291082)
+++ 99-linux.hook	2017-03-19 09:59:19 UTC (rev 291083)
@@ -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:31:55 UTC (rev 291082)
+++ PKGBUILD	2017-03-19 09:59:19 UTC (rev 291083)
@@ -16,7 +16,7 @@
         # the main kernel config files
         'config' 'config.x86_64'
         # pacman hook for initramfs regeneration
-        '99-linux.hook'
+        '90-linux.hook'
         # standard config files for mkinitcpio ramdisk
         linux-lts.preset
         change-default-console-loglevel.patch)
@@ -127,8 +127,8 @@
     -i "${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