Commit Graph

1079 Commits

Author SHA1 Message Date
Marcus Schäfer
f2e4456d55 Bump version: 9.6.0 → 9.6.1 2017-05-11 15:58:52 +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
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
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
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
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
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
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
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
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
David Cassany
d4681841e7 Make sure debian repositories database is populated before install
This commit includes an 'apt-get update' call before any 'apt-get
install' command. This way the packages database is always ready,
even if no bootstrap procedure has been executed.
2017-04-11 16:12:11 +02:00
David Cassany
cc5da88c73 Bypass bootstrap procedure if no bootstrap packages section
This commit updates kiwi to bypass bootstrap procedure in case
there is no bootstrap packages section.

It also adds extra validation in root_bind.
2017-04-11 16:02:27 +02:00
Marcus Schäfer
d79ee9217e Bump version: 9.4.9 → 9.4.10 2017-04-10 19:16:57 +02:00
Marcus Schäfer
8459843b2a Merge pull request #295 from SUSE/fix_plus_recommended
Add method to setup installation of recommended packages
2017-04-10 19:08:28 +02:00
Marcus Schäfer
a83c78bc0e Merge pull request #294 from SUSE/handle_unknown_uris_for_derived_images
Added support for unknown uri types for base image references
2017-04-10 19:07:41 +02:00
David Cassany
19bf90073a Add warning logs for unkown base image URIs 2017-04-10 18:12:52 +02:00
Marcus Schäfer
f752489038 Merge pull request #296 from SUSE/uefi_live_builder_fix
Uefi live builder fix
2017-04-10 16:38:38 +02:00
David Cassany
40dae55bc3 Rename SLE13 to SLE15 2017-04-10 15:46:05 +02:00
David Cassany
1f05b212b3 Add method to setup installation of recommended packages
With this commit package manager are always set to include only
required packages or set to include required and recommended
packages.

This commit fixes #285
2017-04-10 15:28:10 +02:00
Marcus Schäfer
de7ee77b84
Follow up fix for grub2 setup in live builder
The live iso builder still used a fixed boot/grub2 path
but due to the refactoring this path is now distro dependant
and should be obtained dynamically
2017-04-10 15:04:33 +02:00
Marcus Schäfer
a66c5141a6
Cleanup use of bootloader path in boot code
Instead of repeating the bootloader path only specify it
once per setup path
2017-04-10 15:03:04 +02:00
Marcus Schäfer
14e0b46c1d Bump version: 9.4.8 → 9.4.9 2017-04-06 15:51:32 +02:00
Marcus Schäfer
5e91259a74 Merge pull request #292 from SUSE/keep_base_image_in_OCI_format
Keep imported image in OCI format instead of docker
2017-04-06 15:49:43 +02:00
Marcus Schäfer
db680d1e81 Bump version: 9.4.7 → 9.4.8 2017-04-05 11:34:40 +02:00
Marcus Schäfer
638f94b551
Fixup grub2 template parameters
The boot_directory_name parameters was missing for live and
install image builds
2017-04-05 11:33:26 +02:00
Marcus Schäfer
58d9415112 Bump version: 9.4.6 → 9.4.7 2017-04-05 11:21:59 +02:00