Commit Graph

118 Commits

Author SHA256 Message Date
Dominique Leuenberger
9ae0dc54bd 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
566ef91b8a osc copypac from project:Virtualization:Appliances:Staging package:python-kiwi revision:76
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=115
2018-08-01 14:22:36 +00:00
Dominique Leuenberger
90d1bce2e1 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
Marcus Schaefer
8233365923 - Bump version: 9.16.1 → 9.16.2
- Simplify configfile loading
  
  prefix and root variables are correctly set, thus calling
  the "normal" command has the same effect than the explicit
  call for "configfile"
  

  
- Prevent building custom efi image
  
  If the distribution provides a prebuilt efi image kiwi
  should use it instead of building its own image.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=113
2018-06-20 13:44:26 +00:00
Marcus Schaefer
2c875df196 - Bump version: 9.16.0 → 9.16.1
- Avoid module loading in grub config template
  
  This patch is two fold. First part replaces the import of
  dedicated video modules in the grub image by the all_video
  module. Second part avoids runtime module insertion which
  requires access to the boot filesystem which is not
  guaranteed on sophisticated rootfs structures like btrfs
  plus readonly snapshots and what not. Thus we make sure
  all boot code is embedded into the grub image(s) and no
  extra loading of modules at runtime will be needed.
  This Fixes bsc#1096937
  

  
- Fix for bsc#1094788
  
  This is just an empty commit to include the bugfix reference in
  the repository history.
  
  The bugfix for bsc#1094788 was actually commited in:
  
  commit 835cebfe5c488515dfbcdf33dab6262613ca5508
  Author: Marcus Schäfer <ms@suse.de>
  Date:   Tue May 29 16:42:55 2018 +0200

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=112
2018-06-13 12:48:50 +00:00
Marcus Schaefer
a49e67a2f8 - Bump version: 9.15.4 → 9.16.0
- Move fedora integration test build to fc28 distro
  

  
- Bump version: 9.15.3 → 9.15.4
  

  
- Fixup move_to_root method
  
  move_to_root is called to check each element of a given list
  and changes any path specification to a valid path if the given
  root path would be it's root(/). This tranformation implied the
  creation of paths containing double slashes like //foo which
  was considered harmless. However it has turned out that the dnf
  package manager makes a difference here which requires to fix
  the resulting paths. This Fixes #761
  

  
- Adding license tag under description tag in schema
  
  This license tag does not effect the resulting image in any way. The tag
  is just included to state the license of the kiwi image sources in case
  they are distributed.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=111
2018-06-06 11:53:02 +00:00
Marcus Schaefer
73a1834668 - Bump version: 9.15.2 → 9.15.3
- Fix setup of LOADER_TYPE in sysconfig/bootloader
  
  LOADER_TYPE value for the grub2 bootloader depends on
  the use of EFI. This Fixes bsc#1094883
  

  
- Added documentation for config-cdroot archive
  

  
- Added support for config-cdroot archive
  
  The image description now allows an optional file named:
  config-cdroot.tar[.compression_postfix]. The file gets
  unpacked as user data for live and install ISO images.
  This allows users to add e.g license files or reference
  documentation to the ISO image. This Fixes #737
  

  
- Verify file does not exist before creating symlink
  

  
- Add service dependencies in generators

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=110
2018-05-29 07:30:16 +00:00
Dominique Leuenberger
a7f08b52ca 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
Marcus Schaefer
0b180d6644 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=108
2018-05-16 10:14:30 +00:00
Dominique Leuenberger
f7031ecce4 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
Marcus Schaefer
e85a9f9810 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=106
2018-05-09 12:59:52 +00:00
Dominique Leuenberger
59f9877d1c 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
Marcus Schaefer
0568e9cdcf - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=104
2018-05-04 14:43:35 +00:00
Marcus Schaefer
4ae3424a5a - Bump version: 9.14.5 → 9.14.6
- Extend test-image-azure integration test
  
  Use xfs as filesystem and set a tag to also test image tags
  

  
- Use /dev/zero to really write a zero byte
  
  The cleanup of the 512 byte block for the vhdfixed tag
  was based on reading from /dev/null which does effectively
  nothing. As the block should be filled with zero bytes
  this patch changes the source from /dev/null to /dev/zero
  This was found by tests to reproduce the issue reported
  in bsc#1090953 but is not causing it
  

  
