Browse Source

fix(squash): remove tailing '/' when installing ld.so.conf.d

This tailing '/' will result in following error:

dracut-install: ERROR: installing '/etc/ld.so.conf.d/'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.kEFQLs/initramfs -d /etc/ld.so.conf.d/

Signed-off-by: Kairui Song <kasong@redhat.com>
master
Kairui Song 3 years ago committed by Jóhann B. Guðmundsson
parent
commit
cbd85597e3
  1. 2
      modules.d/99squash/module-setup.sh

2
modules.d/99squash/module-setup.sh

@ -31,7 +31,7 @@ installpost() { @@ -31,7 +31,7 @@ installpost() {
# initdir also needs ld.so.* to make ld.so work
inst /etc/ld.so.cache
inst /etc/ld.so.conf
inst_dir /etc/ld.so.conf.d/
inst_dir /etc/ld.so.conf.d

# Create mount points for squash loader
mkdir -p "$initdir"/squash/

Loading…
Cancel
Save