Make sure pkg target is alive as long as needed #795
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Trello
https://trello.com/c/gjV8SydY
Bugzilla
https://bugzilla.suse.com/show_bug.cgi?id=1128385#c4
(the "reopen" case starting at comment #4)
Failing openQA Tests
https://openqa.opensuse.org/tests/913479
https://openqa.opensuse.org/tests/913480
Problem
No autologin even with a full-fledged KDE Plasma or GNOME desktop.
Cause
Pkg target already shut down (
Pkg::TargetFinish
), i.e. no packages known to libzypp on the target system, i.e. also no display manager that supports autologin, so no autologin configuration is written.Fix
Change the order in
inst_finish.rb
: Make surepkg
is afterusers
.Test
Manual test with the ISO from the OpenQA test case plus the changed
inst_finish.rb
bind-mounted.