summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_firmware
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-30 23:57:47 +0100
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 09:25:17 +0000
commitf6a50b6db204fa1a6d0ae8b371c4108911aed0eb (patch)
treea34334f590547bb6c77459676f5d3c69b6937ee4 /scripts/build/chroot_firmware
parent958251da67952df99665aa307f051a00895c7642 (diff)
downloadvyos-live-build-f6a50b6db204fa1a6d0ae8b371c4108911aed0eb.tar.gz
vyos-live-build-f6a50b6db204fa1a6d0ae8b371c4108911aed0eb.zip
packages: remove auto-installed on removal
i've been noticing that in the binary_syslinux stage a wholebunch of packages get installed whilst installing isolinux, and then upon removing the installed packages at the end of the script, apt is listing a large number of those that were auto installed as no longer in use and can be removed via `apt autoremove`. this then persists through package installation and removal steps throughout remaining scripts. adding `--auto-remove` to `apt-get remove --purge` and similarly `--purge-unused` to `aptitude purge` instructs apt to get rid of the unused auto-installed packages at the same time as removing specific package that brought them in in the first place, and thus resolves the problem. Gbp-Dch: Short
Diffstat (limited to 'scripts/build/chroot_firmware')
0 files changed, 0 insertions, 0 deletions