summaryrefslogtreecommitdiff
path: root/libre/systemd/initcpio-install-systemd
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2022-02-13 22:27:05 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2022-02-13 22:27:05 -0500
commit5868ba0107e87847c0eb3bf3cff7ee79637b0597 (patch)
tree9e3c4e71ef0cd79d7e5870c0a4bdac5c18d35113 /libre/systemd/initcpio-install-systemd
parentd00351c69842b4d6e96abc00f8ee0bde4e36fed3 (diff)
downloadabslibre-5868ba0107e87847c0eb3bf3cff7ee79637b0597.tar.gz
abslibre-5868ba0107e87847c0eb3bf3cff7ee79637b0597.tar.bz2
abslibre-5868ba0107e87847c0eb3bf3cff7ee79637b0597.zip
systemd-250.3-4.parabola1: rebuild
Diffstat (limited to 'libre/systemd/initcpio-install-systemd')
-rw-r--r--libre/systemd/initcpio-install-systemd6
1 files changed, 5 insertions, 1 deletions
diff --git a/libre/systemd/initcpio-install-systemd b/libre/systemd/initcpio-install-systemd
index 961bdbb1e..d416e9707 100644
--- a/libre/systemd/initcpio-install-systemd
+++ b/libre/systemd/initcpio-install-systemd
@@ -121,7 +121,11 @@ build() {
add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
add_symlink "/usr/lib/systemd/system/ctrl-alt-del.target" "reboot.target"
- add_binary "$(readlink -f /usr/lib/libnss_files.so)"
+ # This code moved to glibc with 2.35-1, so the shared library is just empty.
+ # Keep it for the time being - but with final file name - for older glibc packages.
+ # TODO: Remove once settled!
+ add_binary '/usr/lib/libnss_files.so.2'
+
printf '%s\n' >"$BUILDROOT/etc/nsswitch.conf" \
'passwd: files' \
'group: files' \