Browse Source

dracut.sh: after doing the lazy resolve always install dependencies

Exit the lazy resolving mode after doing the lazy resolve, because there
won't be any lazy resolving anymore after this step.

Fixes https://github.com/dracutdevs/dracut/issues/152
Obsoletes https://github.com/dracutdevs/dracut/pull/225
master
Harald Hoyer 7 years ago
parent
commit
ed9281d6d1
  1. 4
      dracut.sh

4
dracut.sh

@ -1544,6 +1544,10 @@ if [[ $kernel_only != yes ]]; then @@ -1544,6 +1544,10 @@ if [[ $kernel_only != yes ]]; then
dinfo "*** Resolving executable dependencies done***"
fi

# Now we are done with lazy resolving, always install dependencies
unset DRACUT_RESOLVE_LAZY
export DRACUT_RESOLVE_DEPS=1

# libpthread workaround: pthread_cancel wants to dlopen libgcc_s.so
for _dir in $libdirs; do
for _f in "$_dir/libpthread.so"*; do

Loading…
Cancel
Save