From 1c67ac111a36eb6b8453512095f9b703e69f5b69 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sun, 20 Aug 2023 08:01:37 +0200 Subject: [PATCH] exclude ./lost+found from tarball --- mmdebstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 5b401b3..bb28d86 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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") {