Commit Graph

209 Commits

Author SHA256 Message Date
Dominique Leuenberger
eaacc8d6fc Accepting request 653664 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/653664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=34
2018-12-10 11:25:26 +00:00
Dominique Leuenberger
25e76d8c66 Accepting request 643192 from Virtualization:Appliances:Builder
- Bump version: 9.16.26 → 9.16.27
  

  
- Use %{ix86} rather than %ix86 in spec template
  
  Clear macro annotation prevents clarity issues
  

  
- Fixed spec file for gfxboot requires
  
  Require gfxboot but only for the x86 architecture
  

  
- Bump version: 9.16.25 → 9.16.26
  

  
- Move the default rpm database path into Defaults class
  

  
- Handle default uri mime type in Defaults class
  

  
- Add a hardcoded rpm database path to import trusted keys

OBS-URL: https://build.opensuse.org/request/show/643192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=33
2018-10-23 18:36:04 +00:00
Dominique Leuenberger
9f4202516f Accepting request 638661 from Virtualization:Appliances:Builder
- Bump version: 9.16.17 → 9.16.18
  

  
- Create parent qgroup when snapper is present
  
  This commit creates a new parent quota group (1/0) of level 1 when
  btrfs_quota_groups is enabled and snapper present into the image
  root tree.
  
  Related to bsc#1093518 and #812
  

  
- Bump version: 9.16.16 → 9.16.17
  

  
- Fixup make build target
  
  Don't include auto generated schema docs into the source
  tarball. Also cleanup MANIFEST.in from files no longer
  present in the repository
  

  
- Bump version: 9.16.15 → 9.16.16

OBS-URL: https://build.opensuse.org/request/show/638661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=32
2018-10-02 17:39:31 +00:00
Dominique Leuenberger
173e404f6b Accepting request 631954 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/631954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=31
2018-09-03 08:33:10 +00:00
Dominique Leuenberger
db37b4d44a Accepting request 626923 from Virtualization:Appliances:Builder
- Bump version: 9.16.5 → 9.16.6
  

  
- Fix result bundle command
  
  This commits fixes a regression introduced in 98c9c77a
  

  
- Bump version: 9.16.4 → 9.16.5
  

  
- Fixup validation of boottimeout attribute
  
  If boottimeout is set to zero it is evaluated as "not set"
  and the default applies. However it's a fairly well approach
  to set a zero second boot timeout. This Fixes #789
  

  
- Do not replace version from the image name
  
  This commit makes sure that replacing version to version plus the
  build id on resulting files happens only on version suffixes. Before
  that if image name was including the version string it, this part was
  also replaced.
  
  Fixes #787 (bsc#1102868)

OBS-URL: https://build.opensuse.org/request/show/626923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=30
2018-08-07 07:40:28 +00:00
Dominique Leuenberger
28c5da40e4 Accepting request 620926 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=29
2018-07-13 08:11:59 +00:00
Dominique Leuenberger
4fb404dcda Accepting request 609805 from Virtualization:Appliances:Builder
- Bump version: 9.15.1 → 9.15.2
  

  
- Fix zypper add lock operations
  
  This commit fixes the arguments passed to zypper in add lock
  operations.
  

  
- Add correct GPL-3.0-or-later license
  
  Add the correct license reference in the spec License field
  
  Fixes #732
  

  
- Make container compression a configuration option
  
  Change the ContainerBuilder class to evaluate on the
  configuration options to decide if the container archive
  should be compressed or not. By default the archive will
  be compressed, thus there is no change to the former behavior
  but can be setup in ~/.config/kiwi/config.yml as follows:
  
  container:
- compress: none|xz

