Commit Graph

2527 Commits

Author SHA1 Message Date
Marcus Schäfer
09f1c19576
Bump version: 9.16.14 → 9.16.15 2018-09-26 12:19:22 +02:00
Marcus Schäfer
3110f5cfbf
Merge pull request #820 from SUSE/pdf_docs
Include PDF build of documentation to the package
2018-09-26 12:18:54 +02:00
Marcus Schäfer
5aa352f9ad
Merge pull request #821 from SUSE/customizable_volid_for_installation_media
Make volume id customizable for installation ISOs
2018-09-26 12:17:20 +02:00
David Cassany
f28aced0e0
Make volume id customizable for installation ISOs
This commit makes volid attribute also available for OEM images.
The installation media makes use of the volid value. Only posix
safe names are allowed, up to 32 characters.

Fixes #811
2018-09-26 11:57:01 +02:00
Marcus Schäfer
dd4de571c3
Customize latex output for look and feel 2018-09-26 10:58:12 +02:00
Marcus Schäfer
cba8f96792
Update development doc chapter per review by Tom 2018-09-26 10:40:14 +02:00
Marcus Schäfer
e7987be802
Include PDF build of documentation to the package
Bundle a PDF version of the online documentation with the rpm package
build. Due to the complexity of getting a latex build environment into
the travis CI which does not take forever to install, the bundling of
a built PDF into the pypi archive has been skipped. Users installing
from pypi would need to install a latex env on their machine and
run make latexpdf from the installed bundle.
This Fixes #819
2018-09-24 17:31:07 +02:00
Marcus Schäfer
d521f476b7
Update docs for setting up development environment
Reference py3.6 when showing example tox call. Also
delete a py version reference where it was not needed
2018-09-24 11:43:10 +02:00
Marcus Schäfer
a9492904a0
Update kiwi tools README
Delete obsolete entries for tools no longer present
2018-09-21 16:45:19 +02:00
David Cassany
4ba8d9541b
Adding bugfix trace for bsc#1108508
bsc#1108508 ticket was fixed with bf556a96 and 77517cff commits. Just
adding the ticket reference here.
2018-09-20 17:46:42 +02:00
Marcus Schäfer
9815e40eaa
Merge pull request #818 from SUSE/fix_iso_persistent_mode_in_loopback_boot
Fixed disk detection for live iso in loopback grub
2018-09-20 11:26:56 +02:00
Marcus Schäfer
2aba8d981f
Fixed disk detection for live iso in loopback grub
If the live iso is used as a disk on e.g USB sticks and
is configured to setup a persistent write space via the
initrd option rd.live.overlay.persistent, it's required
to find the disk device to create a write partition on
it.

This detection worked if the live iso is binary dumped
on the disk and bootet due to the hybrid support each
iso built by kiwi provides.

However if the live ISO deployment should not destroy
existing data on the disk there is an alternative setup
which uses grub's loopback support and puts the iso as a
file on some partition of the disk. In this mode the
kiwi-live dracut module failed to find the disk device
and could not setup a persistent write partition.
2018-09-19 16:01:11 +02:00
Marcus Schäfer
0094f1bf14
Bump version: 9.16.13 → 9.16.14 2018-09-14 11:39:24 +02:00
Marcus Schäfer
711d2ee2c3
Fixed spec template
Directory delimiter missing in call for install_dracut target
2018-09-14 11:38:21 +02:00
Marcus Schäfer
02b961b8c8
Bump version: 9.16.12 → 9.16.13 2018-09-14 11:21:46 +02:00
Marcus Schäfer
a5658d7618
Merge pull request #812 from SUSE/fix_btrfs_quota_snapper_config
Fix quota groups management when snapper is present
2018-09-14 11:21:06 +02:00
Marcus Schäfer
5d78b89f3b
Merge pull request #816 from SUSE/fix_intermediate_files_overlay
Fixed overlay of intermediate config files
2018-09-14 11:11:12 +02:00
David Cassany
7935276807
Make use of kiwi/utils/sysconfig
This commit makes use the sysconfig kiwi utility in order to
read and eventually update the /etc/sysconfig/snapper file.
2018-09-13 17:54:58 +02:00
David Cassany
33bf71fad9
Snapper configuration for btrfs quota support refactored
This commit refactors the snapper configuration for btrfs quota support
when btrfs_root_is_snapshot is enabled. The sysconfig file
/etc/sysconfig/snapper is now taken into consideration.

