[arch-commits] Commit in mkinitcpio-systemd-tool/repos/community-any (3 files)

David Runge dvzrv at archlinux.org
Fri Mar 20 14:07:35 UTC 2020


    Date: Friday, March 20, 2020 @ 14:07:34
  Author: dvzrv
Revision: 601678

archrelease: copy trunk to community-any

Added:
  mkinitcpio-systemd-tool/repos/community-any/PKGBUILD
    (from rev 601677, mkinitcpio-systemd-tool/trunk/PKGBUILD)
  mkinitcpio-systemd-tool/repos/community-any/mkinitcpio-systemd-tool.install
    (from rev 601677, mkinitcpio-systemd-tool/trunk/mkinitcpio-systemd-tool.install)
Deleted:
  mkinitcpio-systemd-tool/repos/community-any/PKGBUILD

---------------------------------+
 PKGBUILD                        |   55 +++++++++++++++++++-------------------
 mkinitcpio-systemd-tool.install |    7 ++++
 2 files changed, 35 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-20 14:07:22 UTC (rev 601677)
+++ PKGBUILD	2020-03-20 14:07:34 UTC (rev 601678)
@@ -1,27 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=mkinitcpio-systemd-tool
-pkgver=22
-pkgrel=1
-pkgdesc="Provisioning tool for systemd in initramfs (systemd-tool)"
-arch=('any')
-url="https://github.com/random-archer/mkinitcpio-systemd-tool"
-license=('Apache')
-depends=('mkinitcpio' 'systemd')
-optdepends=('cryptsetup: for initrd-cryptsetup.service'
-            'dropbear: for initrd-dropbear.service'
-            'busybox: for initrd-tinysshd.service'
-            'tinyssh: for initrd-tinysshd.service'
-            'tinyssh-convert: for initrd-tinysshd.service'
-            'mc: for initrd-debug-progs.service')
-conflicts=('mkinitcpio-dropbear' 'mkinitcpio-tinyssh')
-backup=("etc/${pkgname}/config/crypttab"
-        "etc/${pkgname}/config/fstab"
-        "etc/${pkgname}/network/initrd-network.network" )
-source=("$pkgname-$pkgver.tar.gz::https://github.com/random-archer/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('1f9f15807bd605e98031787d004c132903b11a218b46d9889edfeaf6beacd85a26421a16a0e87513f121420c5e0f5b676b312931866725eb084691f240a1fd0a')
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" PREFIX='/usr' install
-}

Copied: mkinitcpio-systemd-tool/repos/community-any/PKGBUILD (from rev 601677, mkinitcpio-systemd-tool/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-20 14:07:34 UTC (rev 601678)
@@ -0,0 +1,28 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=mkinitcpio-systemd-tool
+pkgver=22
+pkgrel=2
+pkgdesc="Provisioning tool for systemd in initramfs (systemd-tool)"
+arch=('any')
+url="https://github.com/random-archer/mkinitcpio-systemd-tool"
+license=('Apache')
+depends=('mkinitcpio' 'systemd')
+optdepends=('cryptsetup: for initrd-cryptsetup.service'
+            'dropbear: for initrd-dropbear.service'
+            'busybox: for initrd-tinysshd.service'
+            'tinyssh: for initrd-tinysshd.service'
+            'tinyssh-convert: for initrd-tinysshd.service'
+            'mc: for initrd-debug-progs.service')
+conflicts=('mkinitcpio-dropbear' 'mkinitcpio-tinyssh')
+backup=("etc/${pkgname}/config/crypttab"
+        "etc/${pkgname}/config/fstab"
+        "etc/${pkgname}/network/initrd-network.network" )
+source=("$pkgname-$pkgver.tar.gz::https://github.com/random-archer/${pkgname}/archive/v${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha512sums=('1f9f15807bd605e98031787d004c132903b11a218b46d9889edfeaf6beacd85a26421a16a0e87513f121420c5e0f5b676b312931866725eb084691f240a1fd0a')
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" PREFIX='/usr' install
+}

Copied: mkinitcpio-systemd-tool/repos/community-any/mkinitcpio-systemd-tool.install (from rev 601677, mkinitcpio-systemd-tool/trunk/mkinitcpio-systemd-tool.install)
===================================================================
--- mkinitcpio-systemd-tool.install	                        (rev 0)
+++ mkinitcpio-systemd-tool.install	2020-03-20 14:07:34 UTC (rev 601678)
@@ -0,0 +1,7 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+post_upgrade() {
+  if [ "$(vercmp "$2" 22)" -le 0 ]; then
+    echo -e "WARNING: Changes were introduced to the systemd units and configuration locations.\nRefer to upstream to create a working initrd and before rebooting."
+  fi
+}



More information about the arch-commits mailing list