armbian_build/lib/functions/rootfs
Ricardo Pardini 2b28f29ebe rootfs/image: avoid apt junk leftover by debootstrap; add warnings and debugs over target cache and general rootfs sizes
- rootfs: rootfs-create: show a summary of the 20 biggest dirs, right before tarring the rootfs (for debugging)
- rootfs: rootfs-create: show usage of caches between first and second stages
- rootfs: rootfs-create: cleanup junk left by `debootstrap` after second stage
- rootfs: rootfs-create: _always_ clean apt stuff at the end
- rename `apt_purge_unneeded_packages()` to `apt_purge_unneeded_packages_and_clean_apt_caches()` for clarity
- image: `apt_purge_unneeded_packages_and_clean_apt_caches()`: warn if apt caches not empty; clean them off, always.
- host-utils: `local_apt_deb_cache_prepare()`: also test the target, warn if not empty
- extension: cleanup-space-final-image: do NOT clean apt stuff. done in core now
- the metric shit-ton of debugs added should help the next person who faces this in the future
2023-04-18 16:27:06 +02:00
..
apt-install.sh rootfs/image: avoid apt junk leftover by debootstrap; add warnings and debugs over target cache and general rootfs sizes 2023-04-18 16:27:06 +02:00
apt-sources.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
boot_logo.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
create-cache.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
customize.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
distro-agnostic.sh config: refactor calculate_image_version() out of create_image_from_sdcard_rootfs(), make more flexible, predict IMAGE_FILE_ID during config 2023-04-15 22:43:06 +02:00
distro-specific.sh Enable non-free-firmware repository for Debian Sid 2023-03-31 13:21:35 +02:00
post-tweaks.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
qemu-static.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
rootfs-create.sh rootfs/image: avoid apt junk leftover by debootstrap; add warnings and debugs over target cache and general rootfs sizes 2023-04-18 16:27:06 +02:00
rootfs-desktop.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
systemd-utils.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
trap-rootfs.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00