From 8b5493c04e10f32cb20e17dcaf5350d7737df5ff Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 23 Aug 2016 14:52:44 +0100 Subject: [PATCH] Remove downloaded packages after image creation --- src/freedombone-image-customise | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index b724a55d..f5acec42 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -931,6 +931,9 @@ initialise_mesh configure_wifi configure_user_interface +# remove downloaded packages +chroot $rootdir apt-get clean + cd / echo $"info: killing leftover processes in chroot" fuser -mvk $rootdir/. || true