Commit Graph

1539 Commits

Author SHA1 Message Date
Marcus Schäfer
366ffd424a
Restructure low level topic (iso_to_usb)
The low level topic references information from the base
topic. In this case the name of the previously built image.
I think we should provide information on each low level
topic which references information from a base topic.
2017-05-16 09:47:52 +02:00
Thomas Schraitle
03cafdc113 Separate low-level topics (dumping)
* Separate the high-level (building) from the low-level part (dumping)
* Introduce a subsection ("Working with Images"); not sure, if this is
  useful under "Building Images"
* Enhance with some (general) advise about booting from USB
2017-05-15 16:14:01 +02:00
Thomas Schraitle
2d294e8a31 Provide missing _hybrid_iso label 2017-05-15 13:44:36 +02:00
Thomas Schraitle
9cf9952db5 Revised example for issue #323
* Add abstract (use `.. sidebar`, not sure if we should use it)
* Collect all concept oriented text in the beginning
* Introduce procedure and create steps
* Remove lonely subsection and combine it with the procedure

TODO:
* Review
* Decide, if `.. sidebar` is ok (or should we better use `.. topic`?)
* Add additional, related information?
2017-05-12 11:42:55 +02:00
Marcus Schäfer
f2e4456d55 Bump version: 9.6.0 → 9.6.1 2017-05-11 15:58:52 +02:00
Marcus Schäfer
7bda594a48 Merge pull request #324 from SUSE/doc_redesign
Refactor documentation layout and structure
2017-05-11 15:58:22 +02:00
David Cassany
7e47e549b9 Update build docker images documentation
This commit includes steps to install umoci and skopeo, descriptions
for the configurable metadata in KIWI and some simple style fixes.
2017-05-11 12:51:55 +02:00
Marcus Schäfer
1257d2e439 Fixed tox.ini doc target
location of schema docs has changed, and we better disable
the spell check as long as not all unknown technical terms
are added to the wordlist.txt
2017-05-10 16:32:23 +02:00
Marcus Schäfer
2046220c07 Refactor documentation layout and structure
The current design of the documentation does not allow for
continous improvement and development. It's missing a basic
structure and concept for documenting step-by-step workflows
and generic explanations.
2017-05-10 16:32:23 +02:00
Marcus Schäfer
345b3c9e9d Merge pull request #322 from Jellyfrog/patch-1
Use correct service name variable
2017-05-09 10:15:03 +02:00
Marcus Schäfer
b4173b0cd5 Merge pull request #320 from Conan-Kudo/yumdnf-fixpkgexcldocstr
Remove erroneous statement in request_package_exclusion() for Yum+DNF
2017-05-08 14:31:31 +02:00
Jellyfrog
cde129de2c Use correct service name variable 2017-05-08 14:20:17 +02:00
Neal Gompa
dffc2618e1 Remove erroneous statement in request_package_exclusion() for Yum+DNF 2017-05-05 19:12:34 -04:00
Marcus Schäfer
be4aa08a4e
Fixed markup in contributing chapter
The headline of a subsection wrongly indicates a toplevel entry
2017-05-05 09:04:42 +02:00
Marcus Schäfer
92bfcc7362 Merge pull request #315 from Conan-Kudo/yumdnf-pkgexclude
Add support for excluding packages when using Yum or DNF
2017-05-02 15:20:56 +02:00
Marcus Schäfer
72ec6080d5 Merge pull request #317 from SUSE/fix_UnionFST_variable_in_netboot
Evaluate UNIONFS_CONFIG filesystem
2017-05-02 10:23:13 +02:00
Marcus Schäfer
e1c4f05526 Merge pull request #314 from Conan-Kudo/zypp-exclude-commentfix
Fix comment about Zypper locks to reflect reality
2017-05-02 10:12:54 +02:00
David Cassany
7fad743ecc Evaluate UNIONFS_CONFIG filesystem
This commit makes sure the filesystem is parsed from the
UNIONFS_CONFIG configuration variable when the PXE image is
loaded to a block device.

This commit fixes #316
2017-04-28 12:33:12 +02:00
Marcus Schäfer
156b4bb803
Fixed GPL license text to match headers and spec
source headers and spec file is pointing to GPL v3 but the
license file was still at version 2
2017-04-28 12:13:30 +02:00
Neal Gompa
808a92ffe1 Add support for excluding packages when using DNF 2017-04-27 17:32:22 -04:00
Neal Gompa
e2d6642637 Add support for excluding packages when using Yum 2017-04-27 17:32:03 -04:00
Neal Gompa
372c14ed48 Fix comment about Zypper locks to reflect reality 2017-04-27 16:21:46 -04:00
Marcus Schäfer
e3a7d9a598 Bump version: 9.5.0 → 9.6.0 2017-04-26 17:29:31 +02:00
Marcus Schäfer
c3e96e0702 Merge pull request #313 from SUSE/container_commandline_options
Additional container commandline options
2017-04-26 17:24:13 +02:00
Marcus Schäfer
cec1512ba1 Additional container commandline options
Added --set-container-derived-from and --set-container-tag
commandline options which allows to overwrite the data set
in the XML configuration
2017-04-26 16:47:15 +02:00
Marcus Schäfer
1b082f9fee Merge pull request #312 from SUSE/derived_container_source_locators
Derived container source locators
2017-04-26 16:44:17 +02:00
Marcus Schäfer
9487a189ed Implement obsrepositories source on derived_from
The following reference to a derived container:

    obsrepositories:/container#latest