- Add test for the utils class StringToSize
  
  This commit adds a couple of unit tests for the StringToSize class.
  

  
- Bump version: 9.14.4 → 9.14.5

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=103
2018-05-02 07:27:16 +00:00
Dominique Leuenberger
012ce19214 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
Marcus Schaefer
2171d91eab - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=101
2018-04-09 14:57:31 +00:00
Marcus Schaefer
c545d438d4 - Bump version: 9.14.0 → 9.14.1
- Fixed truncation of image when writing vhd tag
  
  When writing the vhd tag into a vhdfixed formatted image
  the image was opened with the wrong open bits 'wb' and
  thus was truncated at the 64k offset. This patch fixes
  the open bits to allow in-place tag writing. This
  Fixes bsc#1077096
  

  
- fix vmx fileName parameter, bsc#1084157
  

  
- Update schema version in free schema doc generator
  

  
- Update schema version in headline of doc chapter
  

  
- Bump version: 9.13.9 → 9.14.0

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=100
2018-04-03 10:24:54 +00:00
Dominique Leuenberger
96c67e1d13 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
OBS User buildservice-autocommit
5b6581b46d Updating link to change in openSUSE:Factory/python-kiwi revision 24.0
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=6b8cb88da6d48c68fdd5f9984ffaf39c
2018-03-30 19:48:41 +00:00
Dominique Leuenberger
03f1a4e270 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
Marcus Schaefer
be5a957ab1 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=98
2018-03-23 13:00:43 +00:00
Marcus Schaefer
ebfd0cd88f - Bump version: 9.13.8 → 9.13.9
- Bump version: 9.13.7 → 9.13.8
  

  
- Fixed base package requires
  
  kpartx is used by kiwi but was not required in spec
  

  
- Update gitignore
  
  Do not manage changes in .pytest_cache
  

  
- Tell plymouth to quit only if a dialog is called
  
  In case of a dialog kiwi uses the dialog program which conflicts
  with the plymouth splash system. Thus we tell plymouth to stop
  This patch changes the request to be send to plymouth prior to
  a dialog call and not in general
  

  
- Bump version: 9.13.6 → 9.13.7

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=97
2018-03-13 09:58:12 +00:00
Dominique Leuenberger
b4715c0832 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
Marcus Schaefer
d61e009df4 OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=95 2018-03-06 16:09:13 +00:00
Marcus Schaefer
ea1744b1d6 - 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

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=94
2018-03-06 16:08:59 +00:00
Marcus Schaefer
83cf107db1 - 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
  

  
- The order of the options for mkisofs matters
  
  Setting -eltorito-platform after -b causes mkisofs to fail
  

  
- Resize partition table after image resize
  
  The command 'kiwi image resize' allows to resize the size
  of a disk image. Depending on the partition table type it
  is also required to resize the partition table inside of
  the image to let the file size change become effective
  This Fixes #534

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=93
2018-03-06 14:59:22 +00:00
Dominique Leuenberger
88398495d2 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
Marcus Schaefer
7be0c8744d - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=91
2018-02-27 07:34:49 +00:00
Dominique Leuenberger
e425092018 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
0d48137a79 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
Marcus Schaefer
43ffa8a57e - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=88
2018-02-16 15:26:31 +00:00
Marcus Schaefer
0ce16ca40e - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=87
2018-02-13 08:43:28 +00:00
Dominique Leuenberger
d530265c8e 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
Marcus Schaefer
73e2887d46 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=85
2018-02-06 07:51:15 +00:00
Marcus Schaefer
483e4e7a85 - Bump version: 9.12.6 → 9.12.7
- Update per review by Tom
  

  
- Update per review by David
  

  
- Update per review by Tom
  

  
- Added chapter for live-fat-stick deployment
  
  With the support for the iso-scan feature in KIWI live
  ISO image, also the ability to deploy file based on
  FAT32 usb sticks via the live-fat-stick tool exists.
  This chapter describes how to do it and Fixes #521
  

  
- Update pre review by Tom
  

  
- Update per review by Tom

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=84
2018-02-01 13:38:45 +00:00
Dominique Leuenberger
988876c99d 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
Marcus Schaefer
8c596df0ba - 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.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=82
2018-01-29 13:24:33 +00:00
Marcus Schaefer
ac08a41fce OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=81 2018-01-26 09:55:53 +00:00
Marcus Schaefer
f21959919d - 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
  

  
- Adding opensuse ports repository
  
  
  

  
- Adding uboot-setup kiwi hooks
  
  For some reason the uboot-setup-panda.tgz file did not get into
  master branch, probably was not properly pushed in the former
  include_build_tests_arm branch.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=80
