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

Show multiple bootloader devices on the Manual Partitioning screen #4305

Merged

Conversation

poncovka
Copy link
Contributor

@poncovka poncovka commented Sep 1, 2022

Don't keep bootloader devices in a dictionary of mount points. Otherwise, we
can loose information about bootloader devices of the same type (like biosboot)
and show only one of them on the Manual Partitioning screen in GUI.

Related: rhbz#2088113

Ported from: #4271

Copy-paste the `copy` method of the `Blivet` class, so we can later change it.
It manipulates with collected installation roots, but these objects are part
of Anaconda, not Blivet. Blivet should remove this code. Then we can call
`super().copy()` to create a Blivet copy.

(cherry picked from commit 4a437c3)
Define the `roots` attribute in Anaconda, so Blivet can remove it.

(cherry picked from commit 2b6ed92)
Move the code for creating copies of installation roots to the `Root` class.
Simplify the implementation, so it should be easier to change it later.

(cherry picked from commit c6842bb)
Don't keep bootloader devices in a dictionary of mount points. Otherwise, we
can loose information about bootloader devices of the same type (like biosboot)
and show only one of them on the Manual Partitioning screen in GUI.

All devices used by an OS installation are now represented by the `devices`
property of the `OSData` structure. The list of devices includes bootloader
devices, mount point sources and swap devices. The `swap_devices` property
was removed.

(cherry picked from commit 60a7960)

Related: rhbz#2088113
Related: rhbz#2093793
Related: rhbz#1913035
Add unit tests for our redefinition of the Blivet.copy method.

(cherry picked from commit 8b00e62)
@poncovka poncovka added the f37 Fedora 37 label Sep 1, 2022
@poncovka
Copy link
Contributor Author

poncovka commented Sep 1, 2022

/kickstart-test --testtype smoke

Copy link
Contributor

@VladimirSlavik VladimirSlavik 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 to me. Thank you!

@poncovka
Copy link
Contributor Author

poncovka commented Sep 1, 2022

biosboot_correct_raid

@poncovka poncovka merged commit 62b4038 into rhinstaller:f37-release Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f37 Fedora 37
Development

Successfully merging this pull request may close these issues.

2 participants