From: Arne Fitzenreiter Date: Wed, 15 Apr 2009 08:30:24 +0000 (+0200) Subject: Add files that present in rootfile but not build to log X-Git-Tag: v2.5-beta1~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f3c131182db979988ba924d98c5f071b03070d9;p=ipfire-2.x.git Add files that present in rootfile but not build to log --- diff --git a/lfs/Config b/lfs/Config index aa8a619f3e..8e5c1e14ab 100644 --- a/lfs/Config +++ b/lfs/Config @@ -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); \