almalinux-deploy icon indicating copy to clipboard operation
almalinux-deploy copied to clipboard

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

Open pjwelsh opened this issue 2 years ago • 0 comments

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.

pjwelsh avatar Oct 07 '22 13:10 pjwelsh