OBS-URL: https://build.opensuse.org/request/show/609805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=28
2018-05-23 14:05:55 +00:00
Dominique Leuenberger
0ea3c30677 Accepting request 605755 from Virtualization:Appliances:Builder
- Bump version: 9.15.0 → 9.15.1
  

  
- Add a chapter for uninstall package requests in docs (#726)
  
  Add a chapter for uninstall package requests in docs
  

  
- Update arm integration test
  
  Existing panda build was outdated and non functional.
  Move the test to a more popular target and write the
  image description to use technology matching the
  suse arm development effort. Target is now Rpi(64bit)
  

  
- Use latest version of sphinx
  
  Formerly sphinx==1.6.7 was used because travis-sphinx failed
  with latest sphinx. Now travis-sphinx fails with 1.6.7 and
  I hope using latest sphinx will fix that
  

  
- Bump version: 9.14.7 → 9.15.0

OBS-URL: https://build.opensuse.org/request/show/605755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=27
2018-05-13 13:54:44 +00:00
Dominique Leuenberger
5755b7e459 Accepting request 604053 from Virtualization:Appliances:Builder
- Bump version: 9.14.6 → 9.14.7
  

  
- Fixed check for volume group in use
  
  The former implementation evaluates the output of the vgs
  command and set the volume group as in use if one of the
  listed volume groups on the host contains the group name
  set by the image description. This would also match if the
  group name set in the image description is e.g 'System' and
  the a volume group on the host with name 'SystemVG' exists.
  However a conflict only exists on exact match of the name.
  The proposed fix is to use the --select feature from vgs
  and let it show information on exact match of the vg_name
  field. The code in kiwi then just evaluates if the selection
  by vgs has a value or not. This Fixes #721
  

  
- Fix setup of kiwi_lvm profile variable
  
  kiwi_lvm was always set to true if a volume management system
  is in use. However it should only be set to true if the
  selected volume management system is lvm. The same applies
  to the kiwi_lvmgroup variable which also only makes sense
  if the lvm volume management system is used.
  This Fixes bsc#1090427

OBS-URL: https://build.opensuse.org/request/show/604053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=26
2018-05-08 11:32:20 +00:00
Dominique Leuenberger
b8f315dff9 Accepting request 595114 from Virtualization:Appliances:Builder
- Bump version: 9.14.1 → 9.14.2
  

  
- Fix default initrd_system values
  
  This commit fixes the default initrd_system value for some image
  types. Since this value is included in profile and potentially
  taken into account for some of the config script functions, it is
  important to have consistent values even when the image type
  has no initrd choice or it doesn't have initrd at all.
  
  Related to #689
  

  
- Check partition table after cow part creation
  
  Proceed with the persistent write partition setup only
  if the cow partition could have been created successfully
  

  
- Fixed detection of disk node in live iso images
  
  If the live iso is booted as disk the initrd code needs to
  find the correct disk node pointing to the iso image. This
  was formerly done by checking if the populated disk devices
  contains an iso header with an application id. The information
  was obtained using the isoinfo tool. isoinfo is a tool

OBS-URL: https://build.opensuse.org/request/show/595114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=25
2018-04-17 09:10:46 +00:00
Dominique Leuenberger
8171db1cef Revert, trouble with iso as usb drive
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=24
2018-03-30 19:48:41 +00:00
Dominique Leuenberger
2eee45b167 Accepting request 591104 from Virtualization:Appliances:Builder
- Bump version: 9.13.9 → 9.14.0
  

  
- Rebuild online schema documentation
  

  
- XSL Auto update descriptions due to schema change
  

  
- Delete obsolete hybrid attribute from type
  
  Any iso image we create will be a hybrid image. That was
  already the default for any install iso image and was a
  configuration option for live images. The optional selection
  only existed for systems which do not provide tools to
  make an iso hybrid. All distributions kiwi supports provides
  this capabilities and there is no good reason why a live
  or install iso should not be hybrid and bootable as iso
  and as disk. Also the boot in disk mode became the preferred
  boot method for the majority of our users which requires
  to provide a hybrid iso
  

  
- Add efiparttable type attribute
  
  This commit allows to choose the partition table type for efi firmwares

OBS-URL: https://build.opensuse.org/request/show/591104
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=23
2018-03-29 09:51:31 +00:00
Dominique Leuenberger
4522c05e9e Accepting request 583474 from Virtualization:Appliances:Builder
- Bump version: 9.13.4 → 9.13.5
  

  
- Fixed btrfs search path in earlyboot script
  
  If kiwi generates its own efi image for the boot process
  it does not setup the btrfs relative path setup in the
  earlyboot script embedded into the generated efi image.
  This has a bad impact on the file search because the
  btrfs setup done in kiwi puts root below the @ volume
  which we then need to specify of the relative lookup
  is not activated. Fixes bsc#1082155
  

  
- Bump version: 9.13.3 → 9.13.4
  

  
- Use LABEL for the swap partition
  
  If multipath and device maps are active the fstab entry should use
  the LABEL reference. Systemd calls swapon and it only works properly
  with multipath devices when LABEL reference is used or calling directly
  on the /dev/dm-* device file.
  

  
- Bump version: 9.13.2 → 9.13.3

OBS-URL: https://build.opensuse.org/request/show/583474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=22
2018-03-08 09:56:21 +00:00
Dominique Leuenberger
1d25c26b14 Accepting request 580511 from Virtualization:Appliances:Builder
- Bump version: 9.13.0 → 9.13.1
  

  
- Only delete sub path if not empty
  

  
- Fixed package lists for azure and ec2 build tests
  

  
- Reference commit for bugzilla
  
  With regards to the changes done in Issue #637 this commit
  just creates a reference to a related bug bsc#1082163
  

  
- Cleanup config functions shell coding
  

  
- Delete obsolete/unused methods
  

  
- Add functions.sh to shellcheck

OBS-URL: https://build.opensuse.org/request/show/580511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=21
2018-03-01 11:00:51 +00:00
Dominique Leuenberger
05f292dba0 Accepting request 578322 from Virtualization:Appliances:Builder
- Bump version: 9.12.9 → 9.13.0
  

  
- Fixup grub2 theme setup
  
  The presence of a background file was mandatory for kiwi to
  use the theme. But the background information is optional
  

  
- Deleted obsolete boot descriptions
  
  The custom kiwi boot descriptions has been moved into
  the kiwi-descriptions github repo and builds the compat
  package kiwi-boot-descriptions from there. The build
  of the boot image(initrd) is done by dracut and the
  dracut module packages provided by kiwi. The classic
  custom boot descriptions can still be used as alternative
  method if the above package is installed. Related to
  Issue #576
  

  
- Create compatible boot options
  
  The boot option root=install:CDLABEL= is mandatory for install
  images which uses the dracut initrd system. But for the custom
  kiwi oemboot descriptions this is causing a problem when detecting
  the install device. Thus the above boot option is only applied

OBS-URL: https://build.opensuse.org/request/show/578322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=20
2018-02-21 13:10:23 +00:00
Dominique Leuenberger
6d2a94fa2d Accepting request 576012 from Virtualization:Appliances:Builder
- Bump version: 9.12.8 → 9.12.9
  

  
- Update .virtualenv.dev-requirements.txt
  
  sphinx 1.7.0 is not compatible with travis-sphinx
  thus we stick with 1.6.7 until travis-sphinx followed
  the sphinx changes
  

  
- Add restrictions to Path.remove_hierarchy
  
  When an iso file is used as repo, this iso will be loop mounted on
  the host and bind mounted into the image root as long as the image
  builds. When the mount is released a recursive cleanup of the complete
  path happens. This is done by calling Path.remove_hierarchy. However
  if a sub path of the mount path contains a system root directory
  which is mandatory for the Linux root system it is not allowed
  to be deleted even if it is empty at the time of the mount cleanup.
  Thus this patch adds a lookup for protected directory names and
  only runs the recursive deletion as long as no protected member
  is part of the path. This fixes bsc#1080301
  

  
- Initial support for building Debian/Ubuntu packages in spec
  
  This adds support for producing the main kiwi package as well as the

OBS-URL: https://build.opensuse.org/request/show/576012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=19
2018-02-16 20:39:00 +00:00
Dominique Leuenberger
0f4f01980b Accepting request 573218 from Virtualization:Appliances:Builder
- Bump version: 9.12.7 → 9.12.8
  

  
- Exclude install source device from target list
  

  
- Fixed kiwi-dump timing issue
  
  The install code needs to wait in the pre-udev phase for
  the device containing the installation data to become ready
  before proceeding with the actual installation code.
  

  
- Fixed dialog size of install confirmation dialog
  
  The size was too small to show device names which causes a
  line break to be displayed in the next line
  

  
- Cleanup misleading method name
  

  
- Fixed coverage report setup
  
  Latest version of the coverage module requires a report setup

OBS-URL: https://build.opensuse.org/request/show/573218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=18
2018-02-09 14:43:32 +00:00
Dominique Leuenberger
2e30037a42 Accepting request 570609 from Virtualization:Appliances:Builder
- Bump version: 9.12.5 → 9.12.6
  

  
- Fixed kiwi dracut config for the final system
  
  Once the image has been deployed on the target and the
  system is up and running some of the kiwi dracut modules
  used for deployment are no longer needed and should not be
  taken into account when another dracut call happens on the
  system.
  

  
- Bump version: 9.12.4 → 9.12.5
  

  
- Make sure there are no busy devices on reboot
  
  If the dracut kiwi-repart module skips the repartition step
  because the disk was already repartitioned it leaves devices
  in busy state which leads to a rescue shell at the system
  mount stage
  

  
- uboot-setup-panda.tgz was readded by mistake as boot hooks are no longer needed

OBS-URL: https://build.opensuse.org/request/show/570609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=17
2018-01-30 14:38:52 +00:00
Dominique Leuenberger
d106f08471 Accepting request 563059 from Virtualization:Appliances:Builder
- Bump version: 9.11.29 → 9.11.30
  

  
- Deleted syslinux from ppc/oemboot/suse-SLES15
  
  syslinux is not provided for ppc. This Fixes bsc#1073310
  

  
  [boot] fix double quote in grub menu which makes kernel updates for CentOS / RHEL / Fedora break grub.cfg
  

  
- Omit kiwi-repart dracut module in oemboot initrd
  
  KIWI's oemboot initrd with initrd_system="dracut" together with
  installiso="true" requires to have dracut-kiwi-oem-repart package
  installed in the system, thus it ends up also being included in the
  recreated dracut initrd after booting the oemboot initrd from the
  installation iso. This kiwi-repart module causes a boot failure in that
  case since no .profile file is present, moreover, it has no sense to
  run it at that stage, since the disk is already reparted by the
  oemboot code.
  
  This commit allows installiso="true" and initrd_system="dracut" to
  play well together.

OBS-URL: https://build.opensuse.org/request/show/563059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=16
2018-01-16 08:36:25 +00:00
Dominique Leuenberger
c066c7ae24 Accepting request 546692 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/546692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=15
2017-12-03 09:06:16 +00:00
Dominique Leuenberger
aa8fbbebce Accepting request 544423 from Virtualization:Appliances:Builder
- Bump version: 9.11.21 → 9.11.22
  

  
- Fixed typo in spec file
  
  The use of the suse_version macro from the last change
  introduced a syntax error which caused the package build
  to fail in obs
  

  
- Bump version: 9.11.20 → 9.11.21
  

  
- package: Prepare for Tumbleweed moving to suse_version 1550
  

  
- Bump version: 9.11.19 → 9.11.20
  

  
- Only add package manager on image package requests (#550)
  
  If an image description only contains package requests
  from a bootstrap section but no image packages, it's not
  required to install a package manager package into the
  system

OBS-URL: https://build.opensuse.org/request/show/544423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=14
2017-11-24 09:52:13 +00:00
Dominique Leuenberger
508edba920 Accepting request 541767 from Virtualization:Appliances:Builder
- Bump version: 9.11.16 → 9.11.17
  

  
- Delete atftp from SLE15 boot descriptions
  
  atftp will not be part of SLE15 per fate#323633.
  This Fixes #543
  

  
- Fixed blocksize setup in losetup
  
  The -L option was used to set the blocksize value for losetup
  However there is an option name clash between suse util-linux
  and upstream which now leads to the problem that option -L
  has changed its meaning and actually means --nooverlap which
  completely breaks the call in kiwi. This patch changes the
  call to use the long form --logical-blocksize.
  This Fixes bsc#1066873
  

  
- Code cleaning and enhancing variables names
  

  
- Use usr/lib/rpm if present instead of var/lib/rpm
  
  With this commit OEM recovery tries to backup usr/lib/rpm if present,

OBS-URL: https://build.opensuse.org/request/show/541767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=13
2017-11-16 12:58:10 +00:00
Dominique Leuenberger
aa44c1db3e Accepting request 538128 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/538128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=12
2017-11-04 09:24:26 +00:00
Dominique Leuenberger
c515aede3a Accepting request 536422 from Virtualization:Appliances:Builder
- Bump version: 9.11.13 → 9.11.14
  

  
- Cleanup SLE12 boot image descriptions
  

  
- Bump version: 9.11.12 → 9.11.13
  

  
- Cleanup SLE boot image descriptions
  
  Don't use packages which does not exist on SLE, Fixes #523
  

  
- Improve coding style to make flake8 happy
  
  This commit includes the exact Exception class that the 'except' statement
  catches. According to the new flake8 3.5.0 version it should be explicit
  rather than implicit.
  

  
- Add OCI reference in skopeo copy call and umoci config call
  
  Skopeo, since v1.24, does no longer assume 'latest' as the default
  tag/reference and requires explicit tag or reference in skopeo

OBS-URL: https://build.opensuse.org/request/show/536422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=11
2017-10-26 16:41:52 +00:00
Dominique Leuenberger
22338cc7fd Accepting request 529934 from Virtualization:Appliances:Builder
- Bump version: 9.11.7 → 9.11.8
  

  
- Changed permissions of /srv/tftpboot to be readable (bsc#940608)
  

  
- Bump version: 9.11.6 → 9.11.7
  

  
- Also handle multiple error conditions
  

  
- Allow to ignore certain isohybrid warnings
  
  kiwi treates warning from isohybrid as fatal errors becuase in
  most cases they are fatal. However some of them are kind of
  historical and should be ignored like the one described here:
  http://www.syslinux.org/archives/2015-March/023306.html
  

  
- Bump version: 9.11.5 → 9.11.6
  

  
- Make sure xz options are used with pxe tarball

OBS-URL: https://build.opensuse.org/request/show/529934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=10
2017-10-05 09:53:32 +00:00
Dominique Leuenberger
212caf4ded Accepting request 523261 from Virtualization:Appliances:Builder
- Bump version: 9.11.1 → 9.11.2

  
- Rebuild online schema documentation
  

  
- Bump version: 9.11.0 → 9.11.1
  

  
- Fixed kernelList function
  
  The kernelList function searches for the installed kernels
  and applies the corresponding initrd name. The information the
  method provides is used in case of a custom initrd which should
  be used instead of the result of dracut. When requesting the use
  of the kiwi firsboot initrd also in the system via the
  <oem-kiwi-initrd> element, the information from the list is
  used to correctly link the kiwi initrd named initrd.vmx to the
  expected name of the system as dracut would create it. The
  creation of the list was broken which lead to an empty list
  and the after effect that the system was not able to reboot.
  This Fixes #483
  

  
- Update oemboot/rhel-07.0 due to isolinux changes

OBS-URL: https://build.opensuse.org/request/show/523261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=9
2017-09-13 19:34:04 +00:00
Dominique Leuenberger
3d934f8677 Accepting request 506514 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/506514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=8
2017-06-28 08:37:33 +00:00
Dominique Leuenberger
860dd2071e Accepting request 504203 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/504203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=7
2017-06-17 08:22:37 +00:00
Dominique Leuenberger
1aa0e28de0 Accepting request 500565 from Virtualization:Appliances:Builder
- Bump version: 9.6.2 → 9.7.0

  
- Make sure all required yum repo options are set
  
  enabled and gpgcheck parameters has to be set for any
  configured yum repository
  

  
- Fixup repository setup for yum
  
  Yum cannot handle spaces between the key and the value.
  This patch provides a method to tell ConfigParser to use
  no spaces for the '=' delimiter and thus Fixes #357
  

  
- Reactivate warnings report in pytest
  

  
- Fixup kernel name lookup
  
  If multiple abi compatible kernel module packages are installed
  the kernel version of the boot kernel could be different from
  the kernel module versions. In order to find the boot kernel
  all kernel versions found must be checked. Fixes #355

OBS-URL: https://build.opensuse.org/request/show/500565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=6
2017-06-04 00:00:08 +00:00
Dominique Leuenberger
44a29596dd Accepting request 497894 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/497894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=5
2017-05-31 10:15:57 +00:00
Dominique Leuenberger
0b7005d540 Accepting request 492691 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/492691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=4
2017-05-04 13:05:14 +00:00
Dominique Leuenberger
745a5ef4a2 Accepting request 488974 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/488974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=3
2017-04-20 18:57:20 +00:00
Dominique Leuenberger
1babb15075 Accepting request 479991 from Virtualization:Appliances:Builder
- Bump version: 9.3.3 → 9.4.0
  

  
- Allow https location as repository source
  

  
- Refactor RootImport to keep images with a default name
  
  RootImport has been refactored so the image is kept with a known
  name that can be obtained with the Defaults class.
  

  
- Added SLE13 distribution matcher
  

  
- Update distribution matcher in spec file
  

  
- Refactor ContainerBuilder
  
  Use Checksum instance to run a checksum match
  Check for existence of base image at earliest opportunity
  when constructing a ContainerBuilder

OBS-URL: https://build.opensuse.org/request/show/479991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=2
2017-03-20 16:08:56 +00:00
Dominique Leuenberger
ff6a6fc783 Accepting request 479094 from Virtualization:Appliances:Builder
Single spec version replacing python3-kiwi

OBS-URL: https://build.opensuse.org/request/show/479094
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=1
2017-03-16 08:41:53 +00:00
Dominique Leuenberger
edd9ebc05c Accepting request 743848 from Virtualization:Appliances:Builder
- Bump version: 9.18.28 → 9.18.29

- Update Host/Image support matrix
  Update documentation about the Host vs. Image support and
  compatibility matrix with regards to the SLES target.

- Add default /etc/kiwi.yml file
  Provide a comment only etc/kiwi.yml file that contains all
  parameters we support so far including a short description
  This Fixes #1232

- Bump version: 9.18.27 → 9.18.28

- Delete left over print statement from unit test

- Enable BLS configuration if is supported
  Fedora now uses a BLS configuration by default, but this is not supported
  by all distributions. So check if is supported by the grub2-mkconfig tool
  and only enable the option if that's the case.
  Fixes: #1248

- Bump Fedora x86 build test to Fedora30

- Bump version: 9.18.26 → 9.18.27

- Fix btrfs_root_is_snapshot
  This commit makes sure the chrooted operations of over a loop device
  including btrfs subvolumes and root as an snapshot include the
  `/.snapshots` subvolume mount. This is necessary for certain operations
  that depend on the layout, e.g. grub configuration using `grub2-mkconfig`.

OBS-URL: https://build.opensuse.org/request/show/743848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=50
2019-11-03 10:00:01 +00:00
Marcus Schaefer
406eeaa878 - Bump version: 9.18.28 → 9.18.29
- Update Host/Image support matrix
  Update documentation about the Host vs. Image support and
  compatibility matrix with regards to the SLES target.

- Add default /etc/kiwi.yml file
  Provide a comment only etc/kiwi.yml file that contains all
  parameters we support so far including a short description
  This Fixes #1232

- Enable BLS configuration if is supported
  Fedora now uses a BLS configuration by default, but this is not supported
  by all distributions. So check if is supported by the grub2-mkconfig tool
  and only enable the option if that's the case.
  Fixes: #1248

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=152
2019-10-29 14:15:46 +00:00
Marcus Schaefer
ee7c237933 - Bump version: 9.18.27 → 9.18.28
- Delete left over print statement from unit test

- Bump Fedora x86 build test to Fedora30

- Bump version: 9.18.26 → 9.18.27

- Fix btrfs_root_is_snapshot
  This commit makes sure the chrooted operations of over a loop device
  including btrfs subvolumes and root as an snapshot include the
  `/.snapshots` subvolume mount. This is necessary for certain operations
  that depend on the layout, e.g. grub configuration using `grub2-mkconfig`.

- Skip isolinux ui setup on serial terminal config
  If the attribute bootloader_console="serial" is set, the
  expectation that there is no graphics hardware available is
  valid. Thus the isolinux setup should not contain any ui
  configuration instructions because that leads to run the
  graphics initialization which blocks the system if not
  present. Please note the bootloader_console allows for
  multiple console configuration. In mixed setup the ui
  configuration still applies. This Fixes #1153

- Added helper script to test status of test builds
  build_status fetches information from obs about the status
  of the integration test builds. It also allows an easy refresh
  of the tests regarding content changes on git when called
  with the refresh parameter: build_status refresh

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=151
2019-10-28 09:19:13 +00:00
Dominique Leuenberger
23813f66a5 Accepting request 732926 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/732926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=49
2019-09-30 13:51:40 +00:00
Marcus Schaefer
0a29f52a43 - Bump version: 9.18.15 → 9.18.16
- Fix modules omission for dracut based initrds
  This commit fixes a regression introduced in 07ea23a4. In OEM images
  the dracut modules were not properly omitted as the code was evaluating
  the wrong variable.
  Fixes #1201

- Fix GPT to MBR convertion
  This commit swaps the order of the command in gpt to mbr convertion
  in partitioner.gpt.set_mbr method.
  sgdisk by default converts the partition table from MBR to GPT in memory.
  The change is never applied unless you provide the -g option forcing to
  overwrite the partition table format. If sgdisk does the convertion in
  memory and the user does not provide the -g flag it returns an error
  code.
  The solution applied in this commit is to just run the GPT to MBR
  convertion as the last sgdisk command and change partition type before
  running the convertion.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=150
2019-09-17 11:36:21 +00:00
97b2deb1f9 - Bump version: 9.18.14 → 9.18.15
- Fixed user permission
  The comand was evaluated as chmod -c -R '...' . This is not the
  correct syntax. Removing quotation marks solved problem
  and Fixes #1191

- Clean up openstack packages

- Fix unresolves for x86 integration tests
  nfsidmap package is no longer available in TW. It's been renamed to
  libnfsidmap1, moreover this is a package already required by nfs-client
  and similar packages. Thus gets installed in the modified image
  descriptions without having to list it, as it is already a dependency of
  another required package.

- Do not require multipath in dracut-kiwi-oem-dump
  Installation of multipath tools triggers storage devices
  to be handled as multipath maps in dracut. If the deployment
  happens in a non multipath system those devices do not exist
  and the system later hangs in the dracut initqueue waiting
  for mapper devices that never appears

- Reverting partsthat are already implemented
  This problem is discussed in #1195

- Switched back to original root-device search

- Detect raid compound in root disk detection
  Make sure raid managed storage e.g fake raid is detected

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=149
2019-09-16 12:12:43 +00:00
Dominique Leuenberger
dd3c6dfd63 Accepting request 728721 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/728721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=48
2019-09-11 08:23:14 +00:00
874daaa89a - Bump version: 9.18.12 → 9.18.13
- Add --add-bootstrap-packages option
  The prepare and build commands now allows to specify additional
  packages to be installed as part of the early bootstrap phase
  This Fixes #1151

- Detect raid disks in oem dump module
  The current disk detection only takes lsblk entries into
  account that marks the device as 'disk'. However on raid
  disks like fake raid controllers the disk is mapped via
  dmraid and marked as 'raidX' device. This commit also takes
  those devices into account for deployment. Issue #1181

- Fix return value of is_prepared method
  The method is expected to return a bool value. In fact it
  returned a list. An empty list is evalutated as False in
  python, a list with content as True. So the way the method
  is used is correct but the return value should be a real
  bool value to match the docs and expectations. Also the
  unit test for this code was wrong. This Fixes #1175

- Update documentation regarding fstab adaptions

- Add support for custom fstab script extension
  In addition to fstab append and patch features we also allow
  an fstab.script file that is called chrooted. The change is
  needed to support overlay mounting of filesystems as part
  of the initrd. If system filesystems needs to be changed in
  a way that they can be used in an overlay mount, the standard

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=148
2019-09-06 08:56:46 +00:00
Dominique Leuenberger
b22bdc6302 Accepting request 726411 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/726411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=47
2019-09-02 11:17:39 +00:00
Marcus Schaefer
cf18206513 - Bump version: 9.18.11 → 9.18.12
- Added MicroOS integration test
  The future technologies team is implementing a coreOS derivate
  based on btrfs and some overlay technology. For supporting them
  some changes were required in kiwi and thus we should add an
  integration test build which makes use of this features.

- Add required cryptomount coding for EFI boot
  For non EFI boot grub2-install has code which gets activated
  through the GRUB_ENABLE_CRYPTODISK setting. However for the
  EFI boot case no installation of boot code is needed and
  therefore the grub earlyboot script has to run cryptomount

- Add /mnt to list of protected paths
  On recursive removal make sure /mnt belong to the protected
  elements. This Fixes #1170

- Added full encrypted image build test

- Extended LUKS encryption support
  We supported luks encrypted images with the exception of the
  boot partition because grub was not able to read from an
  encrypted device at that time. Since some time grub is able
  to read from an encrypted partition and this commit add
  support for it. With this patch luks encrypted images will
  no longer create an extra boot partition and the entire
  system will be encrypted. The opening of the luks container
  happens on the grub level only once. Customers can still
  specify to use an unencrypted extra boot partition with the

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=147
2019-08-20 15:22:10 +00:00
Dominique Leuenberger
6a720eef61 Accepting request 722592 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/722592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=46
2019-08-14 09:36:30 +00:00
Dominique Leuenberger
4905717a57 Accepting request 720209 from Virtualization:Appliances:Builder
- Bump version: 9.18.8 → 9.18.9

- Fixed left over import of six module
  The use of the six compat module was needed to support py2
  With the drop of py2 support all of six was no longer needed.
  However this one was overlooked.

- 99-kiwi-lib requires rmdir, install it
  Fixes bsc#1143033

- Bump version: 9.18.7 → 9.18.8

- Added multiconsole setup to Fedora build test

- Allow multiple values for grub terminal setup
  With regards to the grub documentation from
  https://www.gnu.org/software/grub/manual/grub/grub.html#terminal_005finput
  multiple terminal consoles can be active. This patch allows
  to specify terminal collection between serial, console and gfxterm
  This Fixes #1123

- Bump version: 9.18.6 → 9.18.7

- Fixed use of Command calls in destructors
  The Command class creates namedtuple to store the result
  of the call. That tuple is created inside of the Command
  namespace. If called inside of a __del__ destructor which
  is often the case in kiwi classes I recently observed an
  exception from python saying:
  File "/usr/lib64/python3.6/collections/__init__.py", line 429, in namedtuple

OBS-URL: https://build.opensuse.org/request/show/720209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=45
2019-08-07 11:56:51 +00:00
2e450ea010 - Bump version: 9.18.9 → 9.18.10
- Align setup.py with the correct license

- Pass components to debootstrap call
  If repo components are specified the collective list of
  component names should be passed to the debootstrap call.
  This Fixes #1157

- Update image name for s390 oem integration test
  Align image name to the schema we use for all other
  integration tests

- Fixed zipl bootloader setup
  targetgeometry not allowed for targettype SCSI

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=146
2019-08-06 12:16:48 +00:00
Marcus Schaefer
87ba79331b - Bump version: 9.18.8 → 9.18.9
- Fixed left over import of six module
  The use of the six compat module was needed to support py2
  With the drop of py2 support all of six was no longer needed.
  However this one was overlooked.

- 99-kiwi-lib requires rmdir, install it
  Fixes bsc#1143033

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=145
2019-07-26 14:26:02 +00:00
Marcus Schaefer
a239b6cd3e - Bump version: 9.18.7 → 9.18.8
- Added multiconsole setup to Fedora build test

- Allow multiple values for grub terminal setup
  With regards to the grub documentation from
  https://www.gnu.org/software/grub/manual/grub/grub.html#terminal_005finput
  multiple terminal consoles can be active. This patch allows
  to specify terminal collection between serial, console and gfxterm
  This Fixes #1123

- Bump version: 9.18.6 → 9.18.7

- Fixed use of Command calls in destructors
  The Command class creates namedtuple to store the result
  of the call. That tuple is created inside of the Command
  namespace. If called inside of a __del__ destructor which
  is often the case in kiwi classes I recently observed an
  exception from python saying:
  File "/usr/lib64/python3.6/collections/__init__.py", line 429, in namedtuple
  File "<string>", line 1, in <module>
  ModuleNotFoundError: import of builtins halted; None in sys.modules
  I do not understand why this is a problem for python now
  and only found the solution in making the command_type variable
  a global namedtuple.

- Bump version: 9.18.5 → 9.18.6

- Fix the pyxattr dependency to allow kiwi to function
  Most Linux distributions offer the pyxattr module, including

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=144
2019-07-26 08:54:42 +00:00
Dominique Leuenberger
e2dad60709 Accepting request 715449 from Virtualization:Appliances:Builder
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/715449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-kiwi?expand=0&rev=44
2019-07-17 12:23:05 +00:00