core/systemd to 230-5

This commit is contained in:
Kevin Mihelich 2016-06-25 18:50:12 +00:00
parent f4bdc16616
commit 745e4a2331
2 changed files with 16 additions and 5 deletions

View file

@ -8,7 +8,7 @@
pkgbase=systemd
pkgname=('systemd' 'libsystemd' 'systemd-sysvcompat')
pkgver=230
pkgrel=4
pkgrel=5
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
@ -26,7 +26,7 @@ source=("git://github.com/systemd/systemd.git#tag=v$pkgver"
'udev-hwdb.hook')
md5sums=('SKIP'
'90ea67a7bb237502094914622a39e281'
'cfb3f8ea657ab24535cc061bb38ec4c1'
'8a093826cbce909e34f15dccd73974c4'
'1b3aa3a0551b08af9305d33f85b5c2fc'
'20ead378f5d6df4b2a3e670301510a7d'
'ddaef54f68f6c86c6c07835fc668f62a'
@ -45,6 +45,12 @@ _backports=(
# automount: handle expire_tokens when the mount unit changes its state (#3434)
0a62f81045dd810c8f1223cccbac4d706ea2cb45
# networkd: networkd: ndisc set SO_BINDTODEVICE on socket (#3294)
15fec93be37f12ef6c36a3e8f7dbb1984e1bcfe7
# resolved: when restarting a transaction make sure to not touch it anymore (#3553)
5278bbfe0c79c1f2b5bf8a215d8e7d63f1900ce9
)
prepare() {

View file

@ -100,6 +100,7 @@ build() {
add_binary /bin/mount
add_binary /usr/bin/kmod /usr/bin/modprobe
add_binary /usr/lib/systemd/systemd /init
add_binary /usr/bin/sulogin
map add_binary \
/usr/bin/systemd-tmpfiles \
@ -144,7 +145,9 @@ build() {
systemd-udevd-control.socket \
systemd-udevd-kernel.socket \
systemd-udevd.service \
timers.target
timers.target \
rescue.target \
emergency.target
add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
add_symlink "/usr/lib/systemd/system/ctrl-alt-del.target" "reboot.target"
@ -152,8 +155,10 @@ build() {
# udev wants /etc/group since it doesn't launch with --resolve-names=never
add_file "/etc/nsswitch.conf"
add_binary "$(readlink -f /usr/lib/libnss_files.so)"
add_file "/etc/passwd"
add_file "/etc/group"
echo "root:x:0:0:root:/:/bin/sh" >"$BUILDROOT/etc/passwd"
echo "root:x:0:root" >"$BUILDROOT/etc/group"
echo "root::::::::" >"$BUILDROOT/etc/shadow"
}
help() {