Hello community, here is the log from the commit of package python-kiwi for openSUSE:Factory checked in at 2019-01-15 13:13:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-kiwi (Old) and /work/SRC/openSUSE:Factory/.python-kiwi.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kiwi" Tue Jan 15 13:13:36 2019 rev:35 rq:663362 version:9.17.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-kiwi/python-kiwi.changes 2018-12-10 12:25:31.982695060 +0100 +++ /work/SRC/openSUSE:Factory/.python-kiwi.new.28833/python-kiwi.changes 2019-01-15 13:13:37.988486769 +0100 @@ -1,0 +2,280 @@ +Mon Jan 7 11:17:52 CET 2019 - [email protected] + +- Bump version: 9.17.6 → 9.17.7 + +------------------------------------------------------------------- +Mon Jan 7 10:48:09 CET 2019 - [email protected] + +- Fix use of SysConfig objects + + objects of that class did not provide a get method but + overload the bracket [] operator. Using the get() method + failed. This Fixes #910 + +------------------------------------------------------------------- +Sat Jan 5 19:52:42 CET 2019 - [email protected] + +- Use chkstat to verify and fix file permissions + + Call chkstat in system mode which reads /etc/sysconfig/security + to determine the configured security level and applies the + appropriate permission definitions from the /etc/permissions* + files. It's possible to provide those files as overlay files + in the image description to apply a certain permission setup + when needed. Otherwise the default setup as provided on the + package level applies. It's required that the image root system + has chkstat installed. If not present KIWI skips this step + and continuous with a warning. This Fixes #895 + +------------------------------------------------------------------- +Fri Dec 21 17:22:57 CET 2018 - [email protected] + +- Allow setting the protocol for exposed ports + + With this commit it is possible to set tcp or upd (e.g. "80/tcp") for + exposed container ports. If no protocol is provided OCI defaults are + applied. + + Fixes #906 + +------------------------------------------------------------------- +Wed Dec 19 18:01:17 CET 2018 - [email protected] + +- Use cls in @classmethods instead of self + + For consistency reasons. + +------------------------------------------------------------------- +Wed Dec 19 09:13:48 CET 2018 - [email protected] + +- Bump version: 9.17.5 → 9.17.6 + +------------------------------------------------------------------- +Tue Dec 18 20:03:33 CET 2018 - [email protected] + +- Allow setctsid to be part of custom boot images + +------------------------------------------------------------------- +Tue Dec 18 14:33:09 CET 2018 - [email protected] + +- Fix disk size calculation for VMX + + Disk size calculation must take into account the empty volumes that + are to be mounted in a directory that does not exist in the root tree + otherwise there is KeyError. The result of + storate/setup._calculate_volume_mbytes must be a dict including all + defined volumes. + + Fixes #904 + +------------------------------------------------------------------- +Wed Dec 12 12:19:50 CET 2018 - [email protected] + +- Bump version: 9.17.4 → 9.17.5 + +------------------------------------------------------------------- +Wed Dec 12 11:06:20 CET 2018 - [email protected] + +- Make sure manual pages are part of pypi archive + + As consequence of the change in the travis setup to make + use of the native 'pages' and 'pypi' providers from travis the + environment for the sdist target has changed. Within the + doc_travis tox env no manual pages was build. In combination + with the 'pypi' provider setup in .travis.yml which uses + skip_cleanup: true, this caused the pypi archive to miss + any manual pages which lead to a runtime error on install + via pip. + +------------------------------------------------------------------- +Tue Dec 11 08:18:26 CET 2018 - [email protected] + +- Bump version: 9.17.3 → 9.17.4 + +------------------------------------------------------------------- +Mon Dec 10 12:34:53 CET 2018 - [email protected] + +- Don't trust the vmlinux symlink to be present + +------------------------------------------------------------------- +Mon Dec 10 11:15:02 CET 2018 - [email protected] + +- Refactor kernel version lookup + + Check the presence of the gzip compressed kernel binary + and use it. If not present use the arbitrary kernel image + format with the known limitations. + +------------------------------------------------------------------- +Mon Dec 10 09:46:06 CET 2018 - [email protected] + +- More clarity on kernel version lookup + + Lookup of the kernel version is done by directly reading the + kernel image via a small tool named kversion. The scope of the + tool is limited and does not work for e.g kernel images which + contains its own decompressor code. For the special cases we + defined exceptions, one was zImage. The recently added exception + for vmlinuz seemed too intrusive to me and was also not well + documented. This patch tries to clarify and get us back to + explicit and easy to read coding. Fixes #899 + +------------------------------------------------------------------- +Tue Dec 4 17:22:25 CET 2018 - [email protected] + +- testing: fix issues marked by shellcheck + +------------------------------------------------------------------- +Thu Nov 29 17:58:48 CET 2018 - [email protected] + +- kernel.py: also try vmlinux-version.gz in case of image-version to + get the version number + +------------------------------------------------------------------- +Tue Nov 27 17:09:52 CET 2018 - [email protected] + +- Add Ubuntu bionic build tests + +------------------------------------------------------------------- +Tue Nov 27 15:17:49 CET 2018 - [email protected] + +- Another round of OCI tools refactoring + + In order to provide buildah support some of the logic about + temporary directories for OCI images creation needs to be moved + to the dedicated OCI tool class. + + While umoci can operate in any directory and this is passed as an + argument, this is not the case for buildah. In buildah workflow + the storage path of work-in-progress images/containers is not + customizable neither the mountpoint of the container rootfs. + +------------------------------------------------------------------- +Mon Nov 26 15:36:54 CET 2018 - [email protected] + +- Bump version: 9.17.2 → 9.17.3 + +------------------------------------------------------------------- +Mon Nov 26 14:37:42 CET 2018 - [email protected] + +- Update documentation for rd.live.cowfile.mbsize + +------------------------------------------------------------------- +Mon Nov 26 10:07:44 CET 2018 - [email protected] + +- Use cow file on persistent grub live loop boot + + When using tools like live-grub-stick the live iso as generated + by kiwi will be copied as file on the target device and a grub + loopback setup is created there to boot the live system from file. + In such a case the persistent write setup which tries to create + an extra write partition on the target fails in almost all cases + because the target has no free and unpartitioned space available. + Therefore in case of such a loopback mounted system we create a + cow file(live_system.cow) instead of a partition to setup + persistent writing. The cow file will be created in the same + directory the live iso image file was read from grub + This Fixes #860 + +------------------------------------------------------------------- +Fri Nov 23 14:15:38 CET 2018 - [email protected] + +- Bump version: 9.17.1 → 9.17.2 + +------------------------------------------------------------------- +Fri Nov 23 11:29:40 CET 2018 - [email protected] + +- Create a custom `setup.py clean` command + + The default `setup.py clean` command does not clean `dist` and + `*.egg-info` folders. This commit makes sure those are cleaned and + also ands a `setup.py clean` command in the `clean` Makefile target + +------------------------------------------------------------------- +Fri Nov 23 11:11:53 CET 2018 - [email protected] + +- Better exception handling in oem installer + ++++ 83 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-kiwi/python-kiwi.changes ++++ and /work/SRC/openSUSE:Factory/.python-kiwi.new.28833/python-kiwi.changes ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-kiwi.spec ++++++ --- /var/tmp/diff_new_pack.LucMXF/_old 2019-01-15 13:13:38.972486001 +0100 +++ /var/tmp/diff_new_pack.LucMXF/_new 2019-01-15 13:13:38.972486001 +0100 @@ -20,25 +20,32 @@ # If they aren't provided by a system installed macro, define them %{!?_defaultdocdir: %global _defaultdocdir %{_datadir}/doc} %{!?__python2: %global __python2 /usr/bin/python2} +%{!?__python3: %global __python3 /usr/bin/python3} # Expanded form required for debbuild's simpler engine %if %{undefined python2_sitelib} %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") %endif +%if %{undefined python3_sitelib} +%global python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") +%endif + %if 0%{?debian} || 0%{?ubuntu} %global is_deb 1 %global pygroup python %global sysgroup admin %global develsuffix dev +%global update_alternatives %{_bindir}/update-alternatives %else %global pygroup Development/Languages/Python %global sysgroup System/Management %global develsuffix devel +%global update_alternatives %{_sbindir}/update-alternatives %endif Name: python-kiwi -Version: 9.17.1 +Version: 9.17.7 Provides: kiwi-schema = 6.6 Release: 0 Url: https://github.com/SUSE/kiwi @@ -54,6 +61,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora} || 0%{?suse_version} BuildRequires: python3-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 BuildRequires: python3-setuptools BuildRequires: fdupes %endif @@ -104,7 +113,7 @@ Requires: grub2-x86_64-efi %endif %ifarch %{ix86} x86_64 -Requires: gfxboot +Recommends: gfxboot %endif Requires: qemu-tools Requires: squashfs @@ -133,9 +142,6 @@ Requires: qemu-utils Requires: squashfs-tools Requires: gdisk -%ifarch %{ix86} x86_64 -Requires: gfxboot -%endif %endif Requires: dosfstools Requires: e2fsprogs @@ -164,13 +170,17 @@ image builder for Linux supported hardware platforms as well as for virtualization and cloud systems like Xen, KVM, VMware, EC2 and more. -%if 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 # python3-kiwi %package -n python3-kiwi Summary: KIWI - Appliance Builder Next Generation Group: Development/Languages/Python Recommends: jing +%if 0%{?ubuntu} || 0%{?debian} +Requires: python3-yaml +%else Requires: python3-PyYAML +%endif Requires: python3-docopt Requires: python3-future Requires: python3-lxml @@ -187,7 +197,7 @@ Requires: grub2-x86_64-efi %endif %ifarch %{ix86} x86_64 -Requires: gfxboot +Recommends: gfxboot %endif Requires: qemu-tools Requires: squashfs @@ -213,6 +223,12 @@ Requires: zypper Provides: kiwi-packagemanager:zypper %endif +%if 0%{?debian} || 0%{?ubuntu} +Requires: debootstrap +Requires: qemu-utils +Requires: squashfs-tools +Requires: gdisk +%endif Requires: dosfstools Requires: e2fsprogs Requires: xorriso @@ -279,14 +295,19 @@ %endif Requires: bc Requires: cryptsetup -%if 0%{?fedora} || 0%{?rhel} +%if 0%{?fedora} || 0%{?rhel} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 Requires: btrfs-progs Requires: gdisk Requires: dracut-network %else +%if 0%{?debian} || 0%{?ubuntu} +Requires: btrfs-tools +Requires: gdisk +%else Requires: btrfsprogs Requires: gptfdisk %endif +%endif Requires: coreutils Requires: e2fsprogs Requires: grep @@ -301,9 +322,6 @@ %if 0%{?debian} || 0%{?ubuntu} Requires: xz-utils Requires: dmsetup -Requires: btrfs-tools -Requires: gdisk -Requires: dracut-network %else Requires: xz Requires: device-mapper @@ -388,6 +406,7 @@ %endif Requires: dracut Requires: xorriso +Requires: parted License: GPL-3.0-or-later Group: %{sysgroup} @@ -432,7 +451,7 @@ # Build Python 2 version python2 setup.py build --cflags="${RPM_OPT_FLAGS}" -%if 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 # Build Python 3 version python3 setup.py build --cflags="${RPM_OPT_FLAGS}" %endif @@ -441,7 +460,7 @@ # Install Python 2 version python2 setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?is_deb:--install-layout=deb} -%if 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 # Install Python 3 version python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?is_deb:--install-layout=deb} %endif @@ -484,38 +503,38 @@ %endif %post -n python2-kiwi -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --install %_bindir/kiwi kiwi %_bindir/kiwi-ng-2 10 -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --install %_bindir/kiwi-ng kiwi-ng %_bindir/kiwi-ng-2 10 -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --install %_bindir/kiwicompat kiwicompat %_bindir/kiwicompat-2 10 -%if 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 %post -n python3-kiwi -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --install %_bindir/kiwi kiwi %_bindir/kiwi-ng-3 10 -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --install %_bindir/kiwi-ng kiwi-ng %_bindir/kiwi-ng-3 10 -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --install %_bindir/kiwicompat kiwicompat %_bindir/kiwicompat-3 10 %endif %preun -n python2-kiwi -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --remove kiwi %_bindir/kiwi -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --remove kiwi %_bindir/kiwi-ng -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --remove kiwicompat %_bindir/kiwicompat -%if 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 %preun -n python3-kiwi -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --remove kiwi %_bindir/kiwi -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --remove kiwi %_bindir/kiwi-ng -%{_sbindir}/update-alternatives \ +%{update_alternatives} \ --remove kiwicompat %_bindir/kiwicompat %endif @@ -547,7 +566,7 @@ %{python2_sitelib}/* %config %_sysconfdir/bash_completion.d/kiwi-ng-2*.sh -%if 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} || 0%{?suse_version} || 0%{?ubuntu} >= 1804 || 0%{?debian} >= 9 %files -n python3-kiwi %defattr(-,root,root,-) %{_bindir}/kiwi-ng-3* ++++++ python-kiwi.tar.gz ++++++ ++++ 10667 lines of diff (skipped)
