User_pkglist.txt enhancement

I’d like to suggest a tweak to how the user_pkglist.txt file works during the installation phase.

While I like the broad spectrum of apps and decisions EOS make for each desktop environment, I think it would be handy to respect deselections in the pkglist.

paru
foot
fish
opendoas
-firefox
-yay

- or something like -

^firefox
^yay

whereby firefox and yay would be deselected during the app selection installation phase. I understand this could be mitigated by running a user_commands.txt post script though wouldn’t it be cleaner if they weren’t installed in the first place?

from what i can see this would be püossible, but could get complex to implement.
The installer have already some parts that adds packages to the list inside the installer process, like the selected Desktop it will add the packages to the list on the fly, what happens after you start the installer.

And its already possible to untag from all selected packages outside the base system packages we do install always (pacstrap module)

3 Likes

That would require changes to upstream Calamares to support unless we did something ugly like preprocess the config files.

It seems like a lot of work to avoid unchecking a couple of boxes.

2 Likes

sure a lot of work for a little thing.

The ISO has file ~/user-commands-before.bash where it is possible to e.g. prevent installing packages.
However it requires some knowledge about calamares config files.

and also customizer button there you could add a link to a script to uninstall packages too.

Thanks for the reply, I’ll look into this as a potential solution.