]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Replace IFS_TARGET in rootfiles.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Dec 2008 14:54:46 +0000 (15:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Dec 2008 14:54:46 +0000 (15:54 +0100)
lfs/Config

index f14885271490ed6ecd0f0209c7c8a5f9613a1bfb..a3d6623006a5fc4ceb271a9883401b5df02859a4 100644 (file)
@@ -144,6 +144,7 @@ define POSTBUILD
                        echo "error $$LFS_SCRIPT not found in $(DIR_SOURCE)/rootfiles"; \
                fi; \
                sed     -e "s@KVER@$(KVER)@g" \
+                       -e "s@IFS_TARGET@$(IFS_TARGET)@g" \
                        -e "s@^/@@g" -e "s@^#/@#@g" \
                        $$ROOTFILE > $(OBJECT)_rootfile; \
                echo 'open (F,"$(OBJECT)_rootfile"); \
@@ -155,7 +156,7 @@ define POSTBUILD
                    }; \
                ' > /tmp/perl.pl; \
                perl /tmp/perl.pl < $(OBJECT)_diff \
-               | sed -e "s@$(KVER)@KVER@g" > $(OBJECT); \
+               | sed -e "s@$(KVER)@KVER@g" -e "s@$(IFS_TARGET)@IFS_TARGET@g" > $(OBJECT); \
                rm -f $(OBJECT)_rootfile; \
                if [ "$$ROOTFILE" != "" ]; then \
                        if ! cmp -s $(OBJECT) $$ROOTFILE; then \