Accepting request 1167028 from home:ngueorguiev:branches:Base:System

- Updated the .spec file to enable Secure Execution in the Cloud (bsc#1222675)
  * Creates a s390-tools-genprotimg-data-*.noarch.rpm package which includes
    s390x bootload binaries for x86_64: 
    - stage3a.bin and 
    - stage3b_reloc.bin 
    - plus check_hostkeydoc script

OBS-URL: https://build.opensuse.org/request/show/1167028
OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=205
This commit is contained in:
Nikolay Gueorguiev 2024-04-12 09:50:38 +00:00 committed by Git OBS Bridge
parent 90cb01f5d3
commit 2f3aa4d874
2 changed files with 36 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Apr 12 08:59:53 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Updated the .spec file to enable Secure Execution in the Cloud (bsc#1222675)
* Creates a s390-tools-genprotimg-data-*.noarch.rpm package which includes
s390x bootload binaries for x86_64:
- stage3a.bin and
- stage3b_reloc.bin
- plus check_hostkeydoc script
-------------------------------------------------------------------
Thu Apr 4 03:51:55 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>

View File

@ -195,12 +195,14 @@ BuildRequires: openssl
# Don't build with pie to avoid problems with zipl
#!BuildIgnore: gcc-PIE
Requires: coreutils
Requires: procps
Requires: util-linux
%ifarch s390x
Requires: gawk
Requires: perl-base
Requires: procps
Requires: rsync
Requires: tar
Requires: util-linux
%endif
Requires(post): %fillup_prereq
Requires(post): permissions
Requires(pre): shadow
@ -209,6 +211,8 @@ Provides: s390utils:/sbin/dasdfmt
Provides: group(cpacfstats)
Provides: group(ts-shell)
Provides: group(zkeyadm)
%ifarch x86_64 ###
%endif ###
ExclusiveArch: s390x x86_64
%description
@ -333,6 +337,20 @@ unavailable, the toolset checks for operational paths to the same
volume. If available, it reconfigures the FCP re-IPL settings to use an
operational path.
%package genprotimg-data
Summary: Build of genprotimg for and on x86_64 machines
License: MIT
Group: System/Boot
BuildArch: noarch
Conflicts: s390-tools
# ExpandFlags: ignoreconflicts
%description genprotimg-data
These tools (genprotimg) would allow to prepare and analyze boot images
in the realm of IBM Secure Execution on a trusted environment,
such as the laptop of an admin. The idea is to limit the build targets
depending on the defined or detected host architecture.
### *** s390x ************************************************************************* ###
%ifarch s390x
@ -765,6 +783,12 @@ done
%{_udevrulesdir}/70-chreipl-fcp-mpath.rules
%{_mandir}/man7/chreipl-fcp-mpath.7%{?ext_man}
### genprotimg
%files genprotimg-data
%{_datadir}/s390-tools/genprotimg/check_hostkeydoc
%{_datadir}/s390-tools/genprotimg/stage3a.bin
%{_datadir}/s390-tools/genprotimg/stage3b_reloc.bin
### _endif
### *** !s390x ************************************************************************* ###
### _ifarch x86_64