Will be translated into the following buildservice
local path:

    /usr/src/packages/SOURCES/containers/_obsrepositories/container#latest
2017-04-25 17:48:16 +02:00
Marcus Schäfer
f58d96ea6c Implement obs source on derived_from
The following reference to a derived container:

    obs:/project/repo/container#tag

Will be translated into the following buildservice
local path:

    /usr/src/packages/SOURCES/containers/project/repo/container#tag
2017-04-25 17:48:16 +02:00
Marcus Schäfer
cd8ec243ad
Use urlparse to detect uri scheme
The source location postfix can contain several different
formats e.g :/, or :// or even just :, python's urlparse
is able to cope with all that which allows to work with
the url scheme base name and thus makes handling this
code more robust
2017-04-25 15:25:04 +02:00
Marcus Schäfer
bdc0afaa02 Bump version: 9.4.11 → 9.5.0 2017-04-24 13:22:03 +02:00
Marcus Schäfer
e96f9b5123 Merge pull request #308 from SUSE/OCI_images_support
Add support for OCI images
2017-04-24 13:21:34 +02:00
David Cassany
38dbd7e76d Include '--delete' in OCI images DataSync
This commit includes #310 patch for OCI images.

It also corrects the end of line format for kiwi/container/docker.py
and test/unit/container_image_docker_test.py, so flake tests are all
green.
2017-04-24 12:29:44 +02:00
David Cassany Viladomat
269a220998 Merge branch 'master' into OCI_images_support 2017-04-24 12:18:53 +02:00
Marcus Schäfer
17cc60cede Merge pull request #301 from SUSE/enable_clearing_docker_commands
Add clear attribute for entrypoint and subcommand sections
2017-04-24 12:11:24 +02:00
David Cassany
b26969d53c Add clear attribute for entrypoint and subcommand sections
This commit adds the possibility of clearing asny subcommand or
entrypoint. This is relevant for docker derived images, as they
inherit the configuration and it might lead to some bad behavior.
2017-04-24 11:59:45 +02:00
Marcus Schäfer
d4a3b0b696 Merge pull request #305 from Conan-Kudo/nodeletingrepos
Do not purge the repositories before inserting them
2017-04-24 11:53:42 +02:00
Marcus Schäfer
85bb0345f5 Merge pull request #310 from SUSE/add_delete_flag_in_dervied_sync
Include --delete flag in DataSync for docker images
2017-04-23 10:04:01 +02:00
Marcus Schäfer
4b6b985724 Merge pull request #302 from SUSE/support_for_weak_and_strong_dependencies
Support for weak and strong dependencies
2017-04-23 09:58:26 +02:00
David Cassany
5d79d1580f Include --delete flag in DataSync for docker images
This commit includes the --delete flag in order to synchronize the
docker images. This is relevant for derived images where the new
layer might not only add files, but also remove something from the
base image.

Fixes #309
2017-04-20 12:55:24 +02:00
David Cassany
c35f9f3b23 Add support for OCI images
This commit adds support for OCI images. Most of the docker related
code is reused for OCI classes and Docker classes have been refactored
so now they are a splecialization of the OCI classes. It is done this
way since KIWI internally only uses OCI format to operate with
containers, therefore docker images just differ from OCI images by
the way they are packaged or unpackaged.
2017-04-19 16:44:33 +02:00
David Cassany Viladomat
9dbe69b798 Merge pull request #303 from Conan-Kudo/yum-reposdir-fix
Fix default reposdir path for Yum
2017-04-19 10:42:10 +02:00
David Cassany Viladomat
730af454a3 Merge pull request #307 from Conan-Kudo/setaptroot
Define correct default locations for sources-dir and preferences-dir
2017-04-18 16:46:42 +02:00
Neal Gompa
47b799b261 Do not purge the repositories before inserting them
There are no good reasons to be purging the repo directories, especially
when it is common for some distributions (Red Hat/CentOS/Fedora, for example)
to ship repository configuration as packages. Deleting them puts the package
manager in the system into a weird state, so we want to avoid this.
2017-04-13 22:12:41 -04:00
Neal Gompa
eed6d36761 Define correct default locations for sources-dir and preferences-dir
In order to ensure that the defined repositories in the KIWI configuration
are set to the correct places for installing into the image, the
sources-dir and preferences-dir need to be redefined to point to the
in-image location, as it is done for the other package managers.
2017-04-13 22:05:46 -04:00
Neal Gompa
5af6981815 Fix default reposdir path for Yum 2017-04-13 18:18:20 -04:00
David Cassany
d521f8af54 Add require/recommend installation support for yum
This commit adds support to install required only or required plus
recommended packages using yum as the package manager.
2017-04-12 16:42:28 +02:00
David Cassany
6eeced1010 Add support for required/recommended packages
This commit enables support to install only required packages
or install required plus recommended packages.
2017-04-12 16:42:15 +02:00
David Cassany
0d0fd33a42 Include 'plusRecommended' management for dnf
Add support to enable/disable installation of recommended packages
for dnf package manager. With this commit 'plusRecommended'
patternType triggers on installation of recommended packages, which
is turned off by default.
2017-04-12 16:42:05 +02:00
Marcus Schäfer
234b8ac5b3 Bump version: 9.4.10 → 9.4.11 2017-04-12 14:09:43 +02:00
Marcus Schäfer
7e24c41ecc Merge pull request #300 from SUSE/make_sure_apt_is_updated_before_install
Make sure debian repositories database is populated before install
2017-04-12 14:08:55 +02:00