mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
python3: exclude __pycache__ from iso, core and packages
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -72,7 +72,7 @@ core/%:
|
||||
sed -e "s/KVER/$(KVER)/g" -i /tmp/ROOTFILES
|
||||
|
||||
#Remove doubled files with tar/untar/tar to save space
|
||||
tar -c --exclude='proc/*' --exclude='tmp/ROOTFILES' --exclude='#*' --exclude='dev/pts/*' \
|
||||
tar -c --exclude='proc/*' --exclude='tmp/ROOTFILES' --exclude='__pycache__' --exclude='#*' --exclude='dev/pts/*' \
|
||||
--exclude-from=$(DIR_SRC)/config/rootfiles/$@/exclude \
|
||||
-C / --files-from=/tmp/ROOTFILES -f /$(SNAME).tar
|
||||
mv -f /tmp/ROOTFILES /install/packages/package/ROOTFILES
|
||||
|
||||
Reference in New Issue
Block a user