]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: after doing the lazy resolve always install dependencies
authorHarald Hoyer <harald@redhat.com>
Thu, 26 Oct 2017 07:31:27 +0000 (09:31 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 26 Oct 2017 07:31:27 +0000 (09:31 +0200)
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

dracut.sh

index 990700af05b3cbb87349187bf790290469b52bd1..635fdb1c3fa8686ad474d1778666f9c46971d1d7 100755 (executable)
--- 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