2018-01-26 09:35:20 +00:00
Marcus Schaefer
13376fd050 - Bump version: 9.12.3 → 9.12.4
- Don't lookup zImage symlink
  
  Due to the workaround to lookup the gzip compressed variant
  of a zImage to find its version, it's required to find the
  full name of the zImage in order to rematch the gzip variant.
  Looking at the zImage link will make this to fail because
  there is no vmlinux link
  

  
- Bump version: 9.12.2 → 9.12.3
  

  
- Fixed kernel version check for zImage
  
  kernels build as zImage contains the decompressor code
  as part of the kernel image and could be therefore
  compressed by any possible compression algorithm.
  In this case we assume/hope that there is also a
  standard gz compressed vmlinux version of the kernel
  available and check this one instead of the zImage
  variant. Fixes #587

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=79
2018-01-25 15:20:31 +00:00
Marcus Schaefer
ace0f7a43f - Bump version: 9.12.0 → 9.12.1
- Fixed dracut-kiwi-oem-dump requires setup
  
  on rhel/fedora multipath is provided by device-mapper-multipath
  

  
- Fix build tests to match new locale setting strategy (#586)
  

  
- Added timezone package to build tests
  
  With the latest update on how kiwi handles the locales with
  systemd-firstboot, only locales defined in timezone package can be
  set, thus Europe/Berlin is not possible if timezone is not installed
  

  
- Fixed build tests for azure and ec2
  
  Packages yast2-storage and recode no longer provided

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=78
2018-01-24 11:21:28 +00:00
Marcus Schaefer
d639892ed8 - Bump version: 9.11.30 → 9.12.0
- Update build test image descriptions
  
  Update to latest schema by auto conversion and delete use
  of oemboot kiwi code by switching to dracut
  

  
- Fixed reading device node path
  
  lsblk should be called with -p because it's a mistake
  to assume any device lives below /dev. There could also
  be subtree devices in /dev/mapper or /dev/disk/..
  We leave it up to lsblk to provide us the correct
  information
  

  
- No need to actively stop the dialog service
  

  
- Added required packages for dmraid and multipath
  

  
- Added handling for dmraid and multipath devices

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=77
2018-01-24 06:29:17 +00:00
Dominique Leuenberger
3209368ab3 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
Marcus Schaefer
9ed380e015 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=75
2018-01-09 14:15:32 +00:00
Marcus Schaefer
57c1f0c023 - Bump version: 9.11.28 → 9.11.29
- Allow to choose dracut live module
  
  There is the standard dracut dmsquash-live module based on
  the device mapper technology and the kiwi-live module based
  on the overlayfs technology. The setup of the live iso structure
  in kiwi is compatible to both modules. Thus it makes sense
  to allow to choose the technology via the flags attribute
  
  <type image="iso" ... flags="overlay|dmsquash"/>
  
  Please note both modules supports a different set of live
  features. This Fixes #568
  

  
- Bump version: 9.11.27 → 9.11.28
  

  
- Fixed ec2 and azure test builds
  
  cryptconfig is no longer provided
  

  
- Bump version: 9.11.26 → 9.11.27

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=74
2017-12-14 16:50:21 +00:00
Dominique Leuenberger
bd87e524a4 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
fb2605371d 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
Marcus Schaefer
88b3983201 - Bump version: 9.11.23 → 9.11.24
- Fixed URL to semver.org in development guide
  

  
- Bump version: 9.11.22 → 9.11.23
  

  
- Fixed module setup for dracut-kiwi-lib
  
  lsblk tool used in code but missing in dependencies
  

  
- Fixed test-image-azure build test
  
  azurectl does not resolve because of missing AppScheduler
  but for the integration test image we also don't need azurectl
  Thus it was just deleted from the list
  

  
- Fixed test-image-azure build test
  
  pam-modules package doesn't exist anymore

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=71
2017-11-23 10:14:15 +00:00
Marcus Schaefer
0cc2039274 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=70
2017-11-22 14:16:32 +00:00
Marcus Schaefer
e5734a2cc5 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=69
2017-11-21 13:37:41 +00:00