Commit Graph

14 Commits

Author SHA1 Message Date
Dan Čermák
b015b91679
Stop inheriting from object
This is no longer required in Python3
2019-08-22 15:43:27 +02:00
Marcus Schäfer
9602f61a92
Do not create static dev nodes in root init
For compatibility reasons kiwi created a set of static device
nodes when initializing a new image root system. With the
presence of devtmpfs this should no longer be needed. In addition
the static dev node setup now also causes problems on filesystems
like btrfs which was the reason to delete this code now.
This Fixes bsc#1087104
2018-05-28 10:27:49 +02:00
David Cassany
be910bdc74 This commit fixed root_init when running inside the buildservice
This commit fixes regression bug introduced in #422
2017-07-17 12:26:27 +02:00
David Cassany
3efbdba4c7 Revert "Include .buildenv file inside the buildroot"
This reverts commit d30bf4a19f.

This also includes the get_buildservice_env_name method in Defaults
to centralize '.buildenv' occurrences.
2017-07-17 10:36:39 +02:00
David Cassany
a13ac7559d Make sure the KIWI buildroot has the /.buildenv file
This commit makes sure the that the KIWI build root will always
contain the /.buildenv file.

Fixes #421
2017-07-13 16:19:46 +02:00
David Cassany
d30bf4a19f Include .buildenv file inside the buildroot
With this patch if KIWI is running inside the buildservice the
/.buildenv file is copied from the build environment to the build
root of KIWI. At installation time some packages test the existance
of this file in order to know if they are being installed inside the
buildservice or not.

Fixes #421
2017-07-13 11:45:34 +02:00
David Cassany
3355f93aad Fix existing root check, fixes #349
This commit fixes the validation of an existing root directory
for the command 'system build'. System build used to create the root
directory before performing the root existance check, thus the
check was always failing in any case. The root directory is created
inside the RootInit class within the 'create' method.

Fixes #349
2017-05-26 14:48:05 +02:00
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
4ac554355d
Fixup root init with existing host cache
Creating a new root init with a shared location which already
provides directories of the system failed on init of those
directories. Only create the not yet existing directories
2016-10-31 15:18:28 +01:00
Marcus Schäfer
bde93e42d4
Fixup initial directory creation for new root
During testing of alternative cache locations an init
problem with the var/ directory was observed
2016-10-27 12:02:47 +02:00
Marcus Schäfer
719ed8a8ab
Cleanup use of cache location 2016-10-12 11:28:58 +02:00
Thomas Schraitle
8b340bfb57 Refactor RootInit class
Instead of calling multiple subprocesses make use of
the os capabilities for directories, symlinks and
device nodes
2016-06-15 12:33:59 +02:00
Marcus Schäfer
d1e689e00b
Create VMware settings file for vmdk subformat
In order to run or convert the vmdk with VMware products a
settings file is required.
2016-05-11 18:46:02 +02:00
Marcus Schäfer
6b1211b8dd Added evaluation of imageincluded repositories
repositories marked as imageinclude needs to be added
permanently to the image. Fixes #56
2016-04-28 16:54:06 +02:00