mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
tar: Update to 1.30 (V3)
For details see: https://www.gnu.org/software/tar/ Since new 'tar' has changes in commandline option parsing, it was necessary to adjust 'lfs/Config, 'lfs/cdrom' and 'lfs/core-updates' (thanks to Marcel for diffs and Michael for corrections). I have tried to make only the most necessary changes. As always, please check. Best, Matthias Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
779706b5f8
commit
c22976907e
@@ -65,9 +65,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
# Compress root filesystem
|
||||
# Reason for this tar+untar+tar is removing of entries listed two or more in src/ROOTFILES
|
||||
tar -c -C / --files-from=/tmp/ROOTFILES \
|
||||
-f /$(SNAME).tar --exclude='#*' --exclude='dev/pts/*' \
|
||||
--exclude='proc/*' --exclude='tmp/ROOTFILES'
|
||||
tar -c --exclude='#*' --exclude='proc/*' --exclude='dev/pts/*' --exclude='tmp/ROOTFILES' \
|
||||
-C / --files-from=/tmp/ROOTFILES -f /$(SNAME).tar
|
||||
rm -f /tmp/ROOTFILES
|
||||
tar -x -C /tmp -f /$(SNAME).tar
|
||||
rm -f /$(SNAME).tar
|
||||
|
||||
Reference in New Issue
Block a user