[arch-commits] Commit in systemd/trunk (PKGBUILD initcpio-install-systemd)
Christian Hesse
eworm at archlinux.org
Mon Mar 29 07:53:53 UTC 2021
Date: Monday, March 29, 2021 @ 07:53:53
Author: eworm
Revision: 411192
upgpkg: systemd 248rc4-4: fix locale generation, optdepend on libfido2
Modified:
systemd/trunk/PKGBUILD
systemd/trunk/initcpio-install-systemd
--------------------------+
PKGBUILD | 13 +++++++++----
initcpio-install-systemd | 11 +++++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-29 06:41:13 UTC (rev 411191)
+++ PKGBUILD 2021-03-29 07:53:53 UTC (rev 411192)
@@ -7,7 +7,7 @@
_tag='e878547b1a4aaee27c90e835a986a6a96a00c507' # git rev-parse v${_tag_name}
_tag_name=248-rc4
pkgver="${_tag_name/-/}"
-pkgrel=3
+pkgrel=4
arch=('x86_64')
url='https://www.github.com/systemd/systemd'
makedepends=('acl' 'cryptsetup' 'docbook-xsl' 'gperf' 'lz4' 'xz' 'pam' 'libelf'
@@ -15,7 +15,7 @@
'libmicrohttpd' 'libxcrypt' 'libxslt' 'util-linux' 'linux-api-headers'
'python-lxml' 'quota-tools' 'shadow' 'gnu-efi-libs' 'git'
'meson' 'libseccomp' 'pcre2' 'audit' 'kexec-tools' 'libxkbcommon'
- 'bash-completion' 'p11-kit' 'systemd')
+ 'bash-completion' 'p11-kit' 'systemd' 'libfido2')
options=('strip')
validpgpkeys=('63CDA1E5D3FC22B998D20DD6327F26951A015CC4' # Lennart Poettering <lennart at poettering.net>
'5C251B5FC54EB2F80F407AAAC54CA336CFEB557E') # Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
@@ -45,7 +45,7 @@
'882e486b6d88c8bafc50088845e41a49686e98981967f72ca1fb4ef07a01767400632f4b648fd31857d2a2a24a8fd65bcc2a8983284dd4fff2380732741d4c41'
'313f3d6cc3d88f718509007e029213a82d84b196afdadc6ef560580acf70ab480aaecd7622f51726cc1af7d7841c6ec5390f72890b055a54fc74722341395651'
'f0d933e8c6064ed830dec54049b0a01e27be87203208f6ae982f10fb4eddc7258cb2919d594cbfb9a33e74c3510cfd682f3416ba8e804387ab87d1a217eb4b73'
- '8e76f8334b95ce7fee9190f4a1016b16109f3a75b68635fc227b2b4791cf8179ef09b532b66b4ed885ddf98ed76befed3106f3c3088f1819ed8cdf4c13e0805a'
+ '4ad9db3e7335ab8577eb3189b25478d407f569cc4ffaeae34ca3fc5a075ac5dd9cd4ca39194d0e8e56e1a4ead13fb960b850a79373d0df8b3d3e5db0c914a68b'
'a25b28af2e8c516c3a2eec4e64b8c7f70c21f974af4a955a4a9d45fd3e3ff0d2a98b4419fe425d47152d5acae77d64e69d8d014a7209524b75a81b0edb10bf3a'
'61032d29241b74a0f28446f8cf1be0e8ec46d0847a61dadb2a4f096e8686d5f57fe5c72bcf386003f6520bc4b5856c32d63bf3efe7eb0bc0deefc9f68159e648'
'c416e2121df83067376bcaacb58c05b01990f4614ad9de657d74b6da3efa441af251d13bf21e3f0f71ddcb4c9ea658b81da3d915667dc5c309c87ec32a1cb5a5'
@@ -91,6 +91,10 @@
# https://github.com/gwsw/less/issues/140
patch -Np1 -i ../0002-Disable-SYSTEMD_URLIFY-by-default.patch
+
+ # units: make locale directory writable for systemd-localed
+ # https://github.com/systemd/systemd/pull/19139
+ sed -i '/ReadWritePaths=/s|$| /usr/lib/locale|' units/systemd-localed.service.in
}
build() {
@@ -163,7 +167,8 @@
'quota-tools: kernel-level quota management'
'systemd-sysvcompat: symlink package to provide sysvinit binaries'
'polkit: allow administration as unprivileged user'
- 'curl: machinectl pull-tar and pull-raw')
+ 'curl: machinectl pull-tar and pull-raw'
+ 'libfido2: unlocking LUKS2 volumes')
backup=(etc/pam.d/systemd-user
etc/systemd/coredump.conf
etc/systemd/homed.conf
Modified: initcpio-install-systemd
===================================================================
--- initcpio-install-systemd 2021-03-29 06:41:13 UTC (rev 411191)
+++ initcpio-install-systemd 2021-03-29 07:53:53 UTC (rev 411192)
@@ -163,6 +163,17 @@
rescue.target \
emergency.target
+ # add libraries dlopen()ed by systemd and its tools
+ for LIB in fido2; do
+ for FILE in $(find /usr/lib/ -name "lib${LIB}.so*"); do
+ if [[ -L "${FILE}" ]]; then
+ add_symlink "${FILE}"
+ else
+ add_binary "${FILE}"
+ fi
+ done
+ done
+
add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
add_symlink "/usr/lib/systemd/system/ctrl-alt-del.target" "reboot.target"
More information about the arch-commits
mailing list