566 Commits

Author SHA256 Message Date
2ed52c0f5a osc copypac from project:openSUSE:Factory package:python-kiwi revision:89, using expand
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=91
2022-01-15 09:38:43 +00:00
4f8ae05a52 osc copypac from project:openSUSE:Factory package:python-kiwi revision:89, using expand
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=91
2022-01-15 09:38:43 +00:00
b0b93ede1b osc copypac from project:openSUSE:Factory package:python-kiwi revision:88, using expand
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=90
2022-01-15 08:37:09 +00:00
99f2607d20 osc copypac from project:openSUSE:Factory package:python-kiwi revision:88, using expand
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=90
2022-01-15 08:37:09 +00:00
f37ad3375f 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
2022-01-14 22:12:27 +00:00
fc44449f45 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
2022-01-14 22:12:27 +00:00
e335f5546b osc copypac from project:Virtualization:Appliances:Staging package:python-kiwi revision:404
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=211
2022-01-13 09:28:42 +00:00
626ae4436f Accepting request 940169 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/940169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=88
2021-12-16 20:19:19 +00:00
1d1e92029e Accepting request 940169 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/940169
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=88
2021-12-16 20:19:19 +00:00
bec96a3df6 - Bump version: 9.24.13 → 9.24.14
- Disable intersphinx
  intersphinx is a doc extension which links to the documentation of
  objects in other projects whenever Sphinx encounters a cross-reference
  that has no matching target in the current documentation set, it
  looks for targets in the documentation sets configured in the
  intersphinx_mapping. However, the kiwi docs do not use this feature
  thus it can be disabled.

- Compress container images in builder class
  This commit changes the stage at which container images are compressed
  to match the criteria applied to other image types. Instead of
  compressing the image in OCI devoted classes now it is happening
  in builder class by setting Result instance properties.
  Fixes #1996
  Signed-off-by: David Cassany <dcassany@suse.com>

- Revert "Fixed MicroOS build test"
  This reverts commit 52c38f9ec22aef484efaf0a570dc78eea529deec.
  The TW people moved to an older version of libsnapper, no
  idea what these guys are doing

- kiwi-repart: Fix spelling error in source code comment

- Fix multiple minor spelling errors in documentation

- Added support for setting up release version
  Currently the release version is not set or set to '0'
  for package managers which requires a value to operate.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=210
2021-12-08 16:18:38 +00:00
833364a7a9 Accepting request 934738 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/934738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=87
2021-12-01 19:46:25 +00:00
92b4d99694 Accepting request 934738 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/934738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=87
2021-12-01 19:46:25 +00:00
Marcus Schaefer
9b7821631a - Bump version: 9.24.9 → 9.24.10
- Added documentation about sharing backends
  The kiwi boxbuild plugin supports several sharing
  backends. Details about them and eventual pre-setup
  steps prior use are mentioned in this document

- Fixed MicroOS build test
  snapper default config has moved from /etc to /usr/share

- Bump version: 9.24.8 → 9.24.9

- Bump version: 9.24.7 → 9.24.8

- Added support for reading metalink in info module
  For resolver operations through libsolv the 'kiwi image info'
  module exists. So far it could not read the repos from
  metalink repo definitions. This Fixes #1890

- Force key attribute from signing element to be treated as a URI
  Signed-off-by: David Cassany <dcassany@suse.com>

- Pass signing keys from the XML to the repositories
  This commits makes sure signing keys are passed to
  repositories setup in build task.
  Signed-off-by: David Cassany <dcassany@suse.com>

- Move static sle15 integration test to git

- Bump version: 9.24.6 → 9.24.7

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=209
2021-11-23 14:13:15 +00:00
ecffefc471 Accepting request 932597 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/932597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=86
2021-11-22 22:03:56 +00:00
6380a54a30 Accepting request 932597 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/932597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=86
2021-11-22 22:03:56 +00:00
Marcus Schaefer
c6a194fc6e - Bump version: 9.24.5 → 9.24.6
- Followup fix for debootstrap called only once
  A recent change skipped calling debootstrap if the allow-existing-root
  flag was passed in combination with apt as the package manager.
  However this is not enough. If you say allow-existing-root but
  the existing root is empty or not valid to continue with chroot
  and apt the debootstrap phase should not be skipped. This commit
  checks if apt works in the chroot such that we can assume
  debootstrap has done its job and can be skipped

