AlmaLinux / almalinux-deploy

EL to AlmaLinux migration tool.
GNU General Public License v3.0
543 stars 72 forks source link

RFE - add an option or environment variable to have locally excluded package removal #154

Open pjwelsh opened 2 years ago

pjwelsh commented 2 years ago

There is a variable in almalinux-deploy.sh named "exclude_pkgs" to protect some key packages from removal (namely in the distro-sync operation). There should be a way to protect other locally installed packages that track at a higher release than the destination distro. This could be an export variable like "LOCAL_EXCLUDE" or some additional paramater to the almalinux-deploy.sh like "--local-exclude=". In my case we track/build higher versions of packages like vim and LibreOffice and a few others.

This additional exclusion could be added to the "exclude_pkgs" variable.