[arch-commits] Commit in mkinitcpio/repos (3 files)

Giancarlo Razzolini grazzolini at archlinux.org
Thu May 23 17:11:07 UTC 2019


    Date: Thursday, May 23, 2019 @ 17:11:07
  Author: grazzolini
Revision: 353926

archrelease: copy trunk to extra-any

Added:
  mkinitcpio/repos/extra-any/
  mkinitcpio/repos/extra-any/PKGBUILD
    (from rev 353925, mkinitcpio/trunk/PKGBUILD)
  mkinitcpio/repos/extra-any/mkinitcpio.install
    (from rev 353925, mkinitcpio/trunk/mkinitcpio.install)

--------------------+
 PKGBUILD           |   33 +++++++++++++++++++++++++++++++++
 mkinitcpio.install |   15 +++++++++++++++
 2 files changed, 48 insertions(+)

Copied: mkinitcpio/repos/extra-any/PKGBUILD (from rev 353925, mkinitcpio/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2019-05-23 17:11:07 UTC (rev 353926)
@@ -0,0 +1,33 @@
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Maintainer: Thomas Bächler <thomas at archlinux.org>
+
+pkgname=mkinitcpio
+pkgver=25
+pkgrel=2
+pkgdesc="Modular initramfs image creation utility"
+arch=('any')
+url="https://projects.archlinux.org/mkinitcpio.git/"
+license=('GPL')
+depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive'
+         'coreutils' 'bash' 'findutils' 'grep' 'filesystem>=2011.10-1' 'gzip' 'systemd')
+optdepends=('xz: Use lzma or xz compression for the initramfs image'
+            'bzip2: Use bzip2 compression for the initramfs image'
+            'lzop: Use lzo compression for the initramfs image'
+            'lz4: Use lz4 compression for the initramfs image'
+            'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
+provides=('initramfs')
+backup=('etc/mkinitcpio.conf')
+source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+install=mkinitcpio.install
+sha256sums=('e14056a9c460d15652e99620bce4308d4dd9309f82c152c4b52287e697fab599'
+            'SKIP')
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53'   # Dave Reisner
+              '86CFFCA918CF3AF47147588051E8B148A9999C34')  # Evangelos Foutras
+
+check() {
+  make -C "$pkgname-$pkgver" check
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}

Copied: mkinitcpio/repos/extra-any/mkinitcpio.install (from rev 353925, mkinitcpio/trunk/mkinitcpio.install)
===================================================================
--- extra-any/mkinitcpio.install	                        (rev 0)
+++ extra-any/mkinitcpio.install	2019-05-23 17:11:07 UTC (rev 353926)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+post_upgrade() {
+  if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then
+    printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n'
+    printf '    to /etc/mkinitcpio.conf and regenerate your images before rebooting\n'
+  fi
+
+  if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then
+    printf '==> The "block" hook has replaced several hooks:\n'
+    printf '       fw, sata, pata, scsi, virtio, mmc, usb\n'
+    printf '    Replace any and all of these in /etc/mkinitcpio.conf with a single\n'
+    printf '    instance of the "block" hook\n'
+  fi
+}


More information about the arch-commits mailing list