Fixed all those tar --preserve errors present.

This commit is contained in:
Christian Schmidt
2010-02-20 12:41:57 +01:00
parent e1731a7b19
commit c0faa0efaf
4 changed files with 7 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ core/%:
--exclude='proc/*' --exclude='tmp/ROOTFILES' \
--exclude-from=$(DIR_SRC)/config/rootfiles/$@/exclude
mv -f /tmp/ROOTFILES /install/packages/package/ROOTFILES
tar --preserve --numeric-owner -x -C /tmp -f /$(SNAME).tar
tar -p --numeric-owner -x -C /tmp -f /$(SNAME).tar
rm -f /$(SNAME).tar
cd /tmp && tar cf /install/packages/package/files * && rm -rf *
cat /install/packages/package/ROOTFILES | grep -v "#" > /install/packages/package/ROOTFILES.tmp