浏览代码

Remove downloaded packages after image creation

Bob Mottram 8 年前
父节点
当前提交
8b5493c04e
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/freedombone-image-customise

+ 3
- 0
src/freedombone-image-customise 查看文件

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