Explorar el Código

Remove downloaded packages after image creation

Bob Mottram hace 9 años
padre
commit
8b5493c04e
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/freedombone-image-customise

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

@@ -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