Commit Graph

12 Commits

Author SHA256 Message Date
Marcus Schaefer
a9e1337cc2 - Bump version: 9.21.13 → 9.21.14
- Fixed s390/sle15 Virtual disk integration test
  The integration test used FBA mode as target. As the target
  is expected to be KVM this is the wrong setting. SCSI should
  be used instead. This Fixes bsc#1170863

- Followup fix to handle one disk type better
  The vmx type is auto converted into an oem type with rootfs
  resize disabled such that all disk images can be handled
  under one disk type. However people who run kiwi on the
  commandline and have selected --type vmx before now end
  with an error message saying that there is no vmx type
  because it was converted into an oem type. To handle this
  more gracefully this commit changes the commandline
  option --type vmx into --type oem if provided and prints
  a warning message.

- Bump version: 9.21.12 → 9.21.13

- Cleanup grub adaptions code
  The grub setup code has some after grub-mkconfig code that
  fixes the written grub.cfg file on certain conditions. For
  a better understanding and readability those conditions
  and reasons are now put into private _fix* methods that
  explains why we need to patch the written grub config file.
  We all hope that those methods can go away when grub gets
  fixed properly. This Fixes #1527

- Cosmetic update for build status helper

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=182
2020-09-23 11:09:04 +00:00
Marcus Schaefer
9ab070caca - Bump version: 9.21.11 → 9.21.12
- Added consistency runtime check for the type setup
  multiple type sections within one preferences section is allowed
  in a kiwi image description. However, if multiple type sections
  for the same image attribute are configured only the last type
  configuration will be ever reachable. The proposed runtime check
  in this commit detects this situation and raises an exception
  showing the conflicting types including a solution suggestion
  which needs to be based on profiles to distinguish between
  types of the same image type name.

- Get default maintainer and author from image description
  This commit sets the maintainer and author metadata from the description
  section of the image in they are not explicitly specified in
  container-config section.
  In addition it sets the default container name to `system-container`
  instead of `systemContainer` as uppercase letters are not valid for
  docker container references.
  Fixes #1419

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=181
2020-09-22 08:11:03 +00:00
Marcus Schaefer
d2d9f43f46 - Bump version: 9.21.10 → 9.21.11
- Update build test directory names
  Name the build test directory to follow the changes done
  in Issue #1425. There is only one disk image type now, thus
  the tests for testing disk images should indicate that
  better. Also the tests that build live iso images should
  indicate a live iso not only an iso as it could be mixed
  up with an install iso

- Consolidate build test names and description
  Update build test image names to be more generic and not
  bound to a specific version of a distribution. As the tests
  are usually based on rolling releases of distros the name
  of the test image should be generic. Also adapted the
  specification of the test images to describe the focus
  of the test if not generic.

- Bump version: 9.21.9 → 9.21.10

- Fix the early boot grub.cfg file
  This commit makes sure that the early boot configuration files
  for grub make use of the proper boot path and omiting the `/boot`
  prefix if there is a dedicated boot partition.
  Fixes #1553

- Change Appliance names to drop the name LimeJeOS
  The name LimeJeOS was an invention of the SUSE Studio project.
  Since the project does no longer exist, users have no idea
  what the name means. Therefore the integration tests as well

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=180
2020-09-18 14:10:42 +00:00
Marcus Schaefer
fb5e40aa00 - Bump version: 9.21.6 → 9.21.7
- Fixed archlinux integration test build
  The setup of the locale via systemd-firstboot --locale=en_US.UTF-8
  failed on archlinux with the error message Locale en_US.UTF-8 is not
  installed. This commit sets the locale explicitly

- Fixed GCE integration test build
  nothing provides google-compute-engine-init

- Fixed bootloader grub copy SameFileError exception
  Only copy the file if the given source and destination are
  not the same file

- Simplify build_status helper
  Instead of a static list with all integration test build names
  only maintain a list of integration test build project names

- Bump version: 9.21.5 → 9.21.6

- Skip filesystem check for XFS prior xfs_grow
  running xfs_repair check isn't strictly necessary before resizing,
  and in some cases it may even prevent resizing by giving an error
  that would be cleared through mounting the fs (e.g. when the fs
  wasn't cleanly umounted, and thus letting xfs recover and replay
  its journal). Given that xfs can only grow online (while being mounted),
  this is sufficient to ensure that the fs is in a state where it
  can be resized. This is related to bsc#1174009

- Fixed code logic in resize_filesystem method

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=179
2020-08-12 14:36:32 +00:00
Marcus Schaefer
78beb0501a - Bump version: 9.21.2 → 9.21.3
- Fixes live ISOs
  This commit fixes iso images. Due to a change introduced in c7ed1cf
  live ISOs were no longer booting as the rootfs.img filesystem was
  copied to the squashfs container while being still mounted. Because of
  that, at boot time, it refused to mount.
  This commit adds umount method for the filesystem base class, so it
  can be umounted before deleting the instance.
  Fixes #1489 and bsc#1173356

