From 9fed983d8072c3b597a810f39580232879cb487a Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Tue, 21 Mar 2017 03:17:24 +0000 Subject: [PATCH] services/cron sshd syslog-ng are all directories rm -f balks at wiping them out --- image/cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/cleanup.sh b/image/cleanup.sh index 72ef0ce..1dd3ad0 100755 --- a/image/cleanup.sh +++ b/image/cleanup.sh @@ -4,7 +4,7 @@ source /bd_build/buildconfig set -x apt-get clean -ls -d -1 /bd_build/**/* | grep -v "cleanup.sh" | grep -v "buildconfig" | xargs rm -f +ls -d -1 /bd_build/**/* | grep -v "cleanup.sh" | grep -v "buildconfig" | grep -v "services/" | xargs rm -f rm -rf /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/*