- Bump version: 9.24.4 → 9.24.5

- Fixed include processing
  This commit fixes several issue connected with the use of
  the <include> directive:
  First and foremost the XSLT chain was broken in a way that
  the include XSLT in combination with the PrettyPrinter XSLT
  were called not in the chain of stylesheets but together.
  This results in XML descriptions which duplicated the content
  and went invalid
  Another change is, when the include XSLT is called in the chain.
  This commit moves it to become the very first processing
  instruction such that the included data is part of all subsequent
  XSLT stylesheets. This also allows to use older schema versions
  in included XML data and they get automatically converted through
  the chain of XSLT stylesheets.
  Last change is the evaluation of the from= attribute value. This
  value is now interpreted as an URI. Currently only local URIs are
  supported. The reason to do this is because XSLT when processing

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=208
2021-11-12 22:13:20 +00:00
32c1bcb9ae Accepting request 926893 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/926893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=85
2021-10-23 21:13:44 +00:00
ebf26f8e54 Accepting request 926893 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/926893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=85
2021-10-23 21:13:44 +00:00
1a748575d1 Accepting request 925203 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/925203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=84
2021-10-16 20:46:52 +00:00
1eabd6059f Accepting request 925203 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/925203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=84
2021-10-16 20:46:52 +00:00
Marcus Schaefer
e5ed09b033 - Bump version: 9.24.0 → 9.24.1
- Make sure embedded test exposes the kernel

- Fixed use of LUKS encrypted images with empty pass
  For initial provisioning of LUKS encrypted disk images an
  empty passphrase key is handy to avoid interaction in the
  deployment process. However, the dracut kiwi modules were
  lacking the information that the luks keyfile could be an
  empty passphrase key which must not be opened with the
  potential risk to get prompted for input. This commit
  introduces a new profile environment variable evaluated
  by the dracut kiwi lib code to open the LUKS pool and
  allows to distinguish the situation on key files with
  or without a passphrase

- Fixed type annotations for LuksDevice class

- Fixed repo setup for test-image-embedded
  Use obsrepositories

- Added a build test for no-initrd / no-bootloader
  It's allowed to configure an image building without an
  initrd and/or bootloader setup. These are settings mostly
  used in the embedded world and this build test makes sure
  images of that kind can be build

