]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Add files that present in rootfile but not build to log
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Apr 2009 08:30:24 +0000 (10:30 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Apr 2009 08:30:24 +0000 (10:30 +0200)
lfs/Config

index aa8a619f3e7ec255491cc135456f063a34e98009..8e5c1e14ab14054a264d9da4427586f466c33b30 100644 (file)
@@ -142,6 +142,10 @@ define POSTBUILD
                        else echo "+$$line" >> $(TARGET); \
                        fi; \
                done; \
+               for line in `grep -v "^#" $(TARGET)_rootfile`; do \
+                       if ! grep -qG "^$$line$$" $(TARGET)_diff ; then echo "-$$line" >> $(TARGET); \
+                       fi; \
+               done; \
                rm -f $(TARGET)_rootfile; \
        else \
                touch $(TARGET); \