- Global variables (#1485)
  * Fix according to PEP8
  * Refactor global variables pythonic way
  * Remove unused import

- Add locale configuration hints in docs

- Add missing decorator for static methods

- Bump version: 9.21.1 → 9.21.2

- Fixed check for root device in grub config
  There is a code path that fixes the grub2-mkconfig used root device
  when building in an environment that does not allow to resolve the
  by-X path names, e.g an obs build worker without udev. For images
  that explicitly defines a root=... value in the kernelcmdline
  attribute the root device check was not called because the
  _get_root_cmdline_parameter method returns None. This commit fixes
  the method to return the expected root device in any case such that

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=178
2020-06-25 15:09:37 +00:00
Marcus Schaefer
5c8c164bbd - Bump version: 9.21.0 → 9.21.1
- Fixed test-image-qcow-openstack
  Nothing provides libyui-ncurses-pkg11, yast2-trans-en_US in
  TW anymore

- Moved sle12 ppc integration test to internal bs
  In agreement with IBM the sle12 integration test has been moved
  into the internal buildservice. The reason for this change is
  a python 3.4 compatibility problem. This version of python is
  used in sle12 but would require patching of upstream kiwi in
  terms of type hints and annotations to continue to work.
  We don't want to cary this patch upstream but in the sle12_kiwi
  repository which contains the kiwi used in sle12. Therefore
  also the integration test needs to move into the internal
  sle12 space.

- Ignore MyPy cache

- Ignore VSCode cache

- Remove sed calls to fix /etc/vimrc
  An update of vim in Tumbleweed will move /etc/vimrc to /usr/share/vim as part of
  the /usr - /etc split. This makes the sed call fail because /etc/vimrc no longer
  exists.
  However, the fix is not required anymore then, as the vim package dropped the
  "syntax on" line from the default vimrc.

- Fixed permissions of custom boot image root dir
  When building a custom kiwi initrd the root directory

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=177
2020-06-12 12:46:01 +00:00
Marcus Schaefer
2a6aa35347 - Bump version: 9.20.15 → 9.20.16
- Fixed schematron rule for bootloader targettype
  The targettype attribute must be allowed for the grub2_s390x_emu
  bootloader name

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=175
2020-05-22 13:13:18 +00:00
Marcus Schaefer
e25a1cc474 - Bump version: 9.20.14 → 9.20.15
- Fixed parse result description reference
  The object that holds the parse result also contains an
  information about description_dir and derived_description_dir.
  The change on the markup processing impacted the value for
  description_dir to be no longer the origin (user provided)
  directory. That broke any reference of files that belongs
  to the description directory like custom scripts config.sh,
  images.sh and so on.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=174
2020-05-22 12:43:23 +00:00
Marcus Schaefer
2a4005e094 - Fixed sdist MANIFEST
kiwi.markup was not part of the source tarball

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=173
2020-05-22 11:30:26 +00:00
Marcus Schaefer
9d8a13eaf3 - Bump version: 9.20.13 → 9.20.14
- Remmove any Recommends for CentOS7
  This commit fixes the package spec for CentOS 7. In CentOS 7 there is no
  support for weak dependencies. In 9792cea1 a recommended dependency on
  gpg tools was included for all builds and this caused a failure for
  CentOS 7. With this commit, the recommended dependency, is omitted for
  any pre CentOS 8 distro.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=172
2020-05-22 11:24:13 +00:00
54b0db90ee osc copypac from project:Virtualization:Appliances:Staging package:python-kiwi revision:229
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=171
2020-05-22 10:05:43 +00:00
Marcus Schaefer
34a69461c1 - Bump version: 9.20.12 → 9.20.13
- Fix default repositories for APT
  This commit fixes the default repositories configuration for APT.
  Fixes #1439

- Include recommend for gpg tool

- Fix signing keys management for APT
  This commit fixes the management of the trusted keyring for apt
  repositories. It creates a `trusted.gpg` keyring with the provided
  signing keys so APT can check against that the configured repositories.
  Fixes #1440

- Fixed spec file
  This patch is two fold. First the py2 version of kiwi was
  dropped since py2 is EOL. To indicate that correctly on the
  package level python3-kiwi has to obsolete python2-kiwi.
  The other part of the change is a file conflict of the
  files:
  etc/bash_completion.d/kiwi-ng.sh
  /usr/share/doc/packages/python-kiwi/README
  which were provided by the kiwi-man-pages sub-package but
  were moved to be provided by the main python3-kiwi package
  now. On update of the package with an older version of
  kiwi that maintains this files to belong to kiwi-man-pages
  a file conflict at install time appears. To solve this
  python3-kiwi now conflicts with kiwi-man-pages < %{version}
  This Fixes #1413 and Fixes bsc#1168973 and bsc#1156677

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=170
2020-05-22 08:14:34 +00:00