Commit Graph

66 Commits

Author SHA1 Message Date
Marcus Schäfer
9c0855753a
Fix package conflict for completion file
The completion can only be provided by one package if not
python version specific completion files are provided. Due
to the fix in #920 the completion file must be provided by
another sub-package. This commit moves it to the
kiwi-man-pages package. Actually kiwi man pages provides
more than just the man pages, but also the PDF documentation
and I think the completion information serves the purpose of
documentation to some degree too.
2019-01-24 11:27:48 +01:00
Marcus Schäfer
eb4076bdaf
Fixed file name of completion file
The bash completion file must match one of the alternatives links.
Otherwise the bash completion mechanism will not match. kiwi-ng is
the unique alternative link name compared to the still present
legacy kiwi version and should be used preferably
2019-01-24 09:32:44 +01:00
David Cassany
daab92ae05
Add parted dependency for dracut-kiwi-live package
dracut-kiwi-live requires `partprobe` tool and this is provided by
parted package. Persistent overlay setup fails if parted is not
installed in the image.
2018-11-19 11:19:36 +01:00
David Cassany
5de35d1733
Fix spec to better support Debian and Ubuntu builds
This commit fixes the spec to properly build for Debian and Ubuntu.
More specific:

* update-alternatives path has been adapted
* python3-kiwi are now enabled for Debian 9 and Ubuntu 18.04
2018-11-15 17:07:33 +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
Marcus Schäfer
a1be962200
Use %{ix86} rather than %ix86 in spec template
Clear macro annotation prevents clarity issues
2018-10-19 08:51:47 +02:00
Marcus Schäfer
65c7d71c07
Fixed spec file for gfxboot requires
Require gfxboot but only for the x86 architecture
2018-10-18 17:58:36 +02:00
Marcus Schäfer
8220b6f582
Delete obsolete rhel/fedora doc move
With the fix to use the rpm macro consistently it
is no longer required to move around the docs
2018-10-11 17:35:54 +02:00
Marcus Schäfer
ebe2e746e7
Merge pull request #841 from SUSE/fix_pdf_doc_installation
Fixed package doc install target
2018-10-11 17:12:55 +02:00
Marcus Schäfer
f1042730cb
Fixed package specs for dracut modules on fedora
dracut-network is a separate package on Fedora/RHEL too
2018-10-11 16:03:32 +02:00
Marcus Schäfer
e64ccbe74c
Fixed package doc install target
The spec file uses the %{_defaultdocdir} macro but the
corresponding Makefile target used a hardcoded path which
lead to inconsistencies on debian/ubuntu based systems.
This Fixes #838
2018-10-11 15:29:20 +02:00
Marcus Schäfer
9eaebb15c3
Fixed package specs for dracut modules on debian
btrfs tools are provided by btrfs-tools package and not by
btrfs-progs. In addition dracut-network is a separate package
on debian/ubuntu based distributions. This Fixes #837
2018-10-11 15:04:48 +02:00
Marcus Schäfer
9df816c064
Don't require gfxboot on rhel/fedora 2018-10-09 12:28:46 +02:00
Marcus Schäfer
72b0173208
Added gfxboot to required packages in spec
kiwi calls gfxboot as tool when building live iso images.
Thus this tool provided by the gfxboot package should be
a requirement for kiwi
2018-10-09 12:15:02 +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
711d2ee2c3
Fixed spec template
Directory delimiter missing in call for install_dracut target
2018-09-14 11:38:21 +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
Marcus Schäfer
d30cd0e902
Delete dmraid aka: softraid soft/fakeraid support
In fate#323743 the decision was made to drop dmraid from
the distribution. Along with the low business case for those
controllers and the support for linux softraid via mdadm
we also drop the support in kiwi for oem-ataraid-scan
2018-08-06 12:23:53 +02:00
David Cassany
2f22cad3f8
Modify python-yaml dependency for CentOS and RHEL 7
This commit fixes #785
2018-07-25 08:40:36 +02:00
David Cassany
4e778db916 Add correct GPL-3.0-or-later license
Add the correct license reference in the spec License field

Fixes #732
2018-05-15 19:07:35 +02:00
Marcus Schäfer
d0bd6a27e9
Update spec file to require xorriso 2018-03-22 17:40:54 +01:00
David Cassany
89fe579ffe Remove xml_parse.py shebang in spec
It removes the shebang from the autogenerated file and also removes
the exception in rpmlint to ignore non-executable-script warning.

