Enabling confidential file exclusion

This commit is contained in:
Horea Christian 2023-05-23 19:18:51 -04:00
parent c984d8513d
commit 99e2d4157f

View file

@ -146,6 +146,13 @@ then
EXCLUDES+=("--exclude=${TARGET}boot/*")
fi
if ((EXCLUDE_CONFIDENTIAL))
then
EXCLUDES+=("--exclude=${TARGET}home/*/.bash_history")
EXCLUDES+=("--exclude=${TARGET}root/.bash_history")
EXCLUDES+=("--exclude=${TARGET}var/lib/connman/*")
fi
if ((EXCLUDE_LOST))
then
EXCLUDES+=("--exclude=lost+found")