mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
remove apt cache in the rootfs
This commit is contained in:
committed by
Igor Pečovnik
parent
fd6a6dec66
commit
790e673096
@@ -11,6 +11,9 @@ function apt_purge_unneeded_packages() {
|
||||
# remove packages that are no longer needed. rootfs cache + uninstall might have leftovers.
|
||||
display_alert "No longer needed packages" "purge" "info"
|
||||
chroot_sdcard_apt_get autoremove
|
||||
# clean apt cache
|
||||
display_alert "No longer needed apt cache" "purge" "info"
|
||||
chroot_sdcard_apt_get clean
|
||||
}
|
||||
|
||||
# this is called:
|
||||
|
||||
Reference in New Issue
Block a user