forked from pool/python-kiwi
Accepting request 946017 from Virtualization:Appliances:Builder
- Bump version: 9.24.15 → 9.24.16 - Fixed regression in compression detection The change from 282529de8f612dee32d54ee868c2365dcd829220 Introduced a bad regression. The assumption was made that the xz tool could be used to detect if a file is compressed or not. However, this requires the file to be locally present. In the scope of the method call is_compressed() and within a remote deployment e.g PXE this is not the case. Therefore the former way to "detect" the compression according to the .xz postfix of the source filename was restored. In addition the function name was changed to is_xz_compressed() because that's what the method can do and not more. This Fixes #2015 - Added debug option --debug-run-scripts-in-screen Instead of running scripts in screen if the --debug switch is set, we allow to explicitly switch on this behavior via a new option. This Fixes #2010 - Change packages target for bootincludes Packages marked with bootinclude="true" will be added to the referenced kiwi boot image description if the initrd_system is set to "kiwi" instead of "dracut". The package marked was primarily added to the type="image" section and got only added to the type="bootstrap" section if no image type section existed. However, it has turned out that this approach has the disadvantage that packages which must be installed as part of the bootstraping (e.g certificates) cannot be handled. This commit changes the behavior of the bootinclude to include the package always to the type="bootstrap" section. OBS-URL: https://build.opensuse.org/request/show/946017 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=89
This commit is contained in:
commit
11fbe2a8d6
4
PKGBUILD
4
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.24.14
|
||||
pkgver=9.24.16
|
||||
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=('196869ffa26aa11d76746e57ae4d86da')
|
||||
md5sums=('fc4603fc377248f3e71b21e084ac13f1')
|
||||
|
||||
|
||||
build() {
|
||||
|
@ -1,3 +1,155 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 09:55:51 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Bump version: 9.24.15 → 9.24.16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 09 21:19:49 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Fixed regression in compression detection
|
||||
|
||||
The change from 282529de8f612dee32d54ee868c2365dcd829220
|
||||
Introduced a bad regression. The assumption was made that the
|
||||
xz tool could be used to detect if a file is compressed or not.
|
||||
However, this requires the file to be locally present. In the
|
||||
scope of the method call is_compressed() and within a remote
|
||||
deployment e.g PXE this is not the case. Therefore the former
|
||||
way to "detect" the compression according to the .xz postfix
|
||||
of the source filename was restored. In addition the function
|
||||
name was changed to is_xz_compressed() because that's what the
|
||||
method can do and not more. This Fixes #2015
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 17:36:26 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Added debug option --debug-run-scripts-in-screen
|
||||
|
||||
Instead of running scripts in screen if the --debug switch is
|
||||
set, we allow to explicitly switch on this behavior via
|
||||
a new option. This Fixes #2010
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 16:11:44 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Change packages target for bootincludes
|
||||
|
||||
Packages marked with bootinclude="true" will be added to the
|
||||
referenced kiwi boot image description if the initrd_system
|
||||
is set to "kiwi" instead of "dracut". The package marked was
|
||||
primarily added to the type="image" section and got only
|
||||
added to the type="bootstrap" section if no image type section
|
||||
existed. However, it has turned out that this approach has
|
||||
the disadvantage that packages which must be installed as
|
||||
part of the bootstraping (e.g certificates) cannot be handled.
|
||||
This commit changes the behavior of the bootinclude to include
|
||||
the package always to the type="bootstrap" section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 13:49:12 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Add GitHub workflow badges
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 13:38:04 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Fixed Codacy Badge
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 02 20:00:00 CET 2022 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Allow firmware="custom" setting
|
||||
|
||||
The firmware attribute in kiwi is used to indicate for
|
||||
which boot firmware the image should be build. Specifying
|
||||
the target firmware is helpful to create for example the
|
||||
correct disk layout. If no firmware is specified KIWI
|
||||
decides for a default according to the image architecture.
|
||||
This selection is not 100% accurate and as we don't know
|
||||
the later target system. Especially for embedded devices
|
||||
the correct disk layout and other settings can be
|
||||
board specific and KIWI's default settings regarding the
|
||||
firmware could be invalid. For compatibility reasons we
|
||||
cannot switch off the default selection case and therefore
|
||||
a new attribute value "custom" is introduced with this
|
||||
commit. If set KIWI does not select any firmware and
|
||||
consequently all settings caused by a firmware setup will
|
||||
be skipped. On the other hand this means all needed
|
||||
settings for the target to boot and not done by KIWI
|
||||
needs to be specified explicitly and as needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 02 15:19:42 CET 2022 - Neal Gompa <ngompa@datto.com>
|
||||
|
||||
- Add util-linux dep for -systemdeps-disk-images subpackage
|
||||
|
||||
Without this dependency, kiwi fails to work properly in minimal image
|
||||
build environments, like in a mock chroot where util-linux is not installed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 17 18:04:19 CET 2021 - Tanja Roth <taroth@suse.com>
|
||||
|
||||
- index.rst: fix headline
|
||||
|
||||
* third try: apply diff by schaefi
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 17 13:43:22 CET 2021 - Tanja Roth <taroth@suse.com>
|
||||
|
||||
- index.rst: fix headline
|
||||
|
||||
* removed lonely bracket
|
||||
* added more lines to fix syntax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 16:41:57 CET 2021 - Tanja Roth <taroth@suse.com>
|
||||
|
||||
- index.rst: Change title (bsc#1189294#c2)
|
||||
|
||||
* 'KIWI NG 9: KIWI NG Documentation' -> 'Building Linux System Appliances with KIWI Next Generation (KIWI NG <VERSION>)
|
||||
* suggested in bsc#1189294#c2 for more clarity
|
||||
* change has been discussed with and approved by main author (Marcus S.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 16:33:47 CET 2021 - Rüdiger Oertel <ro@suse.de>
|
||||
|
||||
- support compressed modules in other formats
|
||||
|
||||
when cleaning up the firmware directory for unused files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 10:48:49 CET 2021 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Bump version: 9.24.14 → 9.24.15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 15 22:17:11 CET 2021 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Update documentation
|
||||
|
||||
Rework troubleshooting chapter and add an article
|
||||
about app security subsystems like selinux and their
|
||||
potential influence on building images. Also update
|
||||
the quickstart with a reference to the troublshooting
|
||||
chapter. This Fixes #1891
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 08 17:08:48 CET 2021 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
- Added support for collection modules
|
||||
|
||||
In CentOS Stream 8 and Red Hat Enterprise Linux 8, there are
|
||||
Application Streams that are offered in the form of modules
|
||||
(using Fedora Modularity technology). To build images that use
|
||||
this content KIWI needs to support to enable/disable various
|
||||
modules. This commit allows to configure collection modules
|
||||
in a new element as shown below
|
||||
|
||||
<packages type="bootstrap">
|
||||
<collectionModule name="module" stream="stream" enable="true|false"/>
|
||||
</packages>
|
||||
|
||||
This Fixes Issue #1999
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 06 09:59:28 CET 2021 - Marcus Schäfer <marcus.schaefer@gmail.com>
|
||||
|
||||
@ -761,6 +913,11 @@ Thu Oct 07 09:50:38 CEST 2021 - Marcus Schäfer <ms@suse.de>
|
||||
include concept. This Fixes #1929 and is related to
|
||||
Issue #1918
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 06 16:32:45 CEST 2021 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Switch to pytest_container instead of custom conftest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 06 16:06:55 CEST 2021 - Marcus Schäfer <ms@suse.de>
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
%endif
|
||||
|
||||
Name: python-kiwi
|
||||
Version: 9.24.14
|
||||
Version: 9.24.16
|
||||
Provides: kiwi-schema = 7.4
|
||||
Release: 0
|
||||
Url: https://github.com/OSInside/kiwi
|
||||
@ -278,6 +278,11 @@ Requires: parted
|
||||
Requires: kpartx
|
||||
Requires: cryptsetup
|
||||
Requires: mdadm
|
||||
Requires: util-linux
|
||||
# lsblk is part of util-linux-systemd on openSUSE
|
||||
%if 0%{?suse_version}
|
||||
Requires: util-linux-systemd
|
||||
%endif
|
||||
|
||||
%description -n kiwi-systemdeps-disk-images
|
||||
Host setup helper to pull in all packages required/useful on
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9ecc37ac2e290323ce8d5861ed1e9e16b0b231c7eea5cc4cd8977b6b8b950e1
|
||||
size 2093668
|
||||
oid sha256:2a1eb29acba577fb60e9f8dd04251bb262653b6d715ba91d1c10e4564fc8a92a
|
||||
size 2104162
|
||||
|
Loading…
Reference in New Issue
Block a user