Fixes bsc#1093518
2018-09-13 11:48:56 +02:00
Marcus Schäfer
6b9e321048
Fixed overlay of intermediate config files
Some config files e.g etc/hosts needs to be temporary copied
from the buildsystem host to the image root system. This is
done by a custom copy with the .kiwi extension and a symlink
to that file. During the installation process the package
manager either overwrites the file or creates a .rpmnew variant.
In case a .rpmnew variant exists there is code in kiwi which
restores that .rpmnew variant to become the real file. However
that _restore_intermediate_config_rpmnew_variants() method
runs after overlay files has been applied to the system because
it's part of the final cleanup step. In order to preserve
an eventual overlay version of the file the .rpmnew variant
gets only restored if the real file does not exist.
This Fixes #807
2018-09-12 17:27:28 +02:00
Marcus Schäfer
3b30a2edc9
Fixed dice documentation
The chapter: Building in a Self-Contained Environment holds
a fixed ruby version in the package install which was outdated.
It also still referenced the container as tar.xz but we have
changed to uncompressed containers by default a while back
2018-09-12 09:55:18 +02:00
Marcus Schäfer
ea56203e7d
Merge pull request #815 from SUSE/fix_filesystem_builder_skip_list
Fixed filesystem builder use of exclude list
2018-09-12 09:30:32 +02:00
Marcus Schäfer
6a6ff06b40
Fixed filesystem builder use of exclude list
kiwi defines a global Defaults.get_exclude_list_for_root_data_sync
method but it was not used in the scope of the filesystem builder.
Thus this builder was missing the exclusion of the .buildenv
file. This references Issue #422 and Fixes #814
2018-09-11 18:11:16 +02:00
Marcus Schäfer
4ef6775e6c
Merge pull request #809 from SUSE/separate_source_for_dracut_modules
Move dracut modules into its own source archive
2018-09-07 10:31:36 +02:00
Marcus Schäfer
a891fbac60
Separate dracut module install by Makefile target
The dracut modules like kiwi provides it should not be part of the
default install target. If kiwi gets installed from source or via
pip all dracut code gets installed on that system which is unwanted
and in the worst case leads to boot trouble next time this system
rebuilds its initrd via dracut. Therefore an extra Makefile target
which is used in the spec of an rpm but not in the install target
of setup.py is provided in this commit.

As a consequence the installation from pip will not install any
dracut modules on that system which is intentional. Installing from
source requires to run make install_dracut which if called assumes
the caller knows what he/she does :)
2018-09-07 10:13:58 +02:00
David Cassany
c5bccf8e8c
Enhance /etc/snapper/configs/root file parser 2018-09-05 14:35:16 +02:00
David Cassany
5652ac0674
Fix quota groups management when snapper is present
* Fixes the config file path if root is snapshot
* Uses the correct QGROUP="<group>" syntax
* Do not overwrite the config file if already present

