Commit Graph

2657 Commits

Author SHA1 Message Date
Marcus Schäfer
aaeffeae47
Added unit test for syslinux lookup paths 2018-11-15 09:40:46 +01:00
David Cassany
510d2b25c1
Include the isolinux ubuntu paths
This commit adds the ubuntu installation paths the places to look
for isolinux binaries.
2018-11-15 08:50:29 +01:00
Marcus Schäfer
fa2ab684cf
Merge pull request #882 from SUSE/gfxboot_not_required
Make gfxboot a recommended package
2018-11-12 12:25:20 +01:00
Marcus Schäfer
fb3780f3f3
Merge pull request #879 from SUSE/add_support_for_no_history_flag
Add support for --no-history umoci's flag
2018-11-12 12:02:26 +01:00
Marcus Schäfer
863faab549
Merge pull request #881 from SUSE/add_image_types_for_fedora_test
Adding OEM and ISO image types for Fedora tests
2018-11-12 11:49:42 +01:00
Marcus Schäfer
733012c5a1
Make gfxboot a recommended package
gfxboot is needed on the host for certain boot graphics
operations. It's used if the boot theme provides a gfxboot.cfg
In this case the tool is also required. The setup of the
boot themes is differently implemented in each of the
distributions we support. In addition on suse distributions
gfxboot is no longer in the core system. Given that we are
not able to find a common base on requirement of the package
we changed gfxboot from a required to a recommended package
and deleted the requirement on debian based distros
2018-11-12 11:37:35 +01:00
David Cassany
41eb4e2df6
Add support for --no-history umoci's flag
Using this flag kiwi appends only a single history entry for OCI
containers.
2018-11-12 09:19:17 +01:00
David Cassany
396ac82203
Adding OEM and ISO image types for Fedora tests 2018-11-09 15:54:31 +01:00
Marcus Schäfer
2dc46b7734
Bump version: 9.17.0 → 9.17.1 2018-11-09 11:23:16 +01:00
David Cassany Viladomat
4c45e827b4
Merge pull request #871 from SUSE/add_container_history
Add history metadata for container builds
2018-11-09 11:15:42 +01:00
David Cassany
1d8c8af4d6
Little code styling fix 2018-11-09 11:05:22 +01:00
Marcus Schäfer
adb1d66253
Merge pull request #878 from SUSE/fix_lsblk_call
Fixed oem installer
2018-11-09 10:55:26 +01:00
Marcus Schäfer
aa02325ea2
Fixed oem installer
In the implementation of the ramdisk installer from
SUSE/ramdisk_deployment(4fdeee3faa) an error for the
standard case was introduced such that the lsblk call
was invalid. This lead to no devices being present
for the installation. This patch Fixes #877
2018-11-09 10:09:21 +01:00
Marcus Schäfer
5fc9775b5b
Merge pull request #876 from SUSE/fix_filesystem_data_sync
Fix rsync call for filesystem images
2018-11-09 09:21:04 +01:00
David Cassany
58333cd9a6
Fix rsync call for filesystem images
For filesystem images the rsync call was missing a finale slash for
the source path causing the sync also the containing directory. With
this change the filesystem image does not include the rootfs in any
subdirectory.

Fixes #875
2018-11-09 08:48:13 +01:00
David Cassany
f0612486dd
Add history metadata for container builds
This commit adds the history section in contianerconfig. With it
'author', 'created_by' and 'comment' can be customized. In addition
'created' is always included with the image creation date time.
'created_by' entry is set to 'KIWI __version__' by default if nothing
is provided.

Fixes #852
2018-11-08 15:33:04 +01:00
Marcus Schäfer
441358a312
Bump version: 9.16.36 → 9.17.0 2018-11-06 15:20:59 +01:00
Marcus Schäfer
ff586d911c
Merge pull request #868 from SUSE/fix_firmware_lookup
Fixed firmware strip and lookup for kiwi initrd
2018-11-06 15:12:55 +01:00
Marcus Schäfer
b5a4edc57b
Merge pull request #869 from SUSE/image_format_compression
Change bundling of image formats
2018-11-06 15:12:22 +01:00
Marcus Schäfer
1b672ec11b
Merge pull request #870 from b1-systems/udev_lsblk_race
kiwi-partitions-lib: wait for udev before lsblk
2018-11-06 15:11:54 +01:00
Marcus Schäfer
18ba277113
Change bundling of image formats
By default none of the image formats were stored as compressed
file. The reason behind this was the assumption that some
formats automatically makes use of compression, which is true
but only in their processing and not in their data blocks at
creation time. Storage and handling of the image file itself
becomes cumbersome and therefore we change the default bundle
setup for image formats to be compressed. This means the image
as it gets packed by KIWI needs to be uncompressed before use.
The following image formats are affected by the change in a
call of the result bundler:

    kiwi result bundle ...

    * qcow2 (.qcow2.xz)
    * vdi   (.vdi.xz)
    * vhd   (.vhd.xz)
    * vhdx  (.vhdx.xz)
    * vmdk  (.vmdk.xz)

