- Bump version: 10.0.28 → 10.1.0

- kiwi no longer uses debootstrap
  For building Debian based images we used debootstrap to
  bootstrap an empty root until apt-get could be used to
  complete the job. This has now changed such hat apt-get
  is also used for bootstrapping a new system. The concept
  and also potential alternatives to the way kiwi bootstraps
  Debian based systems can be found here:
  * https://osinside.github.io/kiwi/working_with_images/build_without_debianbootstrap.html
  Due to the drop of debootstrap it might happen that
  package lists of existing image descriptions needs to be
  extended with packages that were formerly pulled in by
  debootstrap but did not get properly pulled in with the
  new apt based bootstrap. As reference please check out the
  integration tests from here:
  * https://github.com/OSInside/kiwi/tree/main/build-tests/x86/ubuntu
  * https://github.com/OSInside/kiwi/tree/main/build-tests/x86/debian
  Thanks

- Bump version: 10.0.27 → 10.0.28

- Update documentation
  kiwi no longer uses debootstrap

- Fix test_process_result_bundle_as_rpm

- Fix Debian/Ubuntu integration tests
  Remove package hacks for debootstrap, explicitly add
  required packages and or configurations.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=258
This commit is contained in:
Marcus Schäfer 2024-08-05 08:01:15 +00:00 committed by Git OBS Bridge
parent 671208422f
commit 4b1cd4fd46
4 changed files with 110 additions and 9 deletions

View File

@ -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') 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) arch=(x86_64)
pkgver=10.0.27 pkgver=10.1.0
pkgrel=0 pkgrel=0
pkgdesc="KIWI - Appliance Builder Next Generation" pkgdesc="KIWI - Appliance Builder Next Generation"
url="https://github.com/SUSE/kiwi/tarball/master" url="https://github.com/SUSE/kiwi/tarball/master"
@ -12,7 +12,7 @@ makedepends=(make gcc python-build python-docopt python-installer python-lxml py
provides=(kiwi-ng kiwi) provides=(kiwi-ng kiwi)
source=("${pkgname}.tar.gz") source=("${pkgname}.tar.gz")
changelog="${pkgname}.changes" changelog="${pkgname}.changes"
md5sums=('e8471ec78bc9f4c93efcfe3f61c784a1') md5sums=('b049cce4ea4539cd8e9bfd5ad12d47f6')
build() { build() {

View File

@ -1,3 +1,106 @@
-------------------------------------------------------------------
Mon Aug 05 09:55:53 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.28 → 10.1.0
-------------------------------------------------------------------
Mon Aug 05 09:47:53 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- kiwi no longer uses debootstrap
For building Debian based images we used debootstrap to
bootstrap an empty root until apt-get could be used to
complete the job. This has now changed such hat apt-get
is also used for bootstrapping a new system. The concept
and also potential alternatives to the way kiwi bootstraps
Debian based systems can be found here:
* https://osinside.github.io/kiwi/working_with_images/build_without_debianbootstrap.html
Due to the drop of debootstrap it might happen that
package lists of existing image descriptions needs to be
extended with packages that were formerly pulled in by
debootstrap but did not get properly pulled in with the
new apt based bootstrap. As reference please check out the
integration tests from here:
* https://github.com/OSInside/kiwi/tree/main/build-tests/x86/ubuntu
* https://github.com/OSInside/kiwi/tree/main/build-tests/x86/debian
Thanks
-------------------------------------------------------------------
Mon Aug 05 09:47:12 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Bump version: 10.0.27 → 10.0.28
-------------------------------------------------------------------
Sat Aug 03 14:13:07 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Update documentation
kiwi no longer uses debootstrap
-------------------------------------------------------------------
Fri Aug 02 20:59:19 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix test_process_result_bundle_as_rpm
-------------------------------------------------------------------
Fri Aug 02 18:02:25 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix Debian/Ubuntu integration tests
Remove package hacks for debootstrap, explicitly add
required packages and or configurations.
-------------------------------------------------------------------
Fri Aug 02 17:06:52 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Drop types-pkg_resources
Got removed from PyPI
-------------------------------------------------------------------
Wed Jul 31 16:57:30 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix test_process_result_bundle_as_rpm
os.path.basename was called on a MagicMock object which
sometimes confused pytest
-------------------------------------------------------------------
Wed Jul 31 12:09:20 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix kiwi-repart restrictions
The kiwi repart dracut module reads a profile file and if it
does not exists it dies in the initrd. However, that profile
file is not mandatory for the main resize functionality. Thus
this commit turns this into a warning message. In addition
the module-setup for 90kiwi-repart makes sure to include
the required and optional profile files.
This Fixes bsc#1228118
-------------------------------------------------------------------
Tue Jul 30 18:16:54 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Do not exclude the .profile env file by default
kiwi's initrd modules read a .profile file which gets included
into the initrd produced at build time. To allow rebuild of a
host-only initrd from the booted system this information should
be present such that it is possible to re-use kiwi initrd code.
-------------------------------------------------------------------
Tue Jul 30 12:50:54 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Get rid of debootstrap
Replace debootstrap with an apt-get based pre-download of
packages followed by a dpkg-deb extraction.
This Fixes #2599
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 30 09:45:37 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com> Tue Jul 30 09:45:37 CEST 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>

View File

@ -52,7 +52,7 @@
%endif %endif
Name: python-kiwi Name: python-kiwi
Version: 10.0.27 Version: 10.1.0
Provides: kiwi-schema = 8.1 Provides: kiwi-schema = 8.1
Release: 0 Release: 0
Url: https://github.com/OSInside/kiwi Url: https://github.com/OSInside/kiwi
@ -125,13 +125,11 @@ Provides: kiwi-image:tbz
# tools conditionally used by kiwi # tools conditionally used by kiwi
%if 0%{?fedora} || 0%{?rhel} >= 8 %if 0%{?fedora} || 0%{?rhel} >= 8
Recommends: gnupg2 Recommends: gnupg2
Recommends: debootstrap Recommends: apt
Recommends: dpkg Recommends: dpkg
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: gpg2 Recommends: gpg2
Recommends: debootstrap
Recommends: dpkg
%if 0%{?suse_version} >= 1650 %if 0%{?suse_version} >= 1650
Recommends: dnf Recommends: dnf
%endif %endif
@ -158,7 +156,7 @@ Requires: zypper
Provides: kiwi-packagemanager:zypper Provides: kiwi-packagemanager:zypper
%endif %endif
%if 0%{?debian} || 0%{?ubuntu} %if 0%{?debian} || 0%{?ubuntu}
Requires: debootstrap Requires: apt
Requires: dpkg Requires: dpkg
Requires: gnupg Requires: gnupg
%endif %endif

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4f0aac099ee73621f0250719b9cce504cecf6fb948387bf797644b8c0ced2549 oid sha256:da688efcf2bad349908829c7fa0cea7464b9386c8d75b3427ea9d92a9af6c324
size 1026923 size 1026331