- Add bootloader pattern. Useful for appliances to not repeat the logic

in kiwi files.

OBS-URL: https://build.opensuse.org/package/show/system:install:head/patterns-base?expand=0&rev=128
This commit is contained in:
Ludwig Nussel 2020-04-15 13:47:08 +00:00 committed by Git OBS Bridge
parent 502bf2eea0
commit 9d34afb358
2 changed files with 48 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 15 13:46:01 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- Add bootloader pattern. Useful for appliances to not repeat the logic
in kiwi files.
-------------------------------------------------------------------
Thu Mar 5 10:50:15 UTC 2020 - Malte Kraus <malte.kraus@suse.com>

View File

@ -609,6 +609,46 @@ This is the minimal SLE runtime system. It is really a minimal system, you can l
################################################################################
%package bootloader
%pattern_basetechnologies
Summary: Bootloader
Group: Metapackages
Provides: pattern() = bootloader
Requires: pattern() = base
#
Requires: grub2
%ifarch x86_64
# XXX: not sure this really belongs here. More like a kernel
# rather than bootloader related thing?
Requires: biosdevname
%endif
%ifnarch s390x
Requires: (grub2-branding-openSUSE if branding-openSUSE)
%endif
%ifarch x86_64
Requires: grub2-x86_64-efi
%endif
%ifarch aarch64
Requires: grub2-arm64-efi
%endif
%ifarch armv7l armv7hl
Requires: grub2-arm-efi
Requires: grub2-arm-uboot
%endif
%ifarch x86_64
Requires: mokutil
Requires: shim
%endif
%description bootloader
This pattern holds files required for booting the system
%files bootloader
%dir %{_docdir}/patterns
%{_docdir}/patterns/bootloader.txt
################################################################################
%package sw_management
%pattern_basetechnologies
Summary: Software Management
@ -966,12 +1006,12 @@ done
# These packages don't generate a 32bit pattern
for i in \
%if 0%{?is_opensuse}
basesystem basic_desktop console documentation transactional_base update_test \
basesystem bootloader basic_desktop console documentation transactional_base update_test \
%else
%ifnarch s390 s390x
32bit \
%endif
basesystem basic_desktop documentation \
basesystem bootloader basic_desktop documentation \
%endif
%ifarch armv6hl armv7hl aarch64
x11_raspberrypi \