SHA256
1
0
forked from pool/supermin

Accepting request 920136 from Virtualization

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/920136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/supermin?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-09-20 21:33:03 +00:00 committed by Git OBS Bridge
commit 11ec52001d
2 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Sep 12 10:20:30 UTC 2021 - ohering@suse.de
- Restore ExclusiveArch, continue to follow libguestfs
The 'almost' below is the reason.
-------------------------------------------------------------------
Thu Sep 9 19:19:19 UTC 2021 - ohering@suse.de
- arm32 may have a kernel named /boot/zImage
-------------------------------------------------------------------
Thu Sep 9 11:38:07 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -59,8 +59,10 @@ Requires: xmlstarlet
Requires: zypper
Provides: febootstrap
%{?ocaml_preserve_bytecode}
# fails to run %%check
ExcludeArch: armv7l
%if "%{?_ignore_exclusive_arch}" == ""
# this must follow libguestfs, which is the only consumer of this pkg
ExclusiveArch: x86_64 ppc64 ppc64le s390x aarch64 riscv64
%endif
%description
supermin is a tool for building supermin appliances. These are tiny
@ -90,7 +92,7 @@ find %{buildroot} -ls
ls -alt /boot /lib/modules || :
ls -altd /lib/modules/*/* || :
for i in /boot/image* /boot/Image* /boot/vmlinu*
for i in /boot/image* /boot/Image* /boot/vmlinu* /boot/zImage*
do
test -f "$i" || continue
if get_kernel_version "${i}" > $$