mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:47:16 +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
|
# Can be from either systemd or systemd-stable
|
||||||
_commit='f398c546c6fc43121131f41acec56b5a851bd35e'
|
_commit='f398c546c6fc43121131f41acec56b5a851bd35e'
|
||||||
pkgver=238.76
|
pkgver=238.76
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://www.github.com/systemd/systemd"
|
url="https://www.github.com/systemd/systemd"
|
||||||
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
|
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
|
||||||
|
@ -54,24 +54,6 @@ post_install() {
|
|||||||
chgrp systemd-journal-remote var/log/journal/remote
|
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_upgrade() {
|
||||||
post_common "$@"
|
post_common "$@"
|
||||||
|
|
||||||
@ -86,6 +68,4 @@ post_upgrade() {
|
|||||||
"_${v//-/_}_changes"
|
"_${v//-/_}_changes"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
update_image
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user