All other image formats already defined a custom bundling
setup including compression and are not affected by this change.
This Fixes #650
2018-11-06 12:16:36 +01:00
Marcus Schäfer
d56b144707
Fixed firmware strip and lookup for kiwi initrd
In a kiwi initrd the function baseStripFirmware can be
used to strip down the firmware to the actually used
kernel drivers in that initrd. The code to do this was
broken due to the changes in #64cb5b003140a. This
patch done by Ruediger Oertel <ro@suse.de> fixes the
method to work correctly again.
2018-11-06 11:00:18 +01:00
Stefan Seyfried
dd1668ad27 kiwi-partitions-lib: wait for udev before lsblk
A LVM-enabled oem image spuriously did not resize its PV / LVs. Tracking
this down, I discovered that lsblk was sometimes racing with udev and
the disk was just not available during get_partition_node_name().
Call udev_pending() before all lsblk calls to avoid that.
(lsblk man page also advocates this to synchronize with udev)
2018-11-06 10:39:21 +01:00
Marcus Schäfer
2fa147dfb9
Bump version: 9.16.35 → 9.16.36 2018-11-06 10:11:08 +01:00
Marcus Schäfer
26e4121e40
Bypass Jekyll processing for github pages
sphinx uses directories that start with underscores which
Jekyll considers these to be special resources and does not copy
them to the final site.
2018-11-06 10:09:44 +01:00
Marcus Schäfer
f006810661
Bump version: 9.16.34 → 9.16.35 2018-11-05 22:21:25 +01:00
Marcus Schäfer
b8e7e2bea6
Revert last travis.yml change
This reverts commit 7fb7e8c39f.
2018-11-05 22:20:11 +01:00
Marcus Schäfer
206ecdf183
Bump version: 9.16.33 → 9.16.34 2018-11-05 22:14:37 +01:00
Marcus Schäfer
7fb7e8c39f
Next try to fixup pypi deployment
Reset to encrypted password hash which worked before
2018-11-05 22:13:38 +01:00
Marcus Schäfer
991ba67d14
Bump version: 9.16.32 → 9.16.33 2018-11-05 16:30:28 +01:00
Marcus Schäfer
fa70a82630
Move pypi secret to secure variable on travis 2018-11-05 16:29:58 +01:00
Marcus Schäfer
eb4e121ead
Bump version: 9.16.31 → 9.16.32 2018-11-05 16:25:44 +01:00
Marcus Schäfer
0896872bae
Use travis-sphinx to generate github pages doc
The output from the sphinx build does not render css
and java script correctly on github pages, thus switch
back to travis-sphinx to generate that data
2018-11-05 16:24:35 +01:00
Marcus Schäfer
c2b99c6d89
Bump version: 9.16.30 → 9.16.31 2018-11-05 15:30:17 +01:00
Marcus Schäfer
d0240cd657
Move github token to secure variable on travis 2018-11-05 15:29:42 +01:00
Marcus Schäfer
3a879e8da2
Bump version: 9.16.29 → 9.16.30 2018-11-05 14:58:04 +01:00
Marcus Schäfer
d1aafdedef
Run pages deployment before pypi
In addition update the pypi secret
2018-11-05 14:56:57 +01:00
Marcus Schäfer
a9d2cb8b5f
Move travis references to .com domain 2018-11-05 14:08:04 +01:00
Marcus Schäfer
7561059875
Bump version: 9.16.28 → 9.16.29 2018-11-05 14:03:45 +01:00
Marcus Schäfer
edf90918a2
Merge pull request #867 from SUSE/complete_oci_tools_refactor
Refactor containerconfig xml evaluation
2018-11-05 14:03:19 +01:00
Marcus Schäfer
97635b70cd
Merge pull request #866 from SUSE/gh-pages-deploy-setup
Gh pages deploy setup
2018-11-05 14:02:05 +01:00
David Cassany
958180f71c
Arrange command test arguments to match py2 and py3 order
Apparently dictionary keys are not sorted equaly in py2 and py3. While
the code does not relay on command flags order the test command
validation does. This commit ensures the umoci command is the same for
both, py2 and py3, with all the flags in the same order.
2018-11-05 13:15:32 +01:00
David Cassany
c5ee03ac0a
Make process config arguments method static 2018-11-05 12:13:29 +01:00
Marcus Schäfer
b3fd4caeac
Use the travis pages provider for doc deployment
In the past we used the travis-sphinx script to deploy
the documentation to gh-pages via the travis CI. However
with the change to the travis github App we need to
change this deployment into a real deployment stage
of the travis setup
2018-11-05 12:03:36 +01:00
Marcus Schäfer
a3765fd448
Fixed azurectl redirect in documentation 2018-11-05 12:03:36 +01:00
Marcus Schäfer
e735494a08
Added oci_tools to package MANIFEST 2018-11-05 10:38:41 +01:00
David Cassany
643d617bba
Refactor containerconfig xml evaluation
This commit refactors the extracted data from containerconfig section
to be tool agnostic.

Related to #863
2018-11-05 10:36:04 +01:00
Marcus Schäfer
dc19c74455
Bump version: 9.16.27 → 9.16.28 2018-11-05 09:13:12 +01:00
Marcus Schäfer
4fdeee3faa
Merge pull request #865 from SUSE/ramdisk_deployment
Support ramdisk deployment in OEM images
2018-11-05 09:00:12 +01:00
Marcus Schäfer
30be4884fc
Merge pull request #864 from SUSE/appended_initrd_files_in_install_media
Distinguish install and image dracut config
2018-11-05 08:59:41 +01:00