Sync from SUSE:ALP:Source:Standard:1.0 patterns-micro revision 5ba455018c7f24a2b0eea38d468ab7a1

This commit is contained in:
Adrian Schröter 2024-04-17 09:41:41 +02:00
commit c5ba85bf71
4 changed files with 347 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

151
patterns-micro.changes Normal file
View File

@ -0,0 +1,151 @@
-------------------------------------------------------------------
Tue Apr 16 06:32:20 UTC 2024 - Jiri Srain <jsrain@suse.com>
- remove apparmor-utils
-------------------------------------------------------------------
Thu Apr 4 13:46:35 UTC 2024 - Jiri Srain <jsrain@suse.com>
- split off from patterns-base (patterns specific for Micro
product)
-------------------------------------------------------------------
Mon Mar 11 12:40:49 UTC 2024 - Giacomo Leidi <giacomo.leidi@suse.com>
- fix typo in libopenssl3 (bsc#1217934)
-------------------------------------------------------------------
Thu Feb 29 14:07:14 UTC 2024 - Marcus Meissner <meissner@suse.com>
- add libopenssl-3-fips-provider and crypto-policies-scripts
as requires for the FIPS pattern. (bsc#1220390 bsc#1217361)
- rename fips pattern to provide pattern() = fips for use by people
using zypper in -t pattern fips (bsc#1220390 bsc#1213798)
-------------------------------------------------------------------
Fri Feb 23 14:10:06 UTC 2024 - Jiri Srain <jsrain@suse.com>
- include cockpit metapackage in the cockpit pattern
-------------------------------------------------------------------
Wed Feb 14 11:48:51 UTC 2024 - Jiri Srain <jsrain@suse.com>
- removed haveged (bsc#1219910)
-------------------------------------------------------------------
Tue Feb 13 12:22:42 UTC 2024 - Jiri Srain <jsrain@suse.com>
- add adcli, sssd-ad and sssd-krb5 to sssd pattern (jsc#SMO-292)
-------------------------------------------------------------------
Thu Jan 18 19:25:04 UTC 2024 - Jiri Srain <jsrain@suse.com>
- include systemd-status-mail (jsc#PED-6478)
-------------------------------------------------------------------
Thu Jan 18 08:28:45 UTC 2024 - Jiri Srain <jsrain@suse.com>
- include specific systemd presets for transactional systems
- remove the obsolete base_zypper pattern
-------------------------------------------------------------------
Wed Jan 17 10:43:41 UTC 2024 - Jiri Srain <jsrain@suse.com>
- use mailx instead of postfix in the transactional pattern
(jsc#PED-6478)
-------------------------------------------------------------------
Thu Jan 11 13:17:04 UTC 2024 - Jiri Srain <jsrain@suse.com>
- include postfix in transactional pattern (jsc#PED-6478)
-------------------------------------------------------------------
Fri Jan 5 09:35:01 UTC 2024 - Jiri Srain <jsrain@suse.com>
- add content of hte elemental pattern (jsc#SMO-303)
- include man in the onlyDVD pattern (bsc#1218539)
-------------------------------------------------------------------
Tue Jan 2 21:48:47 UTC 2024 - Jiri Srain <jsrain@suse.com>
- add skeleton for elemental client pattern (jsc#SMO-303)
- fix KVM pattern dependency on aarch64 and ppc64le (no qemu-kvm)
-------------------------------------------------------------------
Tue Dec 19 10:21:09 UTC 2023 - Jiri Srain <jsrain@suse.com>
- obsolete SLE Micro patterns
-------------------------------------------------------------------
Thu Dec 14 09:27:18 UTC 2023 - Jiri Srain <jsrain@suse.com>
- introduce separate transactional and traditional flavor of base
pattern
- include crypto-policies-scripts (bsc#1217991)
-------------------------------------------------------------------
Fri Dec 8 08:13:35 UTC 2023 - Jiri Srain <jsrain@suse.com>
- adjusted the content of KVM pattern
-------------------------------------------------------------------
Thu Nov 30 14:35:42 UTC 2023 - Jiri Srain <jsrain@suse.com>
- added more missing packages to the patterns (bsc#1216416)
- explicitly require lzop for KVM patern (bsc#1217702)
-------------------------------------------------------------------
Mon Nov 27 13:54:09 UTC 2023 - Jiri Srain <jsrain@suse.com>
- removed desktop patterns
- added missing packages to the patterns (bsc#1216447, #1216445)
- removed vm-install from KVM pattern
-------------------------------------------------------------------
Mon Nov 27 08:19:53 UTC 2023 - Jiri Srain <jsrain@suse.com>
- Added missing packages in several patterns for parity with
SLE Micro 5.x (bsc#1216416, #1216449, #1216447, #1216417)
- Added the KVM host pattern
-------------------------------------------------------------------
Thu Nov 16 10:31:02 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Bump to 6.0
- Resync with patterns-microos (add coreutils-systemd and make
some dependencies conditional to grub2)
-------------------------------------------------------------------
Thu Sep 7 07:37:57 UTC 2023 - jsrain@suse.com
- Fix building the FIPS pattern (define its filelist)
- Include toolbox for transactional systems
- Include pam_pwquality (bsc#1214886)
-------------------------------------------------------------------
Fri Jul 28 12:52:51 UTC 2023 - Marcus Meissner <meissner@suse.com>
- Added fips pattern. jsc#PED-2735
-------------------------------------------------------------------
Thu Jun 15 08:58:50 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- Add wtmpdb as Y2038 safe wtmp replacement to base [jsc#PED-3304]
-------------------------------------------------------------------
Mon May 29 08:08:54 UTC 2023 - jsrain@suse.com
- update the build key to be used
- temporarily remove branding
- add salt_minion pattern
-------------------------------------------------------------------
Mon May 15 09:28:59 UTC 2023 - jsrain@suse.com
- adjusted some pattern names
- remove several unneeded patrerns
-------------------------------------------------------------------
Wed May 10 15:26:45 UTC 2023 - jsrain@suse.com
- initial versino based on openSUSE MicroOS patterns

8
patterns-micro.rpmlintrc Normal file
View File

@ -0,0 +1,8 @@
addFilter("W: no-binary");
addFilter("W: unexpanded-macro.*pattern-category");
addFilter("W: explicit-lib-dependency");
addFilter("W: devel-package-with-non-devel-group");
addFilter("W: conflicts-with-provides");
addFilter("W: description-shorter-than-summary");
addFilter("W: suse-branding-specific-branding-req");
addFilter("W: useless-provides");

165
patterns-micro.spec Normal file
View File

@ -0,0 +1,165 @@
#
# spec file for package patterns-micro
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with betatest
Name: patterns-micro
Version: 6.0
Release: 0
Summary: Patterns for SUSE Linux Micro
License: MIT
Group: Metapackages
URL: http://en.opensuse.org/Patterns
Source0: %name.rpmlintrc
ExclusiveArch: x86_64 %arm32 aarch64 ppc64le s390x riscv64
%description
This is an internal package that is used to create the patterns as part
of the installation source setup. Installation of this package does
not make sense.
%package defaults
Summary: SL Micro defaults
Group: Metapackages
Provides: pattern() = micro_defaults
Provides: pattern-category() = SL-Micro
Provides: pattern-icon() = pattern-kubic
Provides: pattern-order() = 9020
Obsoletes: patterns-microos-defaults
Provides: patterns-microos-defaults
Requires: audit
Requires: systemd-coredump
Requires: pattern() = base
Requires: suseconnect-ng
Requires: rollback-helper
%description defaults
This provides default packages for SUSE Linux Micro which can be optionally
replaced by alternatives.
%package elemental_client
Summary: Elemental Client
Group: Metapackages
Provides: pattern() = micro_elemental_client
Provides: pattern-category() = SL-Micro
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 9055
Provides: pattern-visible()
Requires: elemental
%description elemental_client
This are packages which are required to run Elemental Client on SL Micro
%package onlyDVD
Summary: Packages only for the DVD of SL Micro
Group: Metapackages
Provides: pattern-category() = SL-Micro
Requires: bcache-tools
Requires: crda
Requires: cryptsetup
Requires: firewalld
Requires: iscsiuio
#extra items for DVD, not every install
Requires: ModemManager
Requires: NetworkManager-wwan
Requires: lvm2
Requires: multipath-tools
Requires: nvme-cli
Requires: open-iscsi
%ifarch %ix86 x86_64 aarch64
Requires: hyper-v
Requires: open-vm-tools
%endif
Requires: pam_pwquality
Requires: policycoreutils-python-utils
Requires: qemu-guest-agent
Requires: spice-vdagent
# Removed due to the installer not based on Linuxrc
# Requires: tftpboot-installation-openSUSE-MicroOS-%{_target_cpu}
%ifarch %ix86 x86_64
Requires: ucode-amd
Requires: ucode-intel
%endif
Requires: wpa_supplicant
Requires: man
Provides: pattern() = micro_onlyDVD
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 9900
Requires: pattern() = cloud
Requires: pattern() = hardware
Requires: pattern() = ima_evm
Requires: pattern() = ra_agent
Requires: pattern() = sssd_ldap
%description onlyDVD
Additional packages on a SL Micro DVD.
%package alt_onlyDVD
Summary: Alternative Packages only for the DVD of SL Micro
Group: Metapackages
Provides: pattern-category() = SL-Micro
Requires: kernel-default-base
Provides: pattern() = micro_alt_onlyDVD
Provides: pattern-icon() = pattern-generic
Provides: pattern-order() = 9901
Requires: pattern() = cloud
Requires: pattern() = cockpit
Requires: pattern() = ima+evm
Requires: pattern() = ra+verifier
Requires: pattern() = selinux
Requires: pattern() = salt_minion
Requires: pattern() = sssd_ldap
Requires: pattern() = micro_elemental_client
%description alt_onlyDVD
Alternative additional packages on a SL Micro DVD.
%prep
# empty on purpose
%build
# empty on purpose
%install
mkdir -p %{buildroot}%{_docdir}/patterns-micro/
PATTERNS='
defaults elemental_client
onlyDVD alt_onlyDVD
'
for i in $PATTERNS; do
echo "This file marks the pattern $i to be installed." \
> %{buildroot}%{_docdir}/patterns-micro/${i}.txt
done
%files defaults
%dir %{_docdir}/patterns-micro
%{_docdir}/patterns-micro/defaults.txt
%files elemental_client
%dir %{_docdir}/patterns-micro
%{_docdir}/patterns-micro/elemental_client.txt
%files onlyDVD
%dir %{_docdir}/patterns-micro
%{_docdir}/patterns-micro/onlyDVD.txt
%files alt_onlyDVD
%dir %{_docdir}/patterns-micro
%{_docdir}/patterns-micro/alt_onlyDVD.txt
%changelog