mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/systemd to 253.3-3
This commit is contained in:
parent
454b988e0c
commit
94a5454438
2 changed files with 43 additions and 13 deletions
|
@ -17,7 +17,7 @@ pkgname=('systemd'
|
|||
_tag='54e993e2389ccdf43189f89dd7c5d5ec34f31d6b' # git rev-parse v${_tag_name}
|
||||
_tag_name=253.3
|
||||
pkgver="${_tag_name/-/}"
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
arch=('x86_64')
|
||||
url='https://www.github.com/systemd/systemd'
|
||||
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
|
||||
|
@ -63,7 +63,7 @@ sha512sums=('SKIP'
|
|||
'c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5'
|
||||
'5a1d78b5170da5abe3d18fdf9f2c3a4d78f15ba7d1ee9ec2708c4c9c2e28973469bc19386f70b3cf32ffafbe4fcc4303e5ebbd6d5187a1df3314ae0965b25e75'
|
||||
'b90c99d768dc2a4f020ba854edf45ccf1b86a09d2f66e475de21fe589ff7e32c33ef4aa0876d7f1864491488fd7edb2682fc0d68e83a6d4890a0778dc2d6fe19'
|
||||
'a586f62b92268ae1e8a9310b02693548fb114292e1252953b4c9475d29e2817b5042a612f3b3ef09fb5b18126e2c3486ff49dd764d97644f0c510ae0200e075b'
|
||||
'a481662fa406f46f69d721fa47c12b1a9ed9b8bc219205e2a156f27bdc9f353f3ec97753717452f603500e3bdf6062335190797512e4f29c1526c35297abe37b'
|
||||
'299dcc7094ce53474521356647bdd2fb069731c08d14a872a425412fcd72da840727a23664b12d95465bf313e8e8297da31259508d1c62cc2dcea596160e21c5'
|
||||
'0d6bc3d928cfafe4e4e0bc04dbb95c5d2b078573e4f9e0576e7f53a8fab08a7077202f575d74a3960248c4904b5f7f0661bf17dbe163c524ab51dd30e3cb80f7'
|
||||
'2b50b25e8680878f7974fa9d519df7e141ca11c4bfe84a92a5d01bb193f034b1726ea05b3c0030bad1fbda8dbb78bf1dc7b73859053581b55ba813c39b27d9dc'
|
||||
|
|
|
@ -26,21 +26,51 @@ udevd_live() {
|
|||
op="$1"; shift
|
||||
|
||||
case "$op" in
|
||||
catalog) /usr/bin/journalctl --update-catalog ;;
|
||||
hwdb) /usr/bin/systemd-hwdb --usr update ;;
|
||||
update) touch -c /usr ;;
|
||||
sysusers) /usr/bin/systemd-sysusers ;;
|
||||
tmpfiles) /usr/bin/systemd-tmpfiles --create ;;
|
||||
catalog)
|
||||
/usr/bin/journalctl --update-catalog
|
||||
;;
|
||||
hwdb)
|
||||
/usr/bin/systemd-hwdb --usr update
|
||||
;;
|
||||
update)
|
||||
touch -c /usr
|
||||
;;
|
||||
sysusers)
|
||||
/usr/bin/systemd-sysusers
|
||||
;;
|
||||
tmpfiles)
|
||||
/usr/bin/systemd-tmpfiles --create
|
||||
;;
|
||||
|
||||
daemon-reload) systemd_live; /usr/bin/systemctl daemon-reload ;;
|
||||
udev-reload) udevd_live; /usr/bin/udevadm control --reload; /usr/bin/udevadm trigger ;;
|
||||
binfmt) systemd_live; /usr/lib/systemd/systemd-binfmt ;;
|
||||
sysctl) systemd_live; /usr/lib/systemd/systemd-sysctl ;;
|
||||
daemon-reload)
|
||||
systemd_live
|
||||
/usr/bin/systemctl daemon-reload
|
||||
;;
|
||||
udev-reload)
|
||||
udevd_live
|
||||
/usr/bin/udevadm control --reload
|
||||
/usr/bin/udevadm trigger
|
||||
/usr/bin/udevadm settle
|
||||
;;
|
||||
binfmt)
|
||||
systemd_live
|
||||
/usr/lib/systemd/systemd-binfmt
|
||||
;;
|
||||
sysctl)
|
||||
systemd_live
|
||||
/usr/lib/systemd/systemd-sysctl
|
||||
;;
|
||||
|
||||
# For use by other packages
|
||||
reload) systemd_live; /usr/bin/systemctl try-reload-or-restart "$@" ;;
|
||||
reload)
|
||||
systemd_live
|
||||
/usr/bin/systemctl try-reload-or-restart "$@"
|
||||
;;
|
||||
|
||||
*) echo >&2 " Invalid operation '$op'"; exit 1 ;;
|
||||
*)
|
||||
echo >&2 " Invalid operation '$op'"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue