Skip to content
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

Fixed zipl bootloader setup for s390 images #1264

Merged
merged 1 commit into from
Nov 14, 2019

Conversation

schaefi
Copy link
Collaborator

@schaefi schaefi commented Nov 14, 2019

The preparation to call zipl and the call itself were wrong.
For whatever reason the kernel image the initrd are moved
to another location prior to calling zipl. That move broke
the system because no kernel/initrd existed at the expected
place anymore. In addition the zipl call itself was issued
from a the wrong directory. Also no config file was written
as an after effect of the refactoring in Issue #1194. This
Fixes #1173 and bsc#1156694

@schaefi schaefi self-assigned this Nov 14, 2019
Copy link
Collaborator

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good overall, however I noted a small inconsistency with the API auto-generated docs, the inconsistency was already there, but given that you changed the signature of the specific method I realized it.

kiwi/bootloader/config/zipl.py Show resolved Hide resolved
kiwi/bootloader/config/zipl.py Show resolved Hide resolved
kiwi/bootloader/config/base.py Outdated Show resolved Hide resolved
kiwi/bootloader/config/base.py Show resolved Hide resolved
kiwi/bootloader/config/zipl.py Outdated Show resolved Hide resolved
The preparation to call zipl and the call itself were wrong.
For whatever reason the kernel image the initrd are moved
to another location prior to calling zipl. That move broke
the system because no kernel/initrd existed at the expected
place anymore. In addition the zipl call itself was issued
from a the wrong directory. Also no config file was written
as an after effect of the refactoring in Issue #1194. This
Fixes #1173 and bsc#1156694
@schaefi
Copy link
Collaborator Author

schaefi commented Nov 14, 2019

@davidcassany I think it's clean code now, thanks for looking at it so detailed 👍

Copy link
Collaborator

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@schaefi schaefi merged commit 52715d2 into master Nov 14, 2019
@schaefi schaefi deleted the fix_s390_bootloader_setup branch November 14, 2019 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure creating qcow image on s390x: Support for zipl bootloader config not implemented
2 participants