coreos-base/coreos-init: create compatibility symlinks

The split of /usr/lib64 into /usr/lib and /usr/lib64 means that paths
to /usr/lib64/X that worked before now wouldn't.
Therefore, create compatibility symlinks.
This commit is contained in:
Kai Lueke 2022-03-14 19:39:05 +01:00
parent c6e427d80d
commit ba8aeb992a

View File

@ -52,4 +52,11 @@ src_install() {
# Enable some services that aren't enabled elsewhere.
systemd_enable_service rpcbind.target rpcbind.service
# Create compatibility symlinks in case /usr/lib64/ instead of /usr/lib/ was used
local compat
# os-release symlink is set up in scripts
for compat in modules systemd flatcar coreos kernel modprobe.d pam pam.d sysctl.d udev ; do
dosym "../lib/${compat}" "/usr/lib64/${compat}"
done
}