New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[packagechooser] netinstall-add method #2261
Comments
That's a pretty clear description of the issue, thanks. |
You don't use Try removing netinstall:
name: "OpenRC"
description: "OpenRC init system"
selected: false
critical: true
immutable: false
expanded: true
hidden: false
packages:
- audit-openrc |
Have you tried that? |
For reference, here is the config for EndeavourOS which uses netinstall-add: https://raw.githubusercontent.com/endeavouros-team/calamares/calamares/data/eos/modules/packagechooser.conf
You need to also take out the array below group. |
Ok, this works, thanks, but I don't know if this is still a bug? |
That is definitely how it was designed to work. It adds a group and as a result expects the yaml to be the contents of a That is what this means:
Perhaps we could add an example to make it more clear. |
Yes, but the crucial detail is to not have a sequence like netinstall yaml, but a netinstall map. documented is ...
but to work:
Anyhow, at least no show stopper any longer and I can move on. :) |
I would probably make this a related feature request to have the yaml definitions in a online yaml file similar to netinstall for the packagechooser. Possible example:
Next screenshot would have application for a packagechooser item groupsUrl, where the init package definitions are loaded from url rather than local file. |
It isn't actually different than what is documented. The However, the netinstall-add functionality requires a single group. The |
There is another little shortcoming in the netinstall-add method. |
Describe the bug
If I set the packagechooser to netinstall-add, the netinstall module somehow gets a wrong datalist passed resulting is an empty item shown.
My suspicion would be, the GS value written does not match the netinstall required group data, the netgroup itself is listitem[0] of netinstallAdd GS. I think only the actual netinstall data should be written to GS? It would explain the attached screenshot, which is a slight showstopper atm.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The netinstall view should show the netgroup passed, and possible be expanded like set in the yaml
Screenshots and Logs
Additional context
version 3.3.0 using qt5/kf5 artix linux build
The text was updated successfully, but these errors were encountered: