Ver código fonte

Remove downloaded packages after image creation

Bob Mottram 8 anos atrás
pai
commit
8b5493c04e
Nenhuma conta conectada ao e-mail do autor de commit
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      src/freedombone-image-customise

+ 3
- 0
src/freedombone-image-customise Ver arquivo

@@ -931,6 +931,9 @@ initialise_mesh
931 931
 configure_wifi
932 932
 configure_user_interface
933 933
 
934
+# remove downloaded packages
935
+chroot $rootdir apt-get clean
936
+
934 937
 cd /
935 938
 echo $"info: killing leftover processes in chroot"
936 939
 fuser -mvk $rootdir/. || true