dracut: install ld.so.conf* with dracut_install instead of cp

master
Amadeusz Żołnowski 2011-03-16 21:24:28 +01:00 committed by Harald Hoyer
parent 0afae1c7ce
commit 1953052994
1 changed files with 1 additions and 1 deletions

2
dracut
View File

@ -494,7 +494,7 @@ done
unset item

# make sure that library links are correct and up to date
cp -ar /etc/ld.so.conf* "$initdir"/etc
dracut_install /etc/ld.so.conf /etc/ld.so.conf.d/*
ldconfig -r "$initdir" || [[ $UID != "0" ]] && \
dinfo "ldconfig might need uid=0 (root) for chroot()"