-
Notifications
You must be signed in to change notification settings - Fork 124
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
Replace linux-login by tty1-selected for firstrun.pm #619
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it called tty6 if the screen that matches is tty1?
How does this behave in other cases?, where tty6-selected (or root console, according to the code in the text module)? because this one, seems to expects the OK messages to be shown there, always... so seems to be something very specific to JEOS, also.. tty6 != tty1!. Perhaps rename the needle to include jeos in the name |
just check this tty$Nr: my $tty = get_root_console_tty; |
f807845
to
e39ae8a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, I cannot see the verification run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be changes missing on the test side of things according to this http://f40.suse.de/tests/5579/modules/firstrun/steps/1/src.
On another hand I wonder why jeos's console is not the right one (my $tty = get_root_console_tty;
should return the right & expected one) from the beginning. @Zaoliang Could you figure that out as a follow up? /cc @SergioAtSUSE
http://f40.suse.de/tests/5579#step/firstrun/7 |
I opened now for tty$Nr detection issue: |
So, as already two person, including me, get confused by seeing only a PR with needles that should be a dependency of code change PR, @Zaoliang, please open also always the PR with the code changes, and put a link to the needle's PR in the description. |
If you mean, "why is get_root_console_tty returning two different consoles?": If you mean, "why is tty1 being shown?", this is why I complained that we shouldn't expect root-console (in this case tty6) here, because we are at that point only checking if the system booted (also tty1 is expected there). The select_console statement happens later and then should be check for tty6 (or tty2, seeing get_root_console_tty() code) |
anyway, this might be not a problem with detection of tty at this stage, but as reference which can be expected: |
e39ae8a
to
6f116c3
Compare
6f116c3
to
5eb3a49
Compare
like tag text-login, replace linux-login by tty$Nr-selected. see https://progress.opensuse.org/issues/34471 verification test: http://f40.suse.de/tests/6772#step/firstrun/7 http://f40.suse.de/tests/6772#step/console_reboot/4
5eb3a49
to
a70c116
Compare
like tag text-login, replace linux-login by tty$Nr-selected.
see https://progress.opensuse.org/issues/34471
verification test:
http://f40.suse.de/tests/6772#step/console_reboot/4
http://f40.suse.de/tests/5579#step/firstrun/7