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
parent
0e5905315e
commit
cbd85597e3
|
@ -31,7 +31,7 @@ installpost() {
|
||||||
# initdir also needs ld.so.* to make ld.so work
|
# initdir also needs ld.so.* to make ld.so work
|
||||||
inst /etc/ld.so.cache
|
inst /etc/ld.so.cache
|
||||||
inst /etc/ld.so.conf
|
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
|
# Create mount points for squash loader
|
||||||
mkdir -p "$initdir"/squash/
|
mkdir -p "$initdir"/squash/
|
||||||
|
|
Loading…
Reference in New Issue