Installing metapackage with fai.me

Jean-Mathieu Chantrein jean-mathieu.chantrein at univ-angers.fr
Wed Nov 29 10:30:33 CET 2023


> Yes, you are right -norec does not install recommends. We have
> PACKAGES install but in FAI.me it's currently hardcoded to use install-norec.
> 
>    > Is there a way to change this default behaviour in fai.me?
> Currently not, but I will think about implementing it. Seems like a
> nice feature to me. Another checkbox should do the job.
> 
> I may change the FAI.me behaviour globally for some tests, maybe this
> evening or tomorrow.

That'll be great, thank you very much.

FYI, I'm doing a postinstall script that only removes certain packages that I don't want and that are provided via the metapackage.
The checkbox is a good idea, but it globalizes the recommended packages for all packages, and the current default behaviour also has good reasons to be in place.
If there is a mechanism for parsing packages "to be installed", a bit of "syntactic sugar" could refine the installation mechanism, like:

package-name: install in no-rec mode
package-name+: include recommended packages by package-name
package-name- : exclude package-name from the installation (syntax used by apt)

Along the same lines, we could also add a wilcard (perhaps this is already the case ...):
package-name* : installs all packages starting with package-name in no-rec mode (syntax used by apt)
package-name*+: installs all packages starting with package-name in recommended mode

I'm not aware of the complexity of implementing such a solution, but it was just a proposal that seemed interesting in terms of functionality ...

Best regards.

--
Jean-Mathieu


> --
> viele Grüße Thomas


More information about the linux-fai mailing list