update version to 9.21.7

This commit is contained in:
shixuantong 2022-04-16 15:19:38 +08:00
parent 0c4c561921
commit 66ac919b62
7 changed files with 47 additions and 144 deletions

View File

@ -3,8 +3,10 @@ From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= <ms@suse.de>
Date: Mon, 16 Nov 2020 16:37:58 +0100 Date: Mon, 16 Nov 2020 16:37:58 +0100
Subject: [PATCH] Added microdnf support in XML schema Subject: [PATCH] Added microdnf support in XML schema
The XML schema did not allow to specify microdnf as The XML schema did not allow to specify microdnf as
supported package manager supported package manager
--- ---
kiwi/schema/kiwi.rnc | 2 +- kiwi/schema/kiwi.rnc | 2 +-
kiwi/schema/kiwi.rng | 1 + kiwi/schema/kiwi.rng | 1 +
@ -12,10 +14,10 @@ supported package manager
3 files changed, 3 insertions(+), 1 deletion(-) 3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/kiwi/schema/kiwi.rnc b/kiwi/schema/kiwi.rnc diff --git a/kiwi/schema/kiwi.rnc b/kiwi/schema/kiwi.rnc
index a9dc8d22c7..35f8750cb1 100644 index 2e296fe..03bfffe 100644
--- a/kiwi/schema/kiwi.rnc --- a/kiwi/schema/kiwi.rnc
+++ b/kiwi/schema/kiwi.rnc +++ b/kiwi/schema/kiwi.rnc
@@ -812,7 +812,7 @@ div { @@ -793,7 +793,7 @@ div {
# #
div { div {
k.packagemanager.content = k.packagemanager.content =
@ -25,10 +27,10 @@ index a9dc8d22c7..35f8750cb1 100644
k.packagemanager = k.packagemanager =
## Name of the Package Manager ## Name of the Package Manager
diff --git a/kiwi/schema/kiwi.rng b/kiwi/schema/kiwi.rng diff --git a/kiwi/schema/kiwi.rng b/kiwi/schema/kiwi.rng
index 270e2eaa83..3d2a12595c 100644 index daaca9e..11a83aa 100644
--- a/kiwi/schema/kiwi.rng --- a/kiwi/schema/kiwi.rng
+++ b/kiwi/schema/kiwi.rng +++ b/kiwi/schema/kiwi.rng
@@ -1250,6 +1250,7 @@ the device is looked up in /dev/disk/by-* and /dev/mapper/*</a:documentation> @@ -1228,6 +1228,7 @@ the device is looked up in /dev/disk/by-* and /dev/mapper/*</a:documentation>
<value>zypper</value> <value>zypper</value>
<value>yum</value> <value>yum</value>
<value>dnf</value> <value>dnf</value>
@ -37,7 +39,7 @@ index 270e2eaa83..3d2a12595c 100644
</choice> </choice>
</define> </define>
diff --git a/kiwi/xml_parse.py b/kiwi/xml_parse.py diff --git a/kiwi/xml_parse.py b/kiwi/xml_parse.py
index 79b52455f3..3f103b7655 100644 index d5677a5..43ccc0d 100644
--- a/kiwi/xml_parse.py --- a/kiwi/xml_parse.py
+++ b/kiwi/xml_parse.py +++ b/kiwi/xml_parse.py
@@ -730,6 +730,7 @@ class k_packagemanager_content(object): @@ -730,6 +730,7 @@ class k_packagemanager_content(object):
@ -46,4 +48,8 @@ index 79b52455f3..3f103b7655 100644
DNF='dnf' DNF='dnf'
+ MICRODNF='microdnf' + MICRODNF='microdnf'
PACMAN='pacman' PACMAN='pacman'
--
2.33.0

View File

@ -9,7 +9,7 @@ Show disabled integration test builds with a clear indicator
1 file changed, 15 insertions(+), 13 deletions(-) 1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/helper/build_status.sh b/helper/build_status.sh diff --git a/helper/build_status.sh b/helper/build_status.sh
index 09af11c964..c740700076 100755 index 09af11c..c740700 100755
--- a/helper/build_status.sh --- a/helper/build_status.sh
+++ b/helper/build_status.sh +++ b/helper/build_status.sh
@@ -23,9 +23,11 @@ do @@ -23,9 +23,11 @@ do
@ -29,18 +29,18 @@ index 09af11c964..c740700076 100755
cat << EOF cat << EOF
Legend: Legend:
. succeeded . succeeded
- disabled - disabled
- U unresolvable - U unresolvable
- F failed - F failed
- B broken - B broken
- b blocked - b blocked
- % building - % building
- f finished - f finished
- s scheduled - s scheduled
- L locked - L locked
- x excluded - x excluded
- d dispatching - d dispatching
- S signing - S signing
+ D Disabled + D Disabled
+ U unresolvable + U unresolvable
+ F failed + F failed
@ -56,3 +56,6 @@ index 09af11c964..c740700076 100755
? buildstatus not available ? buildstatus not available
EOF EOF
fi fi
--
2.33.0

View File

@ -1,108 +0,0 @@
From 575f7788f2af100d7cc1e102637d3a8653caceea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= <ms@suse.de>
Date: Tue, 11 Aug 2020 11:54:50 +0200
Subject: [PATCH] Simplify build_status helper
Instead of a static list with all integration test build names
only maintain a list of integration test build project names
---
helper/build_status.sh | 86 +++++++++++++++++++++---------------------
1 file changed, 43 insertions(+), 43 deletions(-)
diff --git a/helper/build_status.sh b/helper/build_status.sh
index 670c5b161f..ef93ee847c 100755
--- a/helper/build_status.sh
+++ b/helper/build_status.sh
@@ -1,49 +1,49 @@
#!/bin/bash
-for image in \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-azure \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-docker \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-docker-derived\
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-ec2 \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-gce \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-iso \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-luks \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-MicroOS \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-oem \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-oem-legacy \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-orthos-oem \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-overlayroot \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-pxe \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-qcow-openstack\
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-tbz \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-vmx \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-vmx-lvm \
- Virtualization:Appliances:Images:Testing_x86:suse/test-image-custom-partitions \
- Virtualization:Appliances:Images:Testing_x86:centos/test-image-iso-oem-vmx \
- Virtualization:Appliances:Images:Testing_x86:fedora/test-image-iso-oem-vmx \
- Virtualization:Appliances:Images:Testing_x86:ubuntu/test-image-iso-oem-vmx \
- Virtualization:Appliances:Images:Testing_s390:suse/test-image-oem \
- Virtualization:Appliances:Images:Testing_s390:suse/test-image-vmx \
- Virtualization:Appliances:Images:Testing_arm:suse/test-image-iso \
- Virtualization:Appliances:Images:Testing_arm:suse/test-image-rpi-oem \
- Virtualization:Appliances:Images:Testing_arm:fedora/test-image-iso \
- Virtualization:Appliances:Images:Testing_ppc:suse/test-image-vmx \
- Virtualization:Appliances:Images:Testing_ppc:fedora/test-image-vmx \
- Virtualization:Appliances:Images:Testing_x86:archlinux/test-image-iso-oem-vmx-kis
+for project in \
+ Virtualization:Appliances:Images:Testing_x86:suse \
+ Virtualization:Appliances:Images:Testing_x86:centos \
+ Virtualization:Appliances:Images:Testing_x86:fedora \
+ Virtualization:Appliances:Images:Testing_x86:ubuntu \
+ Virtualization:Appliances:Images:Testing_s390:suse \
+ Virtualization:Appliances:Images:Testing_arm:suse \
+ Virtualization:Appliances:Images:Testing_arm:fedora \
+ Virtualization:Appliances:Images:Testing_ppc:suse \
+ Virtualization:Appliances:Images:Testing_ppc:fedora \
+ Virtualization:Appliances:Images:Testing_x86:archlinux
do
- project=$(echo "${image}" | cut -f1 -d/)
- package=$(echo "${image}" | cut -f2 -d/)
- if [ "${project_last}" != "${project}" ];then
- echo
- echo "$project"
- fi
- echo "${package}"
- osc -A https://api.opensuse.org \
- results "${project}" "${package}"
- if [ "$1" = "refresh" ];then
- echo -n "[refresh requested: ]"
+ echo "${project}"
+ if [ ! "$1" = "refresh" ];then
osc -A https://api.opensuse.org \
- service remoterun "${project}" "${package}"
+ results -V "${project}" | grep -B100 Legend | grep -v Legend
+ else
+ for package in $(osc -A https://api.opensuse.org list "${project}");do
+ if [[ "${package}" =~ ^test- ]];then
+ echo -n "[refresh requested for ${package}: ]"
+ osc -A https://api.opensuse.org \
+ service remoterun "${project}" "${package}"
+ fi
+ done
+ echo
fi
- project_last="${project}"
done
+
+if [ ! "$1" = "refresh" ];then
+cat << EOF
+Legend:
+ . succeeded
+ disabled
+ U unresolvable
+ F failed
+ B broken
+ b blocked
+ % building
+ f finished
+ s scheduled
+ L locked
+ x excluded
+ d dispatching
+ S signing
+ ? buildstatus not available
+EOF
+fi

Binary file not shown.

BIN
kiwi-9.21.7.tar.gz Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%{?python_enable_dependency_generator} %{?python_enable_dependency_generator}
Name: kiwi Name: kiwi
Version: 9.21.5 Version: 9.21.7
Release: 3 Release: 1
License: GPLv3+ License: GPLv3+
Summary: Flexible operating system image builder Summary: Flexible operating system image builder
@ -10,7 +10,6 @@ URL: http://osinside.github.io/kiwi/
Source0: https://files.pythonhosted.org/packages/source/k/%{name}/%{name}-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/k/%{name}/%{name}-%{version}.tar.gz
Patch0: backport-Added-microdnf-support-in-XML-schema.patch Patch0: backport-Added-microdnf-support-in-XML-schema.patch
Patch1: backport-Simplify-build_status-helpe.patch
Patch2: backport-Include-box-plugin-images-to-build_status.patch Patch2: backport-Include-box-plugin-images-to-build_status.patch
Patch3: backport-Added-s390-SLE15-integration-tests.patch Patch3: backport-Added-s390-SLE15-integration-tests.patch
Patch4: backport-Cosmetic-update-for-build-status-helper.patch Patch4: backport-Cosmetic-update-for-build-status-helper.patch
@ -199,6 +198,9 @@ done
%{_mandir}/man8/%{name}* %{_mandir}/man8/%{name}*
%changelog %changelog
* Sat Apr 16 2022 shixuantong <shixuantong@h-partners.com> - 9.21.7-1
- update version to 9.21.7
* Sat Jan 22 2022 liudabo <liudabo1@huawei.com> - 9.21.5-3 * Sat Jan 22 2022 liudabo <liudabo1@huawei.com> - 9.21.5-3
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA

View File

@ -297,7 +297,7 @@ index a81be6a..cd28ec8 100644
#====================================== #======================================
# suseService # suseService
#-------------------------------------- #--------------------------------------
@@ -361,11 +389,59 @@ function baseStripDocs { @@ -361,10 +389,58 @@ function baseStripDocs {
grep -iv "copying\|license\|copyright") grep -iv "copying\|license\|copyright")
rm -f "${docfiles}" rm -f "${docfiles}"
done done
@ -306,7 +306,7 @@ index a81be6a..cd28ec8 100644
rm -rf /usr/share/man rm -rf /usr/share/man
} }
#====================================== +#======================================
+# baseStripcustomBep +# baseStripcustomBep
+#-------------------------------------- +#--------------------------------------
+function baseStripcustomBep { +function baseStripcustomBep {
@ -353,14 +353,14 @@ index a81be6a..cd28ec8 100644
+ baseStripcustomBep $dbephookdir + baseStripcustomBep $dbephookdir
+} +}
+ +
+#====================================== #======================================
# baseStripLocales # baseStripLocales
#-------------------------------------- #--------------------------------------
function baseStripLocales { @@ -374,13 +450,25 @@ function baseStripLocales {
@@ -375,12 +451,24 @@ function baseStripLocales { baseStripAndKeep "${keepLocales}"
} }
#====================================== +#======================================
+# baseStripGconv +# baseStripGconv
+#-------------------------------------- +#--------------------------------------
+function baseStripGconv { +function baseStripGconv {
@ -373,7 +373,7 @@ index a81be6a..cd28ec8 100644
+ baseStripAndKeep ${keepGconv} + baseStripAndKeep ${keepGconv}
+} +}
+ +
+#====================================== #======================================
# baseStripTranslations # baseStripTranslations
#-------------------------------------- #--------------------------------------
function baseStripTranslations { function baseStripTranslations {
@ -394,10 +394,11 @@ index a81be6a..cd28ec8 100644
fi fi
done done
} }
@@ -508,6 +596,45 @@ function Debug { @@ -507,6 +595,45 @@ function Debug {
echo "+++++> (caller:${FUNCNAME[1]}:${FUNCNAME[2]} ) $*"
fi fi
} }
#====================================== +#======================================
+# baseSetupBusyBox +# baseSetupBusyBox
+#-------------------------------------- +#--------------------------------------
+function baseSetupBusyBox { +function baseSetupBusyBox {
@ -436,10 +437,9 @@ index a81be6a..cd28ec8 100644
+ done + done
+} +}
+ +
+#====================================== #======================================
# stripUnusedLibs # stripUnusedLibs
#-------------------------------------- #--------------------------------------
function baseStripUnusedLibs {
@@ -518,6 +645,8 @@ function baseStripUnusedLibs { @@ -518,6 +645,8 @@ function baseStripUnusedLibs {
local needlibs local needlibs
local found local found
@ -808,10 +808,10 @@ index a81be6a..cd28ec8 100644
+ return 0 + return 0
+} +}
diff --git a/kiwi/path.py b/kiwi/path.py diff --git a/kiwi/path.py b/kiwi/path.py
index 44ff5cd..db99dac 100644 index b763211..b2ce909 100644
--- a/kiwi/path.py --- a/kiwi/path.py
+++ b/kiwi/path.py +++ b/kiwi/path.py
@@ -145,7 +145,7 @@ class Path: @@ -150,7 +150,7 @@ class Path:
) )
path_elements = path.split(os.sep) path_elements = path.split(os.sep)
protected_elements = [ protected_elements = [
@ -894,5 +894,5 @@ index 90f7c45..426e79b 100644
'check_volume_setup_defines_reserved_labels': [], 'check_volume_setup_defines_reserved_labels': [],
'check_volume_setup_defines_multiple_fullsize_volumes': [], 'check_volume_setup_defines_multiple_fullsize_volumes': [],
-- --
1.8.3.1 2.33.0