tar doesn't preserve extended attributes by default, causing Docker
images to not have any correct set-capabilities bits set on binaries
such as ping. This is fixed by adding the --xattrs flag to the tar
command
The order of the files in the tarball is important. The first
entry must be the manifest.json followed by disk.raw. In addition
the style of the manifest.json has been adapted too. A space after
colon seems to be required for gce to accept the data
If dracut is used as initrd system we should not use the
kiwi one shot names linux.vmx, initrd.vmx but stick with
the official naming convention for kernel and initrd which
is kernel-<version>, initrd-<version>
Instead of raising an exception if a local repository does
not exist, we will continue with a warning message. This is
needed for a flawless integration with the buildservice.
Inside of a buildservice environment only those repos are
setup from which packages were taken. Thus it can happen that
a configured repository does not exist in the buildservice
build environment if the resolver would not take any package
from this repository. kiwi should not fail to build such an
image
When kiwi creates the logical volume for the swap space
and there is already a swap signature at the place on
disk, lvm stops and asks what to do with it. This should
be generally avoided at that stage in the boot process
Fixes (bnc#968601)
An oem disk ist a self expandable disk and thus it normally
doesn't make sense to specify a disk size for it. However there
are filesystems like btrfs which are very hard to precalculate
a minimum required disk space for X bytes of data. In this
situation a user should have the opportunity to specify a
size
This was useful to speedup the boot but opens a potential
race condition if a reboot happens while dracut is still
processing. With the last extension to use dracut as initrd
system people now have the choice what fits their needs
better and this allows us to revert the background call
As of today only the kiwi initrd could be used with an image
build. This commit adds a new initrd_system attribute and
allows to select between kiwi and dracut as initrd system.
Please note the dracut initrd does not support all features
of the kiwi initrd. This fixes#25
Originally the file was written there as reference, but nothing
will ever update that file if the real grub configuration changes.
Thus it doesn't make sense to provide this information (bnc#968270)
Also log the stdout data from a failed command. So far we
expected error data on stderr but there are also commands
which print error messages on stdout. It should us at least
worth a debug message with this information