]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Config: follow symlinks at rootfile check
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 6 Jun 2018 09:28:11 +0000 (11:28 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 6 Jun 2018 09:28:11 +0000 (11:28 +0200)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/Config

index 1cb9e2db4690a50c2d2fcd4c8c15aa95059d4534..76f732de8a618dac34108c0fccd7aea70a6802c7 100644 (file)
@@ -136,7 +136,7 @@ define POSTBUILD
        if [ -s "$(TARGET)_diff" ]; then \
                LFS_SCRIPT=$(firstword $(MAKEFILE_LIST))$(KCFG); \
                echo $(LFS_SCRIPT); \
-               ROOTFILE=$$(find $(DIR_SRC)/config/rootfiles/{common,packages}/{$(BUILD_ARCH),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
+               ROOTFILE=$$(find -L $(DIR_SRC)/config/rootfiles/{common,packages}/{$(BUILD_ARCH),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
                if [ "$$ROOTFILE" = "" ]; then \
                        touch $(TARGET)_missing_rootfile; \
                        ROOTFILE=$(TARGET)_missing_rootfile ; \