###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2013 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# Compress root filesystem
# Reason for this tar+untar+tar is removing of entries listed two or more in src/ROOTFILES
- tar -c --exclude='#*' --exclude='proc/*' --exclude='dev/pts/*' --exclude='tmp/ROOTFILES' \
+ tar -c --exclude='#*' --exclude='proc/*' --exclude='dev/pts/*' \
+ --exclude='__pycache__' --exclude='tmp/ROOTFILES' \
-C / --files-from=/tmp/ROOTFILES -f /$(SNAME).tar
rm -f /tmp/ROOTFILES
tar -x -C /tmp -f /$(SNAME).tar