• Vitaly Lipatov's avatar
    cleanup: add CLEANUP_AUTO_PACKAGES for safe live package removal · a841e60e
    Vitaly Lipatov authored
    Add new variable CLEANUP_AUTO_PACKAGES that marks packages as
    auto-installed instead of removing them directly. This allows
    apt-get autoremove to safely remove packages that are not required
    by user-selected groups during live installation.
    
    Implementation uses preinstall hook to ensure correct ordering:
    1. preinstall: mark CLEANUP_AUTO_PACKAGES as auto
    2. pkg-install: mark .base and selected groups as manual
    3. postinstall: autoremove removes only orphaned auto packages
    a841e60e
Name
Last commit
Last update
..
80-locales Loading commit data...
89-cleanup-live-preinstall Loading commit data...
90-cleanup-live-install-pkgs Loading commit data...
90-cleanup-live-pkgs Loading commit data...
99-cleanupdb Loading commit data...