Fixes #666
2018-03-21 15:54:25 +01:00
Marcus Schäfer
e76e23bc44
Fixed base package requires
kpartx is used by kiwi but was not required in spec
2018-03-13 10:02:16 +01:00
Marcus Schäfer
2d61c91e8e
Fixup python-kiwi base package requires
There is no need for the base package to require multipath.
Those tools are only needed for dracut modules
2018-03-09 11:26:38 +01:00
Adam Majer
57ad4acfd1 Use mkisofs instead of wodim 2018-02-23 13:38:37 +01:00
Marcus Schäfer
6553936265 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
2018-02-14 18:42:49 +01:00
Neal Gompa
12a9dfb0fa Initial support for building Debian/Ubuntu packages in spec
This adds support for producing the main kiwi package as well as the
packages for the dracut modules to be used when building Debian-based
distribution images with KIWI.

The Debian/Ubuntu package is built using debbuild: https://github.com/ascherer/debbuild
2018-02-11 16:10:23 -05:00
Marcus Schäfer
8cc0138eaa
Fixed dracut-kiwi-oem-dump requires setup
on rhel/fedora multipath is provided by device-mapper-multipath
2018-01-24 12:05:53 +01:00
Marcus Schäfer
2d68cbbbd8
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
2018-01-22 14:23:59 +01:00
Marcus Schäfer
8dbd012078
Added required packages for dmraid and multipath 2018-01-22 09:47:36 +01:00
Marcus Schäfer
1f348e8436 Add support for net install in dracut kiwi-dump
This implementes one of the tasks from Issue #576
2018-01-19 14:27:52 +01:00
Marcus Schäfer
6784ea8eeb Added dracut-kiwi-oem-dump subpackage to spec 2018-01-16 16:24:58 +01:00
Adrian Schröter
066cb0be23 add missing deps for docker builds.
Moving kiwi-image:* provides to -requires package
2017-12-11 18:04:55 +01:00
Marcus Schäfer
5b06180b72 Fixed dependencies for dracut-kiwi-lib
Adapt package names for gdisk/gptfdisk and btrfs-progs/btrfsprogs
Install and require fdasd only on s390 architecture
Delete fbiterm requirement since the project seems unmaintained
and the use of the framebuffer terminal is an option in the code
but not mandatory. This Fixes #559
2017-12-04 12:00:38 +01:00
Marcus Schäfer
6b7532d53b
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
2017-11-22 10:20:47 +01:00
Dominique Leuenberger
d0fa1ec471
package: Prepare for Tumbleweed moving to suse_version 1550 2017-11-21 11:37:32 +01:00
Marcus Schäfer
6b66e069ef
Add device-mapper requirement for dracut-kiwi-live 2017-11-21 08:11:20 +01:00
Marcus Schäfer
065b277ff1 Added dracut kiwi oem module and library
A new dracut module kiwi-repart used to be the successor of
the custom kiwi oemboot code to repartition the disk has
been added. Along with the module a dracut library kiwi-lib
will also be delivered.
2017-11-15 11:23:01 +01:00
Marcus Schäfer
a330cff211 Merge pull request #514 from DimStar77/tftp-perm
Changed permissions of /srv/tftpboot to be readable (bsc#940608)
2017-09-29 14:29:37 +02:00
Dominique Leuenberger
ed2844d4f0
Changed permissions of /srv/tftpboot to be readable (bsc#940608) 2017-09-29 10:24:05 +02:00
Marcus Schäfer
ae3db78f74 Merge pull request #505 from SUSE/checkmedia_results_and_plymouth
Checkmedia results and plymouth
2017-09-21 13:51:39 +02:00
Marcus Schäfer
7c3daf4c80
Show results in a dialog 2017-09-21 12:34:55 +02:00
Marcus Schäfer
383c0fa4b8
Fixed package requires for dracut-kiwi-live
On Fedora/RHEL cdrkit is only a source package building other
packages. The package dracut-kiwi-live really needs is
genisoimage
2017-09-19 16:09:18 +02:00
Marcus Schäfer
05fb854b45 Revert "Fixed package requires"
This reverts commit a8d50a5939.
2017-09-14 19:35:08 +02:00
Marcus Schäfer
a8d50a5939
Fixed package requires
On Fedora xattr is provided by python[3]-pyxattr
2017-09-14 18:28:06 +02:00
Marcus Schäfer
5c6d3cca12
kiwi-boot-requires only required for suse(obs) 2017-09-14 18:10:52 +02:00
Marcus Schäfer
b411934194 Added kiwi-overlay dracut module and package
Package dracut-kiwi-overlay providing kiwi-overlay dracut module
2017-09-06 17:08:05 +02:00
Marcus Schäfer
f939de53be Added kiwi-live dracut module and package
Package dracut-kiwi-live providing kiwi-live dracut module
2017-09-06 09:53:18 +02:00
Ludwig Nussel
285847be3d add Leap 15 macros 2017-08-11 15:01:16 +02:00
Ludwig Nussel
db8f09cbc8 leap_version is deprecated. use sle_version+is_openuse instead 2017-08-11 15:01:09 +02:00