From 2782b4a53570d20116f2a357fa5ca932824fe6ebd860af5ef8f2c5a1b2f63c63 Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Tue, 23 Mar 2021 08:22:52 +0000 Subject: [PATCH] =?UTF-8?q?-=20Bump=20version:=209.23.21=20=E2=86=92=209.2?= =?UTF-8?q?3.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Refactor building of root cmdline setting Creating the root= cmdline parameter was based on methods that deals with the uuid. However, it's also possible to use a label information for the root= cmdline. To support this kiwi issued a 'blkid --uuid' command but that requires udev device names to be present on the host. The open buildservice workers do not run udev and fails apart the standard. This commit refactors the root cmdline setup to work with the device node as it exists during build time such that the blkid call runs against that device node. - Bump version: 9.23.20 → 9.23.21 - Delete yum from packagemanager in schema Auto convert yum to dnf if set as packagemanager. This allows to delete the yum handling from code parts in kiwi where this was still present. In addition this fixes the inclusion of yum into the packagelist. This Fixes #1768 - Add Strong Typing to builder APIs - This PR add APIs Strong Typing to the repository APIs Strong Typing has been added to the following files: repository/base.py repository/pacman.py repository/apt.py repository/dnf.py OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=196 --- PKGBUILD | 4 +- python-kiwi.changes | 160 ++++++++++++++++++++++++++++++++++++++++++++ python-kiwi.spec | 32 ++++----- python-kiwi.tar.gz | 4 +- 4 files changed, 176 insertions(+), 24 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 7e7d463..5cff4c4 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.23.20 +pkgver=9.23.22 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=('b2caf03a2a5987613201f1b4fd456ac5') +md5sums=('ff6e3eda54574ec54b5650b4cc242b8f') build() { diff --git a/python-kiwi.changes b/python-kiwi.changes index c29db5a..de79e1e 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,3 +1,158 @@ +------------------------------------------------------------------- +Mon Mar 22 14:19:29 CET 2021 - Marcus Schäfer + +- Bump version: 9.23.21 → 9.23.22 + +------------------------------------------------------------------- +Mon Mar 22 11:06:49 CET 2021 - Marcus Schäfer + +- Refactor building of root cmdline setting + + Creating the root= cmdline parameter was based on methods + that deals with the uuid. However, it's also possible to + use a label information for the root= cmdline. To support + this kiwi issued a 'blkid --uuid' command but that requires + udev device names to be present on the host. The open + buildservice workers do not run udev and fails apart the + standard. This commit refactors the root cmdline setup + to work with the device node as it exists during build + time such that the blkid call runs against that device + node. + +------------------------------------------------------------------- +Mon Mar 22 09:19:11 CET 2021 - Marcus Schäfer + +- Bump version: 9.23.20 → 9.23.21 + +------------------------------------------------------------------- +Fri Mar 19 15:45:11 CET 2021 - Marcus Schäfer + +- Delete yum from packagemanager in schema + + Auto convert yum to dnf if set as packagemanager. This allows + to delete the yum handling from code parts in kiwi where this + was still present. In addition this fixes the inclusion of yum + into the packagelist. This Fixes #1768 + +------------------------------------------------------------------- +Tue Mar 16 19:48:37 CET 2021 - KeithMnemonic + +- Add Strong Typing to builder APIs + +------------------------------------------------------------------- +Tue Mar 16 15:09:34 CET 2021 - KeithMnemonic + +- This PR add APIs Strong Typing to the repository APIs + + Strong Typing has been added to the following files: + + repository/base.py + repository/pacman.py + repository/apt.py + repository/dnf.py + repository/template/apt.py + repository/zypper.py + +------------------------------------------------------------------- +Tue Mar 16 14:23:30 CET 2021 - Marcus Schäfer + +- Drop by-path devicepersistency setting + + The dev/disk/by-path device representation is a host specific + PCI location. For image building which happens disconnected from + the later target device this setting is useless. + This Fixes #1747 + +------------------------------------------------------------------- +Tue Mar 16 14:15:51 CET 2021 - Marcus Schäfer + +- Fixed LVM root volume inclusion in fstab + + The root(/) volume in a LVM setup was included as UUID device + path. This is inconsistent compared to the non root volumes + which are included by their LVM representation: + + /dev/VGROUP_NAME/VOLUME_NAME + + This commit makes sure the root volume is included by its + persistent LVM device representation too. This is related + to Issue #1747 + +------------------------------------------------------------------- +Mon Mar 15 16:00:56 CET 2021 - Marcus Schäfer + +- Update unit- integration tests to schema v74 + +------------------------------------------------------------------- +Mon Mar 15 15:47:04 CET 2021 - Marcus Schäfer + +- Added XSLT transformation schema v73 -> v74 + + Update schema version and change to package manager 'apt' + if 'apt-get' was set + +------------------------------------------------------------------- +Mon Mar 15 15:02:25 CET 2021 - Marcus Schäfer + +- Change packagemanager setting from apt-get to apt + + In kiwi we use the name of the section as package name to install this + package manager capability. However on Debian based distros there is + no package named apt-get. There is only a package named apt which + provides a tool named apt-get. To avoid inconsistencies like we had it + in Issue #1735 and to bring this setting in line with all other + packagemanager settings the setting was moved to just apt. + This Fixes #1738 + +------------------------------------------------------------------- +Thu Mar 11 19:11:39 CET 2021 - KeithMnemonic + +- Public API Strong Typing for kiwi package_manager + +------------------------------------------------------------------- +Thu Mar 11 14:42:30 CET 2021 - David Cassany + +- Require qemu-img in any filesystem based image + + This commit moves the qemu-img requirement into the + `kiwi-systemdeps-filesystems` to ensure ISO, OEM and PXE images include + it in the build service. Also this is required for images that are + simple root-trees in a filesystem (image=ext4). + +------------------------------------------------------------------- +Thu Mar 11 14:25:55 CET 2021 - David Cassany + +- Add a requirement for kiwi-systemdeps-iso-media on disk images + + This commit adds a requirement for `kiwi-systemdeps-iso-media` in + `kiwi-systemdeps-disk-images`. This is to ensure that installing + `kiwi-systemdeps-disk-images` is enough to build OEM images including + install media. + +------------------------------------------------------------------- +Tue Mar 09 18:08:16 CET 2021 - David Cassany + +- Exclude /run and /tmp to be synched into the image + + This commit makes sure the contents of /run and /tmp are ignored when + synchronizing the generated root tree into the image. + + Fixes #1744 + +------------------------------------------------------------------- +Tue Mar 09 12:14:41 CET 2021 - Marcus Schäfer + +- Fix use of by-label device persistency in grub + + If devicepersistency="by-label" is set in the KIWI description + it will correctly operate on the fstab values but still uses + the UUID based setting for root= in the grub config. This commit + allows to set root=LABEL=... in the grub config in case the + devicepersistency requested it. In order for this to work this + commit also had to increase the scope of the grub helper + method _fix_grub_root_device_reference which is now called in + any case. This Fixes #1757 + ------------------------------------------------------------------- Mon Mar 08 12:58:27 CET 2021 - Marcus Schäfer @@ -20,6 +175,11 @@ Sat Mar 06 17:47:06 CET 2021 - Marcus Schäfer and allows people to use the kiwi API independent of any command line interface. Fixes #1755 +------------------------------------------------------------------- +Fri Mar 05 15:43:26 CET 2021 - David Cassany + +- Add Rawhide and Tumbleweed tests for secure boot on aarch64 + ------------------------------------------------------------------- Fri Mar 05 11:47:12 CET 2021 - Marcus Schäfer diff --git a/python-kiwi.spec b/python-kiwi.spec index ea71e5f..207a333 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -43,8 +43,8 @@ %endif Name: python-kiwi -Version: 9.23.20 -Provides: kiwi-schema = 7.3 +Version: 9.23.22 +Provides: kiwi-schema = 7.4 Release: 0 Url: https://github.com/OSInside/kiwi Summary: KIWI - Appliance Builder Next Generation @@ -156,15 +156,6 @@ Requires: xorriso %ifarch %{ix86} x86_64 Requires: syslinux %endif -%if "%{_vendor}" == "debbuild" -Requires: qemu-utils -%else -%if 0%{?suse_version} -Requires: qemu-tools -%else -Requires: qemu-img -%endif -%endif Requires: kiwi-systemdeps-core = %{version}-%{release} Requires: kiwi-systemdeps-filesystems = %{version}-%{release} Requires: kiwi-systemdeps-bootloaders = %{version}-%{release} @@ -246,6 +237,15 @@ Requires: lvm2 Requires: parted Requires: kpartx Requires: cryptsetup +%if "%{_vendor}" == "debbuild" +Requires: qemu-utils +%else +%if 0%{?suse_version} +Requires: qemu-tools +%else +Requires: qemu-img +%endif +%endif Requires: kiwi-systemdeps-core = %{version}-%{release} %description -n kiwi-systemdeps-filesystems @@ -263,17 +263,9 @@ Obsoletes: kiwi-image-vmx-requires < %{version}-%{release} Provides: kiwi-image:oem Provides: kiwi-image:vmx %endif -%if "%{_vendor}" == "debbuild" -Requires: qemu-utils -%else -%if 0%{?suse_version} -Requires: qemu-tools -%else -Requires: qemu-img -%endif -%endif Requires: kiwi-systemdeps-filesystems = %{version}-%{release} Requires: kiwi-systemdeps-bootloaders = %{version}-%{release} +Requires: kiwi-systemdeps-iso-media = %{version}-%{release} %description -n kiwi-systemdeps-disk-images Host setup helper to pull in all packages required/useful on diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index f6de114..6cf3ebf 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:5487cf69aa26a8d72c1f4c85f7f8e7f7db3de6d54af5f8f23a7385374554fb54 -size 2346300 +oid sha256:0550ba65546239e80751c49de874d9f765059042765a6952d6d4ed7330e310c5 +size 1810902