Fixes bsc#1093518
2018-09-04 18:29:44 +02:00
Marcus Schäfer
2887d1af8a
Bump version: 9.16.11 → 9.16.12 2018-08-20 22:42:46 +02:00
Marcus Schäfer
68980b3cf0
Follow up fix for skip_cleanup use
make sure doc_travis tox target has created the manual
pages such that the environment contains this data
2018-08-20 22:36:11 +02:00
Marcus Schäfer
038bc48ca9
Bump version: 9.16.10 → 9.16.11 2018-08-20 22:09:18 +02:00
Marcus Schäfer
67a33bae4c
Use skip_cleanup for deploy stage in travis
We need the tox build environment to run the deployment
2018-08-20 22:08:04 +02:00
Marcus Schäfer
8b7b728139
Bump version: 9.16.9 → 9.16.10 2018-08-20 19:18:38 +02:00
Marcus Schäfer
ac1e626111
Follow up fix for deploy target
Integration of man pages must be done as part of the sdist
setup because the travis pypi deployment only uses the
sdist target to bundle the sources
2018-08-20 19:15:12 +02:00
Marcus Schäfer
7a44d051a6
Bump version: 9.16.8 → 9.16.9 2018-08-20 17:02:58 +02:00
Marcus Schäfer
3b7274b173
Merge pull request #805 from SUSE/fix_deploy_to_pypi
Fixed deploy target
2018-08-20 17:02:39 +02:00
Marcus Schäfer
52002870cd
Fixed deploy target
As part of the deploy process in travis a bundle to pypi is
uploaded. The bundle is missing the compiled manual pages because
the doc_travis stage did not create them.
2018-08-20 12:04:09 +02:00
Marcus Schäfer
542074cb73
Bump version: 9.16.7 → 9.16.8 2018-08-08 21:32:23 +02:00
Marcus Schäfer
38c12cc8bd
Merge pull request #801 from SUSE/system_wide_config_file
Added support for system wide config file
2018-08-08 21:31:43 +02:00
Marcus Schäfer
3a89585f2b
Merge pull request #802 from SUSE/update_pxe_server_docs
Update pxe server setup documentation
2018-08-08 21:30:43 +02:00
Marcus Schäfer
f278e8fe57
Added support for system wide config file
If there is no user specific config file we are also
looking for a system wide /etc/kiwi.yml file
2018-08-08 18:13:00 +02:00
Marcus Schäfer
0baeedc8c3
Update pxe server setup documentation
Delete the suggested modifications to /etc/sysconfig/atftpd
and trust the defaults provided by the package
2018-08-08 18:02:59 +02:00
Marcus Schäfer
00525f8392
Merge pull request #799 from SUSE/kiwi_live_aoe_support
Added support for pxe live boot via AOE
2018-08-08 17:07:39 +02:00
Marcus Schäfer
f6b76f4787
Merge pull request #800 from SUSE/fix_baseStripUnusedLibs
Fix baseStripUnusedLibs config method
2018-08-08 10:44:17 +02:00
David Cassany
bf556a96ad
use more meaningful variable names 2018-08-08 09:46:22 +02:00
Marcus Schäfer
dbb46178d3
Added doc chapter for remote live boot 2018-08-08 09:41:23 +02:00
David Cassany
77517cffde
Fix baseStripUnusedLibs config method
This commit arguments handling of the baseStripUnusedLibs
that was not prepared to handle quoted variable containing a list.

Fixes #798
2018-08-07 16:35:19 +02:00
Marcus Schäfer
8ddab94511
Added support for pxe live boot via AOE
The live ISO should support a network reference. We are using
the Ata Over Ethernet protocol to achieve this. In combination
with pxe boot of the kernel/initrd a live iso can boot from
the network using the following parameter example:

    root=live:AOEINTERFACE:e0.1 rd.kiwi.live.pxe

Export of the live iso file via AOE can be achieved using the
vblade toolkit which needs to be available on the exporting
system and compatible with the live operating system.
This Fixes #796
2018-08-07 11:43:36 +02:00
Marcus Schäfer
fd1da38092
Merge pull request #797 from SUSE/drop_dmraid
Delete dmraid aka: softraid soft/fakeraid support
2018-08-06 16:51:15 +02:00
Marcus Schäfer
6608c7f575
Run schema validation/update per XSL stylesheets 2018-08-06 12:23:53 +02:00
Marcus Schäfer
30c11dc82d
Added XSL stylesheet to auto update schema
Drop oem-ataraid-scan from oemconfig if specified
2018-08-06 12:23:53 +02:00