mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:37:14 +08:00
systemd: the hook is now in kernal packages
This commit is contained in:
parent
9a8c387e69
commit
0157a3a7b6
@ -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'
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user