Skip to content

Commit

Permalink
fix(squash): remove tailing '/' when installing ld.so.conf.d
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ryncsn authored and johannbg committed Aug 6, 2021
1 parent 0e59053 commit cbd8559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/99squash/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit cbd8559

Please sign in to comment.