From 0157a3a7b604ac3227abe8d22f3810f066fadefd Mon Sep 17 00:00:00 2001 From: Chaoting Liu Date: Tue, 26 Jun 2018 05:03:28 +0100 Subject: [PATCH] systemd: the hook is now in kernal packages --- systemd/PKGBUILD | 2 +- systemd/systemd.install | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/systemd/PKGBUILD b/systemd/PKGBUILD index 65e0af53a..983ee85da 100644 --- a/systemd/PKGBUILD +++ b/systemd/PKGBUILD @@ -5,7 +5,7 @@ pkgname=('systemd' 'libsystemd') # Can be from either systemd or systemd-stable _commit='f398c546c6fc43121131f41acec56b5a851bd35e' pkgver=238.76 -pkgrel=3 +pkgrel=4 arch=('x86_64') url="https://www.github.com/systemd/systemd" makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf' diff --git a/systemd/systemd.install b/systemd/systemd.install index 99fb0f998..1e57f51d0 100644 --- a/systemd/systemd.install +++ b/systemd/systemd.install @@ -54,24 +54,6 @@ post_install() { chgrp systemd-journal-remote var/log/journal/remote } -# Do not remove this. otherwise next reboot will have mismatched systemd, -# which may make system fail to start some services. Unless we have proper -# hook in pacman (not yet because it's in pacman 5). -update_image() { - if which mkinitcpio >/dev/null 2>&1; then - echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." - echo ">>> If you are using non-default kernel, you should update kernel" - echo ">>> manually" - if [ -f etc/mkinitcpio.d/linux-CHAKRA.preset ]; then - mkinitcpio -p linux-CHAKRA - fi - if [ -f etc/mkinitcpio.d/linux-CHAKRA-LTS.preset ]; then - mkinitcpio -p linux-CHAKRA-LTS - fi - fi -} - - post_upgrade() { post_common "$@" @@ -86,6 +68,4 @@ post_upgrade() { "_${v//-/_}_changes" fi done - - update_image }