- Add support for portable result data (#1949)
  In addition to the serialized Result instance kiwi.result
  file this commit also creates a portable version of this

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=207
2021-10-15 08:08:55 +00:00
Marcus Schaefer
89b70f4c78 - Bump version: 9.23.63 → 9.24.0
- Add support for toplevel include directive(s)
  On the toplevel of an image description you can now
  specify include directive(s) like in the following
  example
  <image ...>
  ...
  <include from="filename_a.xml"/>
  ...
  <include from="filename_b.xml"/>
  </image>
  At the place of their occurrence the include statement
  will be replaced with the contents of the given filename.
  The implementation is based on a XSLT stylesheet and
  applies very early in the process. The stylesheet reads
  the contents of the given file as XML document().
  Thus only valid XML documents gets accepted by this
  include concept. This Fixes #1929 and is related to
  Issue #1918

- Bump version: 9.23.62 → 9.23.63

- Fixed error reporting for stateful description
  Errors due to missing or no type definitions were reported
  provding the internal object reference of the XML parse
  result. This is useless information for users and needs
  to be done better. This commit fixes the error message to
  avoid showing object references and includes information
  about the applied profiles used for this XML state.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=206
2021-10-07 13:38:49 +00:00
65068c4c3e Accepting request 919900 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/919900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=83
2021-09-21 19:12:18 +00:00
ee2e6ea74b Accepting request 919900 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/919900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=83
2021-09-21 19:12:18 +00:00
337ba0434c Accepting request 917454 from Virtualization:Appliances:Builder
- Bump version: 9.23.53 → 9.23.54

- Fixed condition for GRUB_DISABLE_LINUX_UUID="true"
  The grub config parameter GRUB_DISABLE_LINUX_UUID must only
  be set if the device persistence setting is not UUID. However,
  in kiwi UUID device names are the default and doesn't have to
  be expressed explicitly. Therefore the condition to check
  for different than 'by-uuid' is wrong for the default case were
  no device persistence setting exists. This results in a wrong
  grub option to be set. This commit fixes it in a way to disable
  UUID device names in grub if the only other device persistency
  setting in kiwi named: 'by-label' is explicitly configured.
  This Fixes #1842

- Added force_trailing_slash argument to sync_data
  A speciality of the rsync tool is that it behaves differently
  if the given source_dir ends with a '/' or not. If it ends
  with a slash the data structure below will be synced to the
  target_dir. If it does not end with a slash the source_dir
  and its contents are synced to the target_dir. For example:
  source
  └── some_data
  1. $ rsync -a source target
  target
  └── source
  └── some_data
  2. $ rsync -a source/ target
  target
  └── some_data
  The parameter force_trailing_slash in the DataSync::sync_data

OBS-URL: https://build.opensuse.org/request/show/917454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=82
2021-09-13 14:24:12 +00:00
3432ab75f1 Accepting request 917454 from Virtualization:Appliances:Builder
- Bump version: 9.23.53 → 9.23.54

- Fixed condition for GRUB_DISABLE_LINUX_UUID="true"
  The grub config parameter GRUB_DISABLE_LINUX_UUID must only
  be set if the device persistence setting is not UUID. However,
  in kiwi UUID device names are the default and doesn't have to
  be expressed explicitly. Therefore the condition to check
  for different than 'by-uuid' is wrong for the default case were
  no device persistence setting exists. This results in a wrong
  grub option to be set. This commit fixes it in a way to disable
  UUID device names in grub if the only other device persistency
  setting in kiwi named: 'by-label' is explicitly configured.
  This Fixes #1842

- Added force_trailing_slash argument to sync_data
  A speciality of the rsync tool is that it behaves differently
  if the given source_dir ends with a '/' or not. If it ends
  with a slash the data structure below will be synced to the
  target_dir. If it does not end with a slash the source_dir
  and its contents are synced to the target_dir. For example:
  source
  └── some_data
  1. $ rsync -a source target
  target
  └── source
  └── some_data
  2. $ rsync -a source/ target
  target
  └── some_data
  The parameter force_trailing_slash in the DataSync::sync_data

OBS-URL: https://build.opensuse.org/request/show/917454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=82
2021-09-13 14:24:12 +00:00
Marcus Schaefer
f1ab7ddff4 - Bump version: 9.23.55 → 9.23.56
- Only wipe bundle dir when required
  The given result bundle dir must only be wiped if the
  request to turn the result files into an rpm was given.
  Only in this case the given bundle dir must start empty

- Fixed uninstall handling via dnf, microdnf, zypper
  The above package managers supports uninstall instructions
  like 'iwl*'. In kiwi there was code checking via rpm if
  the packages given to uninstall actually exists. That code
  does not work if the given package to uninstall is an
  instruction that matches a pattern. Therefore if we use
  the uninstall section in the kiwi image description, just
  pass the provided information to the package manager and
  don't try to be clever in kiwi itself.

- Allow to set --logfile for result namespace
  Setting a logfile for e.g 'kiwi-ng result bundle ...'
  is useful and should be possible

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=205
2021-09-10 21:57:52 +00:00
Marcus Schaefer
7b0b6cd97f - Bump version: 9.23.54 → 9.23.55
- Added support for building rpm package from bundle
  With the new option --package-as-rpm it is possible to
  call the kiwi result bundler such that the image build
  results gets packaged into an rpm. I think this is a
  handy feature to transport image builds via repositories

- Fixed MicroOS integration test
  With ignition/combustion in place it's not allowed
  to use tmp as a subvolume

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=204
2021-09-09 08:02:48 +00:00
Marcus Schaefer
7d2aafd296 - Bump version: 9.23.53 → 9.23.54
- Fixed condition for GRUB_DISABLE_LINUX_UUID="true"
  The grub config parameter GRUB_DISABLE_LINUX_UUID must only
  be set if the device persistence setting is not UUID. However,
  in kiwi UUID device names are the default and doesn't have to
  be expressed explicitly. Therefore the condition to check
  for different than 'by-uuid' is wrong for the default case were
  no device persistence setting exists. This results in a wrong
  grub option to be set. This commit fixes it in a way to disable
  UUID device names in grub if the only other device persistency
  setting in kiwi named: 'by-label' is explicitly configured.
  This Fixes #1842

- Added force_trailing_slash argument to sync_data
  A speciality of the rsync tool is that it behaves differently
  if the given source_dir ends with a '/' or not. If it ends
  with a slash the data structure below will be synced to the
  target_dir. If it does not end with a slash the source_dir
  and its contents are synced to the target_dir. For example:
  source
  └── some_data
  1. $ rsync -a source target
  target
  └── source
  └── some_data
  2. $ rsync -a source/ target
  target
  └── some_data
  The parameter force_trailing_slash in the DataSync::sync_data

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=203
2021-09-08 07:20:28 +00:00
4891658b24 Accepting request 910293 from Virtualization:Appliances:Builder
- Bump version: 9.23.48 → 9.23.49

- Fixed fstab entry for swap on LVM
  If an LVM setup is used together with a swapspace the
  swap is created as a volume in the volume group. The
  required fstab entry to activate swap was not using
  the LVM exposed device but the UUID of the low level
  block layer. This low level device is not created
  by udev because LVM takes over precedence in this
  case.

- Bump version: 9.23.47 → 9.23.48

- Fixed LVM get_volumes
  Due to the change on the temporary directory yet another
  error in the volume manager classes for LVM got exposed.

- Bump version: 9.23.46 → 9.23.47

- Fixed LVM/btrfs volume based image builds
  Due to the change on the temporary directory an error
  in the volume manager classes for LVM and btrfs was
  exposed. There was code which uses a sub-part of the
  volume mount point directory which is a tempdir based
  directory name. The sub-part was choosen by an index
  based path split which worked for /tmp but no longer for
  /var/tmp. With tempdir now being also a commandline
  option this code has to become more robust.

- Bump version: 9.23.45 → 9.23.46

OBS-URL: https://build.opensuse.org/request/show/910293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=81
2021-08-06 20:44:27 +00:00
94c926e9cc Accepting request 910293 from Virtualization:Appliances:Builder
- Bump version: 9.23.48 → 9.23.49

- Fixed fstab entry for swap on LVM
  If an LVM setup is used together with a swapspace the
  swap is created as a volume in the volume group. The
  required fstab entry to activate swap was not using
  the LVM exposed device but the UUID of the low level
  block layer. This low level device is not created
  by udev because LVM takes over precedence in this
  case.

- Bump version: 9.23.47 → 9.23.48

- Fixed LVM get_volumes
  Due to the change on the temporary directory yet another
  error in the volume manager classes for LVM got exposed.

- Bump version: 9.23.46 → 9.23.47

- Fixed LVM/btrfs volume based image builds
  Due to the change on the temporary directory an error
  in the volume manager classes for LVM and btrfs was
  exposed. There was code which uses a sub-part of the
  volume mount point directory which is a tempdir based
  directory name. The sub-part was choosen by an index
  based path split which worked for /tmp but no longer for
  /var/tmp. With tempdir now being also a commandline
  option this code has to become more robust.

- Bump version: 9.23.45 → 9.23.46

OBS-URL: https://build.opensuse.org/request/show/910293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=81
2021-08-06 20:44:27 +00:00
Marcus Schaefer
c78d9c51c1 - Bump version: 9.23.48 → 9.23.49
- Fixed fstab entry for swap on LVM
  If an LVM setup is used together with a swapspace the
  swap is created as a volume in the volume group. The
  required fstab entry to activate swap was not using
  the LVM exposed device but the UUID of the low level
  block layer. This low level device is not created
  by udev because LVM takes over precedence in this
  case.

- Bump version: 9.23.47 → 9.23.48

- Fixed LVM get_volumes
  Due to the change on the temporary directory yet another
  error in the volume manager classes for LVM got exposed.

- Bump version: 9.23.46 → 9.23.47

- Fixed LVM/btrfs volume based image builds
  Due to the change on the temporary directory an error
  in the volume manager classes for LVM and btrfs was
  exposed. There was code which uses a sub-part of the
  volume mount point directory which is a tempdir based
  directory name. The sub-part was choosen by an index
  based path split which worked for /tmp but no longer for
  /var/tmp. With tempdir now being also a commandline
  option this code has to become more robust.

- Bump version: 9.23.45 → 9.23.46

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=202
2021-07-30 09:03:43 +00:00
ef533145c9 Accepting request 905081 from Virtualization:Appliances:Builder
- Bump version: 9.23.42 → 9.23.43

- Re-add suseImportBuildKey
  suseImportBuildKey is not required during the image build as kiwi imports the
  correct keys by itself. However, the created images lack the repository signing
  keys and any `zypper` commands will thus fail.
  This fixes https://github.com/OSInside/kiwi/issues/1876

- Bump version: 9.23.41 → 9.23.42

- Fixed fedora integration test builds
  Maintain the repos in the obs prj config which prevents
  the weird "nothing provides kernel-obs-build" error

- Bump version: 9.23.40 → 9.23.41

- Remove util-linux-systemd & util-linux Requires from dracut-kiwi-overlay
  These dependencies are pulled in via dracut-kiwi-lib.

- Add missing util-linux-systemd Requires to dracut-kiwi-[live,libs]

- Fixed test-image-orthos integration test
  The test was missing btrfs_root_is_snapshot which is required
  when using btrfs on tumbleweed.

- Fixed test-image-disk-legacy integration test
  The test did not set a device filter for ramdisk devices but
  activates unattended mode. In this mode the first device in
  the list is taken and this is a ramdisk device which is
  by default too small to be used for the installation. Thus

OBS-URL: https://build.opensuse.org/request/show/905081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=80
2021-07-11 23:24:47 +00:00
5ab5829519 Accepting request 905081 from Virtualization:Appliances:Builder
- Bump version: 9.23.42 → 9.23.43

- Re-add suseImportBuildKey
  suseImportBuildKey is not required during the image build as kiwi imports the
  correct keys by itself. However, the created images lack the repository signing
  keys and any `zypper` commands will thus fail.
  This fixes https://github.com/OSInside/kiwi/issues/1876

- Bump version: 9.23.41 → 9.23.42

- Fixed fedora integration test builds
  Maintain the repos in the obs prj config which prevents
  the weird "nothing provides kernel-obs-build" error

- Bump version: 9.23.40 → 9.23.41

- Remove util-linux-systemd & util-linux Requires from dracut-kiwi-overlay
  These dependencies are pulled in via dracut-kiwi-lib.

- Add missing util-linux-systemd Requires to dracut-kiwi-[live,libs]

- Fixed test-image-orthos integration test
  The test was missing btrfs_root_is_snapshot which is required
  when using btrfs on tumbleweed.

- Fixed test-image-disk-legacy integration test
  The test did not set a device filter for ramdisk devices but
  activates unattended mode. In this mode the first device in
  the list is taken and this is a ramdisk device which is
  by default too small to be used for the installation. Thus

OBS-URL: https://build.opensuse.org/request/show/905081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=80
2021-07-11 23:24:47 +00:00
Marcus Schaefer
0284fe605e - Bump version: 9.23.42 → 9.23.43
- Re-add suseImportBuildKey
  suseImportBuildKey is not required during the image build as kiwi imports the
  correct keys by itself. However, the created images lack the repository signing
  keys and any `zypper` commands will thus fail.
  This fixes https://github.com/OSInside/kiwi/issues/1876

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=201
2021-07-05 13:01:04 +00:00
Marcus Schaefer
b4aa59a0c7 - Bump version: 9.23.41 → 9.23.42
- Fixed fedora integration test builds
  Maintain the repos in the obs prj config which prevents
  the weird "nothing provides kernel-obs-build" error

- Bump version: 9.23.40 → 9.23.41

- Remove util-linux-systemd & util-linux Requires from dracut-kiwi-overlay
  These dependencies are pulled in via dracut-kiwi-lib.

- Add missing util-linux-systemd Requires to dracut-kiwi-[live,libs]

- Fixed test-image-orthos integration test
  The test was missing btrfs_root_is_snapshot which is required
  when using btrfs on tumbleweed.

- Fixed test-image-disk-legacy integration test
  The test did not set a device filter for ramdisk devices but
  activates unattended mode. In this mode the first device in
  the list is taken and this is a ramdisk device which is
  by default too small to be used for the installation. Thus
  the install usually fails. This commit sets the device filter
  for ramdisk devices such that only associated disk devices
  can be used for the install process, which is the purpose
  of this test. This is related to Issue OSInside/kiwi-functional-tests#8

- Bump version: 9.23.39 → 9.23.40

- Mount dev and proc filesystems prior dracut

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=200
2021-07-02 12:28:44 +00:00
bbfd9f59fa Accepting request 895411 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/895411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=79
2021-06-02 20:10:22 +00:00
91d79f0868 Accepting request 895411 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/895411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=79
2021-06-02 20:10:22 +00:00
Marcus Schaefer
51a2ae5f4d - Bump version: 9.23.30 → 9.23.31
- Stop plymouth also for progress dialogs

- Prevent explicit man page compression
  The manual pages are compressed by the packager tooling.
  There is no need to do this ourselves

- Bump version: 9.23.29 → 9.23.30

- Increase integration tests boot timeout
  Increase integration tests timeout from 2sec to 10sec

- Update integration tests to be non interactive
  Some integration tests allows for interactive dialogs on the
  bootloader menu or in the installation process. As we plan to
  use these tests for automated functional testing there should
  be no interaction whenever possible. This Fixes #1811

- Update kiwi installation documentation
  The installation chapter contained information about the manual
  install of package keys. That information is suspect to be always
  outdated because these keys changes. Instead of describing the
  manual install of the package key the docs moved to use the
  auto-import feature of the package manager. As the instructions
  were also rpm specific but we also support install via other
  package mangers the complete chapter was a bit reworked and
  should be more straight forward now. This Fixes #1799

- Update documentation qemu calls

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=199
2021-05-20 08:40:58 +00:00
ea269f2635 Accepting request 892684 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/892684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=78
2021-05-15 21:15:56 +00:00
e59f7ba466 Accepting request 892684 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/892684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=78
2021-05-15 21:15:56 +00:00
Marcus Schaefer
1a919fa8d2 - Bump version: 9.23.27 → 9.23.28
- Upgrade tests accoring to #1805
  This commit is a follow up of #1805 which missed to update the related
  unit test.

- Make installation media unattended
  This commit configures install media of several tests to run unattended
  installation. This is done to facilitate the logic of functional tests.

- Fixed unit tests for parallel invocation
  With the change to allow the platform architecture to be
  set application global, the unit tests might fail if tests
  run in parallel and using different mock architectures
  for the test. Thus test that runs depending on a platform
  name needs to set the name in the test

- Update Debian integration test for UEFI testing
  Updated the Virtual disk profile to make use of the EFI
  secure boot feature.

- Fix WSL appx filemap relative paths not preserved
  During WSL appx image type creation step the file hierarchy under metadata_path
  is written to a temporary file for eventual use as argument to utility appx.
  The file hierarchy information is dropped resulting in all filemap entries
  appearing to be at the metadata_path root. The resulting image will side load
  and run but without icon and other resources. Stricter checks at Windows Store
  submission will fail due to mismatch between image manifest and contents.
  Fix by preserving relative path of filemap entries relative to metadata_path.
  Add log output showing both input absolute path and output relative path.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=198
2021-05-06 12:11:32 +00:00
831d8f4e09 Accepting request 887366 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/887366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=77
2021-04-24 21:06:34 +00:00
7920916ce9 Accepting request 887366 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/887366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=77
2021-04-24 21:06:34 +00:00
Marcus Schaefer
4e85d332bb - Bump version: 9.23.24 → 9.23.25
- Update zypp.conf architecture setting
  Make sure the architecture is set as parameter in the
  zypp.conf file used for building the image. This is needed
  to allow differentiation between host arch and image arch
  for cross image build environments

- Added option to set the image target architecture
  The option --target-arch allows to set the architecture
  used to build the image. By default this is the host
  architecture. Please note, if the specified architecture
  name does not match the host architecture and is therefore
  requesting a cross architecture image build, it's important
  to understand that for this process to work a preparatory
  step to support the image architecture and binary format
  on the building host is required and is not considered a
  responsibility of kiwi. There will be a followup effort
  on providing a plugin for kiwi which should be used to
  manage the needed binfmt settings for cross arch image
  builds

- Added openssl to the core requires
  openssl is used in kiwi to construct a password hash
  if the plaintext password feature for user settings
  is used. This Fixes bsc#1184128

- Bump version: 9.23.23 → 9.23.24

- Decommission obsolete code reaching EOL

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=197
2021-04-15 13:10:57 +00:00
Richard Brown
8d3e6ba00f Accepting request 880676 from Virtualization:Appliances:Builder
- Bump version: 9.23.21 → 9.23.22

- Refactor building of root cmdline setting
  Creating the root= cmdline parameter was based on methods
  that deals with the uuid. However, it's also possible to
  use a label information for the root= cmdline. To support
  this kiwi issued a 'blkid --uuid' command but that requires
  udev device names to be present on the host. The open
  buildservice workers do not run udev and fails apart the
  standard. This commit refactors the root cmdline setup
  to work with the device node as it exists during build
  time such that the blkid call runs against that device
  node.

- Bump version: 9.23.20 → 9.23.21

- Delete yum from packagemanager in schema
  Auto convert yum to dnf if set as packagemanager. This allows
  to delete the yum handling from code parts in kiwi where this
  was still present. In addition this fixes the inclusion of yum
  into the packagelist. This Fixes #1768

- Add Strong Typing to builder APIs

- This PR add APIs Strong Typing to the repository APIs
  Strong Typing has been added to the following files:
  repository/base.py
  repository/pacman.py
  repository/apt.py
  repository/dnf.py

OBS-URL: https://build.opensuse.org/request/show/880676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=76
2021-03-29 16:21:16 +00:00
Richard Brown
d6f324a6db Accepting request 880676 from Virtualization:Appliances:Builder
- Bump version: 9.23.21 → 9.23.22

- Refactor building of root cmdline setting
  Creating the root= cmdline parameter was based on methods
  that deals with the uuid. However, it's also possible to
  use a label information for the root= cmdline. To support
  this kiwi issued a 'blkid --uuid' command but that requires
  udev device names to be present on the host. The open
  buildservice workers do not run udev and fails apart the
  standard. This commit refactors the root cmdline setup
  to work with the device node as it exists during build
  time such that the blkid call runs against that device
  node.

- Bump version: 9.23.20 → 9.23.21

- Delete yum from packagemanager in schema
  Auto convert yum to dnf if set as packagemanager. This allows
  to delete the yum handling from code parts in kiwi where this
  was still present. In addition this fixes the inclusion of yum
  into the packagelist. This Fixes #1768

- Add Strong Typing to builder APIs

- This PR add APIs Strong Typing to the repository APIs
  Strong Typing has been added to the following files:
  repository/base.py
  repository/pacman.py
  repository/apt.py
  repository/dnf.py

OBS-URL: https://build.opensuse.org/request/show/880676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=76
2021-03-29 16:21:16 +00:00
Marcus Schaefer
1cf3b790e2 - Bump version: 9.23.21 → 9.23.22
- Refactor building of root cmdline setting
  Creating the root= cmdline parameter was based on methods
  that deals with the uuid. However, it's also possible to
  use a label information for the root= cmdline. To support
  this kiwi issued a 'blkid --uuid' command but that requires
  udev device names to be present on the host. The open
  buildservice workers do not run udev and fails apart the
  standard. This commit refactors the root cmdline setup
  to work with the device node as it exists during build
  time such that the blkid call runs against that device
  node.

- Bump version: 9.23.20 → 9.23.21

- Delete yum from packagemanager in schema
  Auto convert yum to dnf if set as packagemanager. This allows
  to delete the yum handling from code parts in kiwi where this
  was still present. In addition this fixes the inclusion of yum
  into the packagelist. This Fixes #1768

- Add Strong Typing to builder APIs

- This PR add APIs Strong Typing to the repository APIs
  Strong Typing has been added to the following files:
  repository/base.py
  repository/pacman.py
  repository/apt.py
  repository/dnf.py

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=196
2021-03-23 08:22:52 +00:00
Richard Brown
97a717d05a Accepting request 879187 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/879187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=75
2021-03-16 14:43:10 +00:00
Richard Brown
c6b7a21af7 Accepting request 879187 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/879187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=75
2021-03-16 14:43:10 +00:00