init: ask whether to install systemd (MR 2273)

Add the following question to "pmbootstrap init":

[22:12:57] Based on your UI selection, 'default' will result in installing systemd.
[22:12:57] Install systemd? (default/always/never) [default]:

Determine whether the UI prefers to have systemd or not, based on
"pmb:systemd" in the UI package's APKBUILD.

Determine whether the currently selected branch supports systemd, by
checking for a "[repo:systemd]" section in pmaports.cfg. This section
will also contain bootstrap information, to be used in future patches.
This commit is contained in:
Oliver Smith 2024-02-23 01:20:23 +01:00
parent c6e8a89ea3
commit e96ca36376
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
5 changed files with 59 additions and 1 deletions

View file

@ -312,4 +312,5 @@ def init_cache():
"pmb.helpers.package.get": {},
"pmb.helpers.repo.update": repo_update,
"pmb.helpers.git.parse_channels_cfg": {},
"pmb.config.pmaports.read_config": None}
"pmb.config.pmaports.read_config": None,
"pmb.config.pmaports.read_config_repos": None}