-
Notifications
You must be signed in to change notification settings - Fork 18
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
check for availability of openrc #64
Comments
Or in fact we'd need to check which base install is present and then inhibit the choice of certain profiles. |
maybe some kind of an evaluate_profiles function at the beginning of install_manjaro_de_wm() |
Should we check for ">openrc" flags to see if profile is viable? |
in install_manjaro_de_wm()
Where it says "DIALOG ... ..." we could offer a choice to either return to profile selection or back to base install to change the init sys |
The only situation where it would be wrong would be an openrc-only profile that would carry no >openrc flags - but we don't have such currently and it is pretty unlikely, too ;) |
I think it's best if we just filter the profile selection based on the base. |
|
Is filtering the profiles first easier to accomplish? |
Otherwise those profiles just disappear. |
Good point. Could we also tag openrc capable profiles with '*' or something? That way users would not need to blindly test different options to see which ones are working. Also, I think the menu should read "install systemd base" instead of "install openrc bsse". Another distantly related point: would it be a good idea to place the openrc check file in /mnt/.openrc instead of /tmp/.openrc? |
|
|
so we'd need to evaluate all profiles first and then find a way to deliver the information at profile selection. |
Also, maybe at that point an option to go back to re-install base with systemd would make sense ... ? |
btw. since the architect profile is now also included in iso-profiles repo we will have to exclude it from installable profiles! 😆 |
btw: why is there |
Cuts away the directory path to only print the profile names instead of the full paths. |
Sure thing. But I mean, why is it 7 and not 2 ?? |
when I run the command locally in my iso-profiles dir I need -f2. when I use -f7 it returns an empty list:
|
while using -f2:
|
The git profiles are with -f2. The package profiles are deeper in directory path and need -f7. Are you sure you aren't mixing the two? |
I am ;) sorry. |
no actually, I only assumed $PROFILE to be the last layer. That was the mistake... |
3.If you install openrc base, reboot and remount your system, installing any profile fails because system does not recognize that the base is openrc and filters packages as if it was systemd |
excluded architect profile: 3814fb7 |
good point about using /mnt/.openrc ! 👍 |
|
|
We can then simply use a text tring like this in the profile selection dialog:
|
I'll update manjaro-architect-dev / manjaro-architect-dev-launcher packages for testing in vbox and such ... |
I think we should check if a given profile supports openrc or not. We can still adjust most of the missing ones, but certain like for example Deepin do not play well, others are not ready.
How about we check if at least one
>openrc
flag is present in the profile and if not we disable the choice?The text was updated successfully, but these errors were encountered: