From f873c205ea4cd9a16242d0461cf8065c8987d7d28b6704f429b94c7d2f77804d Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Tue, 8 Dec 2020 11:40:46 +0000 Subject: [PATCH] =?UTF-8?q?-=20Bump=20version:=209.22.0=20=E2=86=92=209.22?= =?UTF-8?q?.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed validation of bool value in dracut module The oem-multipath-scan setup results in a bool variable inside of the initrd code. The variable kiwi_oemmultipath_scan is therefore either set to "true" or "false". A check in code of the form [ -n ... ] is stupid since the variable always contains text. This commit fixes the validation to make use of the bool() method provided for these type of variables OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=190 --- PKGBUILD | 4 ++-- python-kiwi.changes | 17 +++++++++++++++++ python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 ++-- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index cb4e985..0f5db94 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=('python-kiwi' 'kiwi-man-pages' 'dracut-kiwi-lib' 'dracut-kiwi-oem-repart' 'dracut-kiwi-oem-dump' 'dracut-kiwi-live' 'dracut-kiwi-overlay') arch=(x86_64) -pkgver=9.22.0 +pkgver=9.22.1 pkgrel=0 pkgdesc="KIWI - Appliance Builder Next Generation" url="https://github.com/SUSE/kiwi/tarball/master" @@ -12,7 +12,7 @@ makedepends=(python-setuptools gcc shadow grep) provides=(kiwi-ng kiwi) source=("${pkgname}.tar.gz") changelog="${pkgname}.changes" -md5sums=('3ce07f0c0316090b1eece05a76a6de2b') +md5sums=('d4b1b56e307ddb1f3488e4cbfa730659') build() { diff --git a/python-kiwi.changes b/python-kiwi.changes index be536ff..ad365a0 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Dec 08 12:37:47 CET 2020 - Marcus Schäfer + +- Bump version: 9.22.0 → 9.22.1 + +------------------------------------------------------------------- +Tue Dec 08 12:21:11 CET 2020 - Marcus Schäfer + +- Fixed validation of bool value in dracut module + + The oem-multipath-scan setup results in a bool variable inside + of the initrd code. The variable kiwi_oemmultipath_scan is + therefore either set to "true" or "false". A check in code + of the form [ -n ... ] is stupid since the variable always + contains text. This commit fixes the validation to make use + of the bool() method provided for these type of variables + ------------------------------------------------------------------- Thu Dec 03 15:37:30 CET 2020 - Marcus Schäfer diff --git a/python-kiwi.spec b/python-kiwi.spec index 89768d5..9108c3a 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -43,7 +43,7 @@ %endif Name: python-kiwi -Version: 9.22.0 +Version: 9.22.1 Provides: kiwi-schema = 7.2 Release: 0 Url: https://github.com/OSInside/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index 86a26e7..1411f0d 100644 --- a/python-kiwi.tar.gz +++ b/python-kiwi.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e0c61ba3e50e1c735aca1e925418b4418635039f9b85f5a8cc63a0c2d618ac7b -size 1736150 +oid sha256:d9311a8077054c734b3b4d309d3b36845daee297478cfd127c662d5703a2a2f2 +size 1736072