SHA256
1
0
forked from pool/python-kiwi

- Bump version: 9.17.40 → 9.17.41

- Update Boot From Hard Disk method
  Instead of searching for an efi binary to boot, use the exit method
  that exits from grub and let the firmware choose the next entry
  in the device list

- Do not crash on missing HOME

- Added live ISO integration tests for arm

- Consolidate syslinux file names and search paths
  Handle those file names and search path in the Defaults space
  and only once in the code

- Remove '^' which break BaseStripFirmware function (boo#1132455)

- Do not supress output for dracut call
  This commit adds a stderr_to_stdout option to Command.run method to
  redirect stderr to stdout.
  Additionally this commit also includes to the debug log the dracut
  call output, including both, stderr and stdout.
  Fixes #1114

- Fixed path_test unit test
  The code there checked for the message of an exception
  but recent changes in pytest did not allow to do it that
  way anymore.

- Fixed zipl bootloader setup

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=142
This commit is contained in:
Marcus Schaefer 2019-07-05 08:30:44 +00:00 committed by Git OBS Bridge
parent e4eb1bbcfd
commit 62db469641
3 changed files with 242 additions and 3 deletions

View File

@ -1,3 +1,223 @@
-------------------------------------------------------------------
Thu Jul 04 10:15:57 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.17.40 → 9.17.41
-------------------------------------------------------------------
Wed Jul 03 18:39:46 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Update Boot From Hard Disk method
Instead of searching for an efi binary to boot, use the exit method
that exits from grub and let the firmware choose the next entry
in the device list
-------------------------------------------------------------------
Wed Jul 03 12:55:23 CEST 2019 - Vladimir Nadvornik <nadvornik@suse.cz>
- Do not crash on missing HOME
-------------------------------------------------------------------
Tue Jul 02 16:19:21 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Added live ISO integration tests for arm
-------------------------------------------------------------------
Tue Jul 02 11:59:37 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Consolidate syslinux file names and search paths
Handle those file names and search path in the Defaults space
and only once in the code
-------------------------------------------------------------------
Tue Jul 02 10:57:26 CEST 2019 - Guillaume GARDET <guillaume.gardet@free.fr>
- Remove '^' which break BaseStripFirmware function (boo#1132455)
-------------------------------------------------------------------
Mon Jul 01 16:03:25 CEST 2019 - David Cassany <dcassany@suse.com>
- Do not supress output for dracut call
This commit adds a stderr_to_stdout option to Command.run method to
redirect stderr to stdout.
Additionally this commit also includes to the debug log the dracut
call output, including both, stderr and stdout.
Fixes #1114
-------------------------------------------------------------------
Mon Jul 01 11:31:20 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Fixed path_test unit test
The code there checked for the message of an exception
but recent changes in pytest did not allow to do it that
way anymore.
-------------------------------------------------------------------
Mon Jul 01 10:51:19 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Fixed zipl bootloader setup
On zipl we manually move the kernel and initrd file to the
zipl boot path because symlinks can't be read. That move
operation used the wrong filenames and was broken since
baseCreateCommonKernelFile is only used in the legacy
custom kiwi boot images but not in the dracut case.
-------------------------------------------------------------------
Fri Jun 28 09:24:18 CEST 2019 - Marcus Schäfer <ms@suse.de>
- update per review by Tom
-------------------------------------------------------------------
Thu Jun 27 17:44:15 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Fixed spec file requirement list for arm on Fedora
The package u-boot-tools is named uboot-tools on Fedora and RHEL
-------------------------------------------------------------------
Thu Jun 27 09:27:10 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Update secure boot fallback code
With the concept of shim being an option and not mandatory
also the fallback code has to adapt and treat the absence
of shim.efi as not fatal. In this situation we expect the
found grub.efi binary to be correctly signed which we can
only assume but not prove
-------------------------------------------------------------------
Thu Jun 27 09:25:54 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Make signed grub search path more generic
-------------------------------------------------------------------
Wed Jun 26 18:48:59 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Update distribution support information
Update the documentation with regards to our supported
distribution statement. This Fixes #1108
-------------------------------------------------------------------
Wed Jun 26 17:03:35 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Update signed grub.efi search path list
On arm there is no shim package that provides a signed grub
loader for secure boot. Instead the grub package(s) provides
the signed loader under yet another location in the system.
This commit adds the new search path
-------------------------------------------------------------------
Wed Jun 26 09:15:39 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Refactor ISO boot, use grub in EFI mode
Before this commit isolinux was used to boot an ISO and
thus forms a hard requirement. isolinux however only
exists for the x86 platform. This limitation did not
allow to create ISO images for other platforms. With this
commit a refactoring of the ISO boot setup is introduced.
* isolinux is only used if the bios firmware is requested
and the platform matches the x86 architecture. A runtime
check will check for this condition and exits early if
not applicable
* in case of the EFI firmware we already used grub in
EFI mode but still had isolinux in place for the legacy/CSM
boot. That part is now also replaced by a platform specific
grub eltorito image and grub's boot_hybrid.img for hybrid
boot. On platforms that do not provide those modules the
support for it will be skipped
With this change in place it's possible to control the ISO
boot layout through the firmware setup and all platform
specific modules are handled as such. Therefore we also
deleted the syslinux requirement. This Fixes #1092
-------------------------------------------------------------------
Tue Jun 25 11:17:04 CEST 2019 - David Cassany <dcassany@suse.com>
- Fix memory leak in OCI contianer tests
This commit fixes a memory leak in container_image_oci_test caused
by partially mocking a file opening. A ContainerImageOci instance
tries to open and read two files: the runtime configuration, if
present, and the `/.buildenv`, if present. In order to test the
`/.buildenv` presence file opening is mocked causing the runtime
configuration reading fall in an inifite loop. This commit mocks the
the RuntimeConfig instances to avoid this issue.
Fixes #1110
-------------------------------------------------------------------
Mon Jun 17 11:39:19 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Stabilize Gitlab rpm stage
The rpm stage in the gitlab CI pipeline runs against a collection
of mirror services. If those mirrors are not available the test
fails. Such failed tests are cumbersome because they don't indicate
an error condition we can/should fix. The openSUSE TW mirrors
showed to be unreachable more often than others which might be
because that target changes their content relatively often. This
patch changes the test strategy to allow the TW rpm test to fail
but still keep the other rpm targets mandatory as they don't show
the connection problems.
-------------------------------------------------------------------
Fri Jun 14 11:25:35 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Provider better error message in prepare phase
In case of an error the real valuable information is often
somewhere in the package manager output that does not get
exposed to the users console by default. The error message
we provide should tell users how they can get further details
such that they know how to find the real cause of the problem.
This patch enhances the error message in that regard.
-------------------------------------------------------------------
Tue Jun 11 16:54:17 CEST 2019 - David Cassany <dcassany@suse.com>
- Make kiwi installable in a venv
This commit sets the buildroot to the venv `sys.prefix`. This way
all the binaries are installed in a path under the venv.
Fixes #1022
-------------------------------------------------------------------
Fri Jun 07 10:18:43 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.17.39 → 9.17.40
-------------------------------------------------------------------
Wed Jun 05 18:28:07 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Decrease the default min partition size
The default 50M as min size for a partition could be set
to a smaller value. For now 10MB seems to be enough for
the overhead calculation and leads to more accurate results
on the specified size constraints
-------------------------------------------------------------------
Mon May 27 11:59:56 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Update documentation for consistency
Instead of hard coded names for example images and their
versions a prolog map including placeholders has been
added.
-------------------------------------------------------------------
Fri May 24 08:57:42 CEST 2019 - Marcus Schäfer <ms@suse.de>
@ -35,6 +255,15 @@ Fri May 17 14:08:21 CEST 2019 - Thomas Schraitle <toms@suse.de>
Replace "echo $var | sed ..." expression with ${var//SEARCH/REPLACE}
shell builtin as suggested by Codacy
-------------------------------------------------------------------
Thu May 16 11:45:33 CEST 2019 - Marcus Schäfer <ms@suse.de>
- Fixed runtime checker message
The output of check_image_include_repos_publicly_resolvable was
not well formatted and was also using an object address that
is not useful for users
-------------------------------------------------------------------
Wed May 15 08:55:52 CEST 2019 - Marcus Schäfer <ms@suse.de>

View File

@ -45,7 +45,7 @@
%endif
Name: python-kiwi
Version: 9.17.39
Version: 9.17.41
Provides: kiwi-schema = 6.6
Release: 0
Url: https://github.com/SUSE/kiwi
@ -160,8 +160,13 @@ Requires: tar >= 1.2.7
%if %{_vendor} != "debbuild"
# Not supported with debbuild yet
%ifarch %arm aarch64
%if 0%{?fedora} || 0%{?rhel}
Requires: uboot-tools
%endif
%if 0%{?suse_version}
Requires: u-boot-tools
%endif
%endif
%ifarch s390 s390x
Requires: s390-tools
%endif
@ -243,8 +248,13 @@ Requires: kpartx
Requires: rsync
Requires: tar >= 1.2.7
%ifarch %arm aarch64
%if 0%{?fedora} || 0%{?rhel}
Requires: uboot-tools
%endif
%if 0%{?suse_version}
Requires: u-boot-tools
%endif
%endif
%ifarch s390 s390x
Requires: s390-tools
%endif

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22714361f17832729b6251a49e52c37446100a39a974eb51843855e9a7a055f7
size 1597876
oid sha256:242cade8a48eb511dd3b3dd5f1133b11ee285f24290f379ad70b025b18174e98
size 1614210