exclude ./lost+found from tarball

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-08-20 08:01:37 +02:00
parent 8d91ca7b24
commit 1c67ac111a
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -5814,7 +5814,8 @@ sub main() {
'--format=pax',
'--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime',
'-c',
'--exclude=./dev'
'--exclude=./dev',
'--exclude=./lost+found'
);
# tar2sqfs and genext2fs do not support extended attributes
if ($format eq "squashfs") {