void-mklive icon indicating copy to clipboard operation
void-mklive copied to clipboard

Add option to ingore services

Open Calandracas606 opened this issue 1 year ago • 4 comments

Pretty self explanatory. If I dont want to enable some services which would be enabled by default (elogind, polkit), I can disable them with -D "elogind polkit"

I'm not sure if I should be committing the generated content from make README.md

Calandracas606 avatar Feb 29 '24 23:02 Calandracas606

as far as I remember, all services have to be explicitly enabled with an argument to mklive. Just don't list the services if you don't want them to be enabled.

paper42 avatar Mar 01 '24 10:03 paper42

when using build-x86-images.sh some services are passed implicitly

Calandracas606 avatar Mar 01 '24 12:03 Calandracas606

then just edit build-x86-images.sh, I don't see a reason to have a mklive.sh argument that removes services that were added by another argument, just remove it from that argument

paper42 avatar Mar 02 '24 10:03 paper42

For more context, I'm ignoring some packages when building by using the -g "eudev dbus elogind" which would otherwise be enabled by default

The image fails to build because mklive.sh tries to enable the services which are provided by packages which have been ignored.

This use case is very niche, and if this doesn't seem useful then go ahead and close the PR

Calandracas606 avatar Mar 03 '24 02:03 Calandracas606