[arch-commits] Commit in dracut/trunk (PKGBUILD)

Giancarlo Razzolini grazzolini at archlinux.org
Thu Apr 16 15:52:03 UTC 2020


    Date: Thursday, April 16, 2020 @ 15:52:02
  Author: grazzolini
Revision: 380433

upgpkg: dracut 050-1

Modified:
  dracut/trunk/PKGBUILD

----------+
 PKGBUILD |   47 ++++++++++++++---------------------------------
 1 file changed, 14 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-16 14:04:22 UTC (rev 380432)
+++ PKGBUILD	2020-04-16 15:52:02 UTC (rev 380433)
@@ -1,9 +1,7 @@
 # Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
 pkgname=dracut
-pkgver=049
-# tag commit of the pkgver
-_tag_blob='1a3447fa9bbf0954d62025957362536a482f1f79'
-pkgrel=4
+pkgver=050
+pkgrel=1
 pkgdesc="An event driven initramfs infrastructure"
 arch=('x86_64')
 url="https://dracut.wiki.kernel.org"
@@ -11,42 +9,25 @@
 depends=('bash' 'coreutils' 'cpio' 'filesystem' 'findutils' 'grep' 'gzip'
          'kmod' 'pkgconf' 'procps-ng' 'sed' 'systemd' 'util-linux' 'xz')
 makedepends=('asciidoc' 'bash-completion' 'git')
+optdepends=('binutils: --uefi option support'
+            'elfutils: strip binaries to reduce initramfs size'
+            'hardlink: --hardlink option support'
+            'multipath-tools: dmraid dracut module support'
+            'pigz: faster gzip compression'
+            'sbsigntools: uefi_secureboot_cert/key configuration option support')
 provides=('initramfs')
 backup=('etc/dracut.conf')
-source=("git+https://github.com/dracutdevs/dracut#tag=${_tag_blob}?signed")
-sha512sums=('SKIP')
+source=(https://mirrors.edge.kernel.org/pub/linux/utils/boot/dracut/dracut-050.tar{.gz,.sign})
+sha512sums=('41ab9e089b91f8cd037dc545c164bbd63fe470bc5475d887f98d291ed5da24876b4cdfc4ae259151e52bfdcb599dce87c0b19d753c97cb4a25b664d8f5b39487'
+            'SKIP')
 validpgpkeys=(
-  '4C96E1500F9421CCF82D5DCA034EB370014DF270' # Harald Hoyer <harald at redhat.com>
+  '7F3D64824AC0B6B8009E50504BC0896FB5693595' # Harald Hoyer <harald at redhat.com>
 )
 
-_backports=(
-  #Replace $(arch) by $(uname -m)
-  '0585725908c9238e5da6b7768c05bf0ac0a0a015'
-)
-
-_reverts=(
-)
-
-prepare() {
-  cd "$srcdir/${pkgname}"
-
-  local _c
-  
-  for _c in "${_backports[@]}"; do
-    git log --oneline -1 "${_c}"  
-    git cherry-pick -n "${_c}"
-  done
-
-  for _c in "${_reverts[@]}"; do
-    git log --oneline -1 "${_c}"
-    git revert -n "${_c}"
-  done
-}
-
 build() {
   local prefix=/usr sysconfdir=/etc
   
-  cd "$srcdir/${pkgname}"
+  cd "$srcdir/${pkgname}-${pkgver}"
 
   ./configure \
     --sysconfdir=${sysconfdir} \
@@ -58,7 +39,7 @@
 }
 
 package() {
-  cd "$srcdir/${pkgname}"
+  cd "$srcdir/${pkgname}-${pkgver}"
 
   DESTDIR="$pkgdir" make install
 }



More information about the arch-commits mailing list