From: Harald Hoyer Date: Thu, 26 Oct 2017 07:31:27 +0000 (+0200) Subject: dracut.sh: after doing the lazy resolve always install dependencies X-Git-Tag: 047~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed9281d6d13b6250e3f12408366fca46bc3384ce;p=thirdparty%2Fdracut.git 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 --- diff --git a/dracut.sh b/dracut.sh index 990700af0..635fdb1c3 100755 --- a/dracut.sh +++ b/dracut.sh @@ -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