SHA256
1
0
forked from pool/python-kiwi
Commit Graph

96 Commits

Author SHA256 Message Date
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
Marcus Schaefer
0e5494cb17 - Bump version: 9.11.18 → 9.11.19
- Update gfxboot.cfg for iso images
  
  Don't move down one menu entry the first time a F-key is used
  This Fixes bsc#1068790
  

  
- Adding quotes to ensure '%_dbpath' is treated as string
  

  
- Fixed ec2 integration test
  
  requirements for unneeded crash package broken
  

  
- Fixed ec2 integration test
  
  nothing provides pam-modules
  

  
- Removes the hardcoded path of the rpm database
  
  With this commit the rpmdb path is evaluated from the %_dbpath

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=68
2017-11-20 16:02:30 +00:00
Dominique Leuenberger
0fb258d4ab 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
Marcus Schaefer
a29581cca3 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=66
2017-11-09 09:58:10 +00:00
Dominique Leuenberger
5732cfa259 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
c30e71278c 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
Marcus Schaefer
47b7e77c6c - Bump version: 9.11.15 → 9.11.16
- Fixed validation of isohybrid warnings
  
  The list of warning messages is evaluated line by line
  and those not matching the ignore warnings list are treated
  as errors. However if an empty line exists it did not match
  the ignore warnings list but is also not an error. This
  patch makes sure only non empty warning information has
  an effect

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=63
2017-10-25 15:02:28 +00:00
Marcus Schaefer
419da4dd78 - Bump version: 9.11.14 → 9.11.15
- Do not require cracklib-dict-full in boot images

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=62
2017-10-25 10:42:47 +00:00
Marcus Schaefer
48aa13e07e - Bump version: 9.11.13 → 9.11.14
- Cleanup SLE12 boot image descriptions

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=61
2017-10-24 16:19:02 +00:00
Marcus Schaefer
357cb3f7f6 - 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
  call. In KIWI the default was only used to import the base rootfs,
  with this commit the imported container is tagged as 'base_layer'.
  The current patch works for all skopeo versions.
  

  
- Update hooks documentation

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=60
2017-10-24 15:51:57 +00:00
Marcus Schaefer
c4c526c09b - Bump version: 9.11.9 → 9.11.10
- Cleanup boot descriptions
  
  The still existing kiwi boot descriptions contained wrong
  information about no longer existing packages and many
  other obsolete information.
  

  
- Bump version: 9.11.8 → 9.11.9
  

  
- Prefer image packages section for bootincludes
  
  If a package is marked bootinclude prefer <packages type="image">
  section in the target XML as primary target and only if no such
  section exists put the package in the <packages type="bootstrap">
  section
  

  
- Keep NVMe drivers in the initrd
  
  Support systems with the root filesystem on a NVMe device

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=59
2017-10-16 14:40:10 +00:00
Dominique Leuenberger
fe71fc66d6 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
Marcus Schaefer
e12bd5f18f - Bump version: 9.11.7 → 9.11.8
- Changed permissions of /srv/tftpboot to be readable (bsc#940608)

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=57
2017-09-29 13:12:11 +00:00
Marcus Schaefer
25f32c4d00 - 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

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=56
2017-09-29 08:11:23 +00:00
Marcus Schaefer
c287518762 - Bump version: 9.11.5 → 9.11.6
- Make sure xz options are used with pxe tarball
  
  The tar command used in the pxe builder did not utilize threading
  and/or the xz options provided by an optional kiwi config file.
  This Fixes #507
  

  
- Move depmod into baseUpdateModuleDependencies
  
  Kernel module dependencies should be resolved after kiwi has
  called all the stripping functions and not as part of the
  baseCreateCommonKernelFile which runs before.
  This Fixes #508
  

  
- Fixed order of volume mount list
  
  re-order mount_list by mountpoint hierarchy. This is needed
  because the handling of the fullsize volume and all other
  volumes is outside of the canonical order. If the fullsize
  volume forms a nested structure together with another
  volume the volume mount list must be re-ordered to avoid
  mounting the volumes in the wrong order

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=55
2017-09-28 09:00:28 +00:00
Marcus Schaefer
7f58e9c176 - Bump version: 9.11.4 → 9.11.5
- Rebuild schema documentation
  

  
- Show results in a dialog
  

  
- Improve display of runMediaCheck results
  
  The splash screen should be switched off in order to let the
  user see the mediacheck results as well as a delay timeout
  before the boot continues or stops is useful
  

  
- Call plymouth default theme setup in build command
  
  Make sure plymouth-set-default-theme is called as part
  of the system build command and not only as part of the
  system prepare command
  

  
- Fixed package requires for dracut-kiwi-live

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=54
2017-09-25 14:59:05 +00:00
Dominique Leuenberger
b0ea255024 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
Marcus Schaefer
fd936f2974 - Bump version: 9.11.2 → 9.11.3
- Added disk format="vhdx" support
  
  Support dynamic VHDX (gen2) image format for Hyper-V.
  This Fixes #490
  

  
- Added additional required attr schematron rule
  
  The new rule allows to check for required attributes for a specific
  image type and is used for the filesystem attribute which is required
  for the image type oem, vmx and pxe. This Fixes #476

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=52
2017-09-13 07:50:32 +00:00
Marcus Schaefer
9411a3e013 - 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/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=51
2017-09-11 15:18:41 +00:00
Marcus Schaefer
6e5234c3c3 - Bump version: 9.10.5 → 9.10.6
- Added boot descriptions for SLE15 on ppc
  

  
- Added boot descriptions for SLE15 on s390
  

  
- Bump version: 9.10.4 → 9.10.5
  

  
- Added handling of formatoptions attribute
  
  Custom disk format options passed in the formatoptions
  attribute were not handled. In addition options with a
  value passed to qemu were handled in the wrong way.
  This commit addresses both problems and Fixes #463
  

  
- s/sles/openSUSE/
  

  
- copy SLE15 files for Leap 15

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=50
2017-08-24 10:47:24 +00:00
Marcus Schaefer
cdf1ee70bc - Bump version: 9.10.3 → 9.10.4
- Fixed resize if all free volume in oemboot/repart
  

  
- Fix space calculation for lvm volumes
  
  It is required to take the other configured volumes into
  account in order to solve the problem of nested volumes.
  The size of e.g the root volume must be reduced by the size
  other volumes inside of the root volume needs. This is
  especially required if the root volume is not the fullsize
  volume
  

  
- Fixed setup.py requirements record
  
  PyYAML is required by KIWI
  

  
- Add description of Overlay Files to Terminology

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=49
2017-08-10 06:42:22 +00:00
Marcus Schaefer
34955829d1 - Bump version: 9.10.2 → 9.10.3
- Export *.verified also for images based on apt-get
  
  This commit includes support in system/setup.py to run a package
  verification also for images based in apt-get package-manger
  
  Related to #457
  

  
- Include .packages file for apt-get based images
  
  This commit renames export_rpm_packages_list method to
  export_packages_list and it includes support for listing
  debian packages if apt-get package manager is used.
  
  Fixes #457
  

  
- Fix calculation of needed disk space for oem types
  
  The calculation did not include the minimum volume requirements
  if a volume setup exists

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=48
2017-08-03 09:38:44 +00:00
Marcus Schaefer
11065a05a7 - Bump version: 9.10.1 → 9.10.2
- Fixup XSL stylesheet v6.7
  
  Apply templates matching all processing instructions in
  order to match <section>text</section>
  

  
- Rebuild schema documentation
  

  
- Remove xml_state.get_build_type_mediacheck method
  
  The method was not needed since a direct call to
  xml_state.build_type.get_mediacheck was already producing an
  equivalent output (True, False or None), where 'None' can be
  easily treated in the same way as False.
  

  
- Add runtimecheck for mediacheck attribute on non x86 hosts
  
  This commit rearranges some method and variable names and includes
  a new runtimecheck to ensure the mediacheck attribute is not set
  when building non x86 images.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=47
2017-07-28 13:02:18 +00:00