core/systemd to 245.6-4

This commit is contained in:
Kevin Mihelich 2020-06-07 20:35:59 +00:00
parent bd5d8d9e51
commit be3a0e4def
2 changed files with 13 additions and 32 deletions

View file

@ -12,7 +12,7 @@ pkgbase=systemd
pkgname=('systemd' 'systemd-libs' 'systemd-resolvconf' 'systemd-sysvcompat')
_tag='a47534aa62edfddb2df86e2d0c208979f24dc8c2' # git rev-parse v${pkgver}
pkgver=245.6
pkgrel=2
pkgrel=4
arch=('x86_64')
url='https://www.github.com/systemd/systemd'
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
@ -52,7 +52,7 @@ sha512sums=('SKIP'
'e38c7c422c82953f9c2476a5ab8009d614cbec839e4088bff5db7698ddc84e3d8ed64f32ed323f57b1913c5c9703546f794996cb415ed7cdda930b627962a3c4'
'df7ec8f840a54b404d1f3ab2708ae2a618820cb411b826128cf10b20ccdab057306446295c6b1c98a05ca0adb1b30d390dfb0156b52ea772978e1f1bf5135e09'
'f0d933e8c6064ed830dec54049b0a01e27be87203208f6ae982f10fb4eddc7258cb2919d594cbfb9a33e74c3510cfd682f3416ba8e804387ab87d1a217eb4b73'
'bc16cd288fa4fe8f8d2d4ba7a3198f942626af08330e4d1656ee38c408b23bb532a1955a1327ec367ae35161e3cc1f336d9285fb9c7d4322f2865451fb9b8961'
'e5dfc897f281dcfa89dc81b4f24a4098a49b190bff49cea313c20d4ad019e8ebbe07cbe84232bae0579d103bc66ce96d098e0dbd0a93efd19d249ac742060038'
'a25b28af2e8c516c3a2eec4e64b8c7f70c21f974af4a955a4a9d45fd3e3ff0d2a98b4419fe425d47152d5acae77d64e69d8d014a7209524b75a81b0edb10bf3a'
'61032d29241b74a0f28446f8cf1be0e8ec46d0847a61dadb2a4f096e8686d5f57fe5c72bcf386003f6520bc4b5856c32d63bf3efe7eb0bc0deefc9f68159e648'
'c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5'
@ -87,9 +87,17 @@ _backports=(
# sd-journal: don't check namespaces if we have no namespace to go by
'2b6df46d21abe8a8b7481e420588a9a129699cf9'
# network: tc: support Hierarchy Token Bucket (HTB)
# (we need this for safe_atou32_full()...)
'b934ac3d6e7dcad114776ef30ee9098693e7ab7e'
# basic/user-util: always use base 10 for user/group numbers
'156a5fd297b61bce31630d7a52c15614bf784843'
)
_reverts=(
# introduces ordering cycle - FS#66908
'e1c091b6d4c55de5c5356e8ca5564dba6769b49f'
)
prepare() {

View file

@ -169,36 +169,9 @@ build() {
'group: files' \
'shadow: files'
add_file /etc/passwd <<EOF
root:x:0:0:Super User:/root:/bin/sh
nobody:x:65534:65534:Nobody:/:/usr/bin/nologin
EOF
add_file /etc/shadow <<EOF
root:!!:0::::::
nobody:!!:0::::::
EOF
add_file /etc/group <<EOF
root:x:0:
tty:x:5:
users:x:985:
video:x:986:
uucp:x:987:
storage:x:988:
render:x:989:
optical:x:990:
lp:x:991:
kvm:x:992:
input:x:993:
disk:x:994:
audio:x:995:
utmp:x:996:
kmem:x:997:
wheel:x:998:
adm:x:999:
nobody:x:65534:
EOF
echo "root:x:0:0:root:/:/bin/sh" >"$BUILDROOT/etc/passwd"
echo "root::::::::" >"$BUILDROOT/etc/shadow"
getent group root audio disk input kmem kvm lp optical render storage tty uucp video | awk -F: ' { print $1 ":x:" $3 ":" }' >"$BUILDROOT/etc/group"
add_dir "/etc/modules-load.d"
(