mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
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:
parent
c6e427d80d
commit
ba8aeb992a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user