Revisions of python-kiwi

Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 462)
- Bump version: 9.24.56 → 9.24.57

- Allow squashfscompression for plain squashfs
  The schematron rule to limit the squashfscompression attribute
  to certain image types did not allow it for a plain squashfs
  filesystem build. This commit fixes that limitation.
  This Fixes #2241

- Use rsync defaults to sync the initrd root-tree
  This commits makes use of rsync default options to sync
  the root-tree of the boot image for custom initrds.
  Fixes bsc#1207128 where it was noted hardlinks
  were not preserved inside the initrd.
  Signed-off-by: David Cassany <dcassany@suse.com>

- Fixed wrong test assertions
  Former versions of pytest did ignore invalid assertions.
  Now they are reported as an error and show the mistakes
  of the past

- Added 90-brd.conf for test-image-disk-ramdisk
  By default the brd ramdisk module is no longer added to the
  initrd. For ramdisk deployments this is required though.
  This Fixes #2230

- Delete CentOS v7 build tests
  CentOS v7 is EOL for kiwi image build tests

- Allow to specify fixed size for the root partition
  So far the last partition (typically root) in the partition table
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 461)
- Bump version: 9.24.54 → 9.24.55

- Allow to pass credentials as file reference

- Fixed handling of container archive compression
  In kiwi we support handling of the container archive compression
  via a runtime configuration setting of the following form, eg
  in /etc/kiwi.yml
  ```yaml
  container:
  # Specify compression for container images
  # Possible values are true, false, xz or none.
  - compress: true
  ```
  However, this setting was only taken into account in the kiwi
  bundler. Meaning if the user calls 'kiwi result bundle ...'
  after the container image has been created the result bundler
  will take the compression setting into account. From my perspective
  this behavior is misleading and also prevents users from
  creating compressed container archives without a subsequent
  result bundler call. Therefore this commit moves the place to
  handle the compression setting into the container classes.
  The bundler code for containers will no longer operate on it
  and just takes what it gets, which can be either compressed
  or not. The default setting was "No compression" and this
  was not changed. This Fixes #2217

- Add type hints for OCI and APPX classes

- Bump version: 9.24.53 → 9.24.54
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 460)
- Bump version: 9.24.51 → 9.24.52

- Fix status indicator in helper/build_status.sh
  colored output only worked for toplevel results
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 459)
- Eliminate redundant partx calls for cleaning up loop devices
  partx can clean up all partition loops associated with a loop device
  when deleting the main loop device. Apparently, sometimes it goes and
  does this even when only deleting the partition loop, so to avoid
  this problem, we will just eliminate the redundant call.
  Fixes: 8f2b8fda82a37d7a7ebbf8a6557870cc63b0ae91

- Update test-image-vagrant
  virtualbox-guest-x11 seems to be deleted from TW

- Fixed test-image-custom-partitions
  The test was done prior kiwi added the partitions element and
  demonstrates how to influence the partition table via scripts.
  These scripts uses kpartx and the device mapper. Due to the
  recent change from kpartx to partx the scripts must be
  adapted
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 458)
- Bump version: 9.24.50 → 9.24.51

- Added code style batch to landing page

- Delete obsolete gitlab pipeline status flag
  Delete obsolete gitlab pipeline status from the project
  landing page. We do no longer use gitlab since they added
  that quota thing for their CI system
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 457)
- Bump version: 9.24.49 → 9.24.50

- Swap from DM kpartx to util-linux partx for creating loop devices
  The device-mapper (DM) based loop devices that kiwi has historically
  generated creates issues when trying to run kiwi in confined build
  environments. The DM tools prefer to have a tighter coupling between
  userspace and kernel interfaces, and we cannot necessarily guarantee
  that in the variety of build environments that kiwi can be run in.
  In particular, Koji uses either nspawn containers or chroots through
  Mock to run kiwi and that is where this fails.
  However, we do not need to use DM for this purpose when util-linux
  provides a perfectly serviceable alternative. This commit changes
  kiwi's loop device setup to use partx(8) from util-linux instead.
  As long as the appliance image being created doesn't use a disk
  scheme that requires DM, it becomes entirely possible to produce
  an image without needing DM at runtime at all.

- Added systemd_boot integration test for Rawhide

- Increase btrfs size of orthos integration test
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 456)
- Increase scope of kernel lookup
  So far kiwi was looking up kernels only on /boot. Including
  other bootloaders it's no longer required that the kernel
  packages of the distributions provides the kernel in /boot
  Thus kiwi's lookup needs to be extended to other places
  which is done by this commit.

- Add GRUB_DEFAULT=saved if not set
  If there is no GRUB_DEFAULT setting in etc/default/grub
  we add GRUB_DEFAULT=saved as the default setting.
  This Fixes #2198
  The test build is based on the Tumbleweed distribution
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 455)
- Disable gitlab CI pipeline
  Unfortunately gitlab decided to allow only eligible
  projects to use their CI pipeline. Being a member for
  years seems not to count in this change process.
  Therefore this commit disables the tests we run on
  gitlab and I will come up with a simple github action
  for the parts that we don't want to loose.

- Added integration test for systemd_boot
  The test build is based on the Fedora distribution
  and provides a simple non-secure-boot systemd-boot
  virtual disk image

- no_implicit_optional = False

- Added --loglevel option
  specify logging level as number. Details about the
  available log levels can be found at:
  https://docs.python.org/3/library/logging.html#logging-levels
  Setting a log level causes all message >= level to be
  displayed.

- Consolidate and cleanup logging
  Make sure all loggers; stream handlers, file and socket
  handler uses the same logging format. Also make sure that
  there is only one place for setLogLevel when kiwi is
  used as application

- Added support for --logsocket
  Like with --logfile this commit adds support for using
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 454)
- Bump version: 9.24.48 → 9.24.49

- Fixed test-image-vagrant
  virtualbox-guest-tools obsoletes virtualbox-guest-x11

- ignore the type check on the Result class
  With an update of mypy the bound TypeVar is no longer allowed.
  In newer versions of python we could use the "Self" type or
  import annotations from the future module. Unfortunately in
  older python versions which we still support (3.6) there is
  no non intrusive change which allows us to handle that type
  annotation. Thus this commit ignores the return type spec
  for Result.load() for the moment.

- Stop copying /dev files statically into the OCI container
  In containers (nspawn) where part of the /dev filesystem is bind-mounted
  from outside system, kiwi fails to do the rsync (in creation of the
  nodes).
  There is no reason to actually copy whole tree inside so let's just
  not do it (as it does not seem to be needed at all).

- List riscv64 as a valid architecture in the schemas
  This is needed so that architecture filters on riscv64 specifics can
  be defined.

- Support DM integrity legacy options
  Add a new attribute integrity_legacy_hmac="true|false" which
  allows to use old flawed HMAC calculation (does not protect superblock).
  Add a new attribute integrity_legacy_padding="true|false" which
  allows to use inefficient legacy padding. Do not use these attributes
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 453)
- Bump version: 9.24.47 → 9.24.48

- Fixed kexec options setup in kiwi-dump-reboot
  The dracut module 99kiwi-dump-reboot creates an options
  list for kexec. Under certain conditions the options
  list can contain multiple spaces which leads to an error
  when calling kexec. This commit makes sure to trim
  white spaces. This Fixes #2178
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 452)
- Bump version: 9.24.46 → 9.24.47

- Revert "EFI Filesystem must be Fat32 formatted"
  Using fat32 causes failed boots on e.g AWS EC2 arm.
  This must be solved differently with an attribute
  to configure it.
  This reverts commit b8641bdc6825423f8c65b55c8d0870b38874a566.
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 451)
- Bump version: 9.24.45 → 9.24.46

- Support URIs with credentials in solver plugin
  check if the URI string contains credentials and
  extract/trim them from the uri object. The urlparse
  class does not recognize this information as a valid
  URI and throws an exception
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 450)
- Fixed test-image-disk-legacy
  Increase size of embedded EFI fat image needed for EFI
  bootable install ISO. Due to the increased size of the
  custom kiwi initrd the default size for the FAT image
  is too small

- Support custom size for embedded EFI FAT image
  For ISO images (live and install) the EFI boot requires an embedded
  FAT image. As of now a fixed size of 20M was used which leads to a
  problem if the EFI image or the initrd or the kernel is bigger than
  20M. With the new attribute:
  efifatimagesize="nonNegativeInteger"
  we can now set a different value for the FAT image. Please note the
  value must be aligned to the also customizable efipartsize value
  which allows to configure the size of the EFI partition

- Fixed linter complaints after flake update
  flake now complains about E275 missing whitespace
  after keyword for the way 'del' is used. This commit
  fixes it

- Added a NOTE: section to explain the finer points of adding tools to a
  dracut hook.

- Fixup btrfs based legacy kiwi initrd test

- Fix race condition in runtime_config_test
  This commit instead of setting the global variable of the runtime config
  file patches it. This is relevant if running unit tests in parallel,
  where global variables are shared if not patched.
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 449)
- Bump version: 9.24.44 → 9.24.45

- Umount device before cloning
  In case a clone should be created from a partition we need
  to make sure to umount the device after sync and prior cloning.
  Otherwise the clone operation is not safe because the rsynced
  data might still be in memory and not synced out to the block
  device.

- Fixed custom disk start sector setup
  The attribute disk_start_sector allows to specify a custom
  start sector for the first partition of the disk. On GPT
  tables everything works nicely, on DOS tables the used tools
  fdisk/sfdisk are not able to manage the start/end values of
  subsequent partitions if the first partition doesn't start
  with the tooling default. This patch allows to set the
  start sector after the partition table has been created

- Fixed CentOS-8 repo setup
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 448)
- Bump version: 9.24.43 → 9.24.44

- Make sure to rebuild rpm database
  For rpm based distributions make sure to call
  rpm --rebuilddb unconditionally prior using rpm
  with the chroot. This Fixes #2165

- github: Refresh issue template to cover more operating scenarios
  KIWI is often used for cross-distribution image builds, so we
  should ask for that information when appropriate.
  Additionally, clarify "OBS" as "Open Build Service" to disambiguate.
  Finally, add a line about Koji since Koji can run kiwi to build
  images now.

- Fixed unit tests

- Forcefully disable versionlock plugin in DNF
  [ INFO    ]: 09:39:08 | Uninstalling system packages (chroot)
  [ INFO    ]: 09:39:08 | Using package manager backend: dnf
  [ INFO    ]: 09:39:08 | --> package: linux-firmware
  [ INFO    ]: 09:39:08 | Uninstall system packages (chroot)
  [ DEBUG   ]: 09:39:08 | EXEC: [chroot /tmp/myimage8/build/image-root dnf --config /kiwi_v708wllp -y --releasever=8 autoremove linux-firmware]
  [ INFO    ]: Processing: [########################################] 100%
  [ ERROR   ]: 09:39:08 | KiwiPackagesDeletePhaseFailed: System package deletion failed: Package deletion failed: Error: Locklist not set
  The versionlock plugin does not bring any benefit anyways as we
  completely override plugin configs.
  Also refactor configparser related stuff a bit.
  Signed-off-by: Igor Raits <igor.raits@gmail.com>

- Support squashfs in custom partitions
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 447)
- Bump version: 9.24.42 → 9.24.43

- Fixed error handling for setfiles policy lookup
  Errors from os.scandir were not catched. In addition the path
  to run scandir was not properly created

- Prefer file based syscall in kexec when possible
  Use file based syscall in kexec if available. This is needed to
  support boot on an secure boot enabled system and is in general
  more reliable to boot into the system on real hardware platforms
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 446)
- Bump version: 9.24.41 → 9.24.42

- Correct setfiles relabeling
  This change was inspired by a change done on Fedora's livecd-tools
  from here: livecd-tools/livecd-tools#236. The patch corrects issues
  with the setfiles SELinux relabel command. The issues become apparent
  when the host and guest policies differ. Thus it becomes required
  to explicitly set the policy to decouple from eventual unwanted
  host settings.
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 445)
- Bump version: 9.24.40 → 9.24.41

- Fix helper method to detect dracut outfile format
  The method _get_boot_image_output_file_format_from_dracut_code
  is used in kiwi to match parts of the dracut code for the used
  output file format. Beginning with dracut-056 the code part
  checked has changed syntactically such that the match did
  no longer work. This commit increases the scope of the match
  and replace pattern and Fixes #2149

- Fixed handling of signing_keys in cmdline options
  When passing signing_keys with the --add-repo|--set-repo
  commandline options the delimiter to separate the single
  key information is a colon(:). However, this is stupid when
  kiwi expects the signing key to be references as an URI
  format like file://... Therefore this patch changes the
  delimiter from colon(:) to semicolon(;)
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 444)
- Bump version: 9.24.39 → 9.24.40

- Setup SELinux on every system prepare / build (#2148)
  Setup SELinux on every system prepare / build such that all image types benefit from it not only the disk (oem) type

- Install all of QEMU to Ubuntu arm integration test

- rename user to ubuntu for Ubuntu integration test
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 443)
- Bump version: 9.24.38 → 9.24.39

- Move to sphinx>=5.0.0
Displaying revisions 141 - 160 of 602
openSUSE Build Service is sponsored by