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

Add bootloader pattern for all roles #44

Merged
merged 3 commits into from
Jan 24, 2022
Merged

Add bootloader pattern for all roles #44

merged 3 commits into from
Jan 24, 2022

Conversation

aplanas
Copy link
Contributor

@aplanas aplanas commented Dec 2, 2021

YaST will install all the packages that are resolved from the patterns
listed in the control.xml (for a selected role). Internally also have
a list of packages that are installed that do not come from any
external requirement, for example the kernel or the Grub bootloader.

Since some time ago there is a pattern bootloader in the pattern-base
package, that can be used to explicitly drive an installation that
requires a bootloader. This is an exercise to re-use the same
patterns for containers, that will not require a bootloader.

This patch makes explicit the requirement of the bootloader pattern.

YaST will install all the packages that are resolved from the patterns
listed in the control.xml (for a selected role).  Internally also have
a list of packages that are installed that do not come from any
external requirement, for example the kernel or the Grub bootloader.

Since some time ago there is a pattern bootloader in the pattern-base
package, that can be used to explicitly drive an installation that
requires a bootloader.  This is an exercise to re-use the same
patterns for containers, that will not require a bootloader.

This patch makes explicit the requirement of the bootloader pattern.
@aplanas
Copy link
Contributor Author

aplanas commented Dec 2, 2021

@lnussel
Copy link
Collaborator

lnussel commented Dec 2, 2021

👍

@jreidinger
Copy link
Member

Interesting, how bootloader pattern works? It select proper bootloader target based on hardware information and architecture?

@aplanas
Copy link
Contributor Author

aplanas commented Dec 3, 2021

Interesting, how bootloader pattern works? It select proper bootloader target based on hardware information and architecture?

Indeed: https://build.opensuse.org/package/view_file/system:install:head/patterns-base/patterns-base.spec?expand=1
(Lines 627-662)

@dgdavid dgdavid merged commit 21e3b79 into yast:master Jan 24, 2022
@yast-bot
Copy link

❌ Public Jenkins job #44 failed

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.

None yet

5 participants