-
Notifications
You must be signed in to change notification settings - Fork 43
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
Make the user visible patterns configurable, added MicroOS products #916
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
33e0d22
yupdate - update also the YAML product files
lslezak 1193ed3
Define the user visible patterns in the product YAML files
lslezak 8e48e41
Web - do not display the pattern selector if there are no patterns
lslezak 405d3c6
service - return only the configured patterns
lslezak 4876a11
Preliminary definitions of openSUSE MicroOS products
ancorgs 0eb856c
Fix pattern name
ancorgs 988a792
Fix base product for MicroOS
ancorgs 515477a
update documentation
lslezak de02a86
Explicitly add the "translation" sections to the product YAML
lslezak acadadc
List the yast2_basis pattern (installed by default)
ancorgs ddcffaa
Drop Leap 16.0 for now
lkocman 7a19b73
Update specfile and changelog
ancorgs 9376a72
Added unit test
lslezak 9808933
Review fixes
lslezak 97da667
Better comment
lslezak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
id: MicroOS-Desktop | ||
name: openSUSE MicroOS Desktop | ||
# ------------------------------------------------------------------------------ | ||
# WARNING: When changing the product description delete the translations located | ||
# at the at translations/description key below to avoid using obsolete | ||
# translations!! | ||
# ------------------------------------------------------------------------------ | ||
description: 'A distribution for the desktop offering automatic updates and | ||
rollback on top of the foundations of openSUSE MicroOS. Includes Podman | ||
Container Runtime and allows to manage software using Gnome Software or | ||
KDE Discover.' | ||
# Do not manually change any translations! See README.md for more details. | ||
translations: | ||
software: | ||
installation_repositories: | ||
- url: https://download.opensuse.org/tumbleweed/repo/oss/ | ||
archs: x86_64 | ||
- url: https://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/ | ||
archs: aarch64 | ||
- url: https://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/ | ||
archs: s390 | ||
- url: https://download.opensuse.org/ports/ppc/tumbleweed/repo/oss/ | ||
archs: ppc | ||
- url: https://download.opensuse.org/tumbleweed/repo/non-oss/ | ||
archs: x86_64 | ||
# aarch64 does not have non-oss ports. Keep eye if it change | ||
- url: https://download.opensuse.org/ports/zsystems/tumbleweed/repo/non-oss/ | ||
archs: s390 | ||
- url: https://download.opensuse.org/ports/ppc/tumbleweed/repo/non-oss/ | ||
archs: ppc | ||
- url: https://download.opensuse.org/update/tumbleweed/ | ||
archs: x86_64 | ||
- url: https://download.opensuse.org/ports/aarch64/update/tumbleweed/ | ||
archs: aarch64 | ||
- url: https://download.opensuse.org/ports/zsystems/update/tumbleweed/ | ||
archs: s390 | ||
- url: https://download.opensuse.org/ports/ppc/tumbleweed/repo/oss/ | ||
archs: ppc | ||
mandatory_patterns: | ||
- microos_base | ||
- microos_base_zypper | ||
- microos_defaults | ||
- microos_hardware | ||
- container_runtime | ||
- pattern: 32bit | ||
archs: x86_64 | ||
optional_patterns: | ||
- microos_gnome_desktop | ||
user_patterns: | ||
- microos_gnome_desktop | ||
- microos_kde_desktop | ||
mandatory_packages: | ||
- NetworkManager | ||
optional_packages: null | ||
base_product: MicroOS | ||
|
||
security: | ||
lsm: selinux | ||
available_lsms: | ||
selinux: | ||
patterns: | ||
- microos_selinux | ||
policy: enforcing | ||
none: | ||
patterns: null | ||
|
||
storage: | ||
space_policy: delete | ||
volumes: | ||
- "/" | ||
volume_templates: | ||
- mount_path: "/" | ||
filesystem: btrfs | ||
btrfs: | ||
snapshots: true | ||
read_only: true | ||
default_subvolume: "@" | ||
subvolumes: | ||
- path: home | ||
- path: opt | ||
- path: root | ||
- path: srv | ||
- path: usr/local | ||
- path: boot/writable | ||
# Unified var subvolume - https://lists.opensuse.org/opensuse-packaging/2017-11/msg00017.html | ||
- path: var | ||
copy_on_write: false | ||
# Architecture specific subvolumes | ||
- path: boot/grub2/arm64-efi | ||
archs: aarch64 | ||
- path: boot/grub2/arm-efi | ||
archs: arm | ||
- path: boot/grub2/i386-pc | ||
archs: x86_64 | ||
- path: boot/grub2/powerpc-ieee1275 | ||
archs: ppc,!board_powernv | ||
- path: boot/grub2/s390x-emu | ||
archs: s390 | ||
- path: boot/grub2/x86_64-efi | ||
archs: x86_64 | ||
- path: boot/grub2/riscv64-efi | ||
archs: riscv64 | ||
size: | ||
auto: false | ||
min: 5 GiB | ||
outline: | ||
required: true | ||
snapshots_configurable: false | ||
filesystems: | ||
- btrfs |
Oops, something went wrong.
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.
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.
Without putting too much thinking into it... not sure if this is the behavior I would expect.
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.
well, problem is that it is hard to know which product belongs to which iso
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.
The problem is that the Git repository contains YAML files for all product. If you are patching the openSUSE Agama installer then the Live medium contains only the openSUSE products.
If yupdate would install all files you would suddenly see the ALP Dolomite product in the list, that would be confusing. So I decided to patch only the existing files and to not blindly copy everything available. IMHO it is better to have a safer default behavior.