Commit Graph

29 Commits

Author SHA1 Message Date
Marcus Schäfer
09a1b7df94 Cleanup unit test
Use only one instance of context manager for all tests
2016-09-21 17:07:55 +02:00
Marcus Schäfer
f938bf8a83 Create fstab entries for persistent devices
Instead of creating the fstab at boot time, those entries which
are generic and not depending on an unknown device name can be
created as part of the image building process.
2016-09-21 17:07:55 +02:00
David Cassany
330291bf9a Setup tests corrected #124 2016-08-19 17:16:42 +02:00
David Cassany
c0bcce3404 Updated the user schema layout
Now each user item may or may not have a groups attribute. The
groups attribute is a comma separated list of group names. If
present the first group name will be the login or primary group,
if not present, the underlying toolchain will assign the default
login group for that user.
2016-07-27 12:26:50 +02:00
David Cassany
2871ca8150 fixing user schema layout 2016-07-26 16:22:33 +02:00
Marcus Schäfer
2fe5f8ad7f Merge pull request #90 from SUSE/debian-based-distro-support
Debian based distro support
2016-06-10 12:17:55 +02:00
Marcus Schäfer
efa5a1b343
Fixed creation of password hashes
kiwi uses the openssl command for this purpose but did
not strip the newline at the end of the hash output
2016-06-09 11:27:31 +02:00
Marcus Schäfer
e16baa00dd Added PackageManagerApt class
Support installation/removal of deb packages
Related to #37
2016-06-08 20:41:09 +02:00
Bo Maryniuk
06b95b727d Replace 'builtins.open' with patch_open decorator 2016-06-07 17:54:24 +02:00
Marcus Schäfer
06a7472a4f Refactor import_description
split code into more readable parts
2016-05-11 22:49:22 +02:00
Marcus Schäfer
030550a280
Fixed script/archive lookup
If a script or archive is specified with an absolute path
in the image description, kiwi should not assume this path
to exist below the image description directory but just take
the absolute path as it is. Fixes #70
2016-05-10 13:02:52 +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
Marcus Schäfer
6df0282d1c Added support for SELinux file security contexts
Systems using SELinux require the filesystem data to be labeled
according to a security context configuration. kiwi now checks
for the presence of /etc/selinux/targeted/contexts/files/file_contexts
and labels accordingly if it exists. This Fixes #52
2016-04-25 12:50:10 +02:00
Marcus Schäfer
773033eebe
Refactor SystemSetup class
the information about the description_dir is part of the
provided xml_state instance. There is no need to pass that
information along twice
2016-03-24 16:41:47 +01:00
Marcus Schäfer
cc8b18e4ea
Fixed use of derived_description_dir
Only in import_description we need to check for both locations
2016-03-24 16:29:28 +01:00
Marcus Schäfer
d8c8480fd4
Make sure import_description preserves archives 2016-03-24 16:00:48 +01:00
Marcus Schäfer
c4c3c7054f
Fixed 32bit x86 builds
Put it all under the ix86 namespace
2016-03-16 17:31:46 +01:00
Marcus Schäfer
e6cc5bfa09 Move from nose to pytest
nose is no longer maintained, thus we have to move to another
testing system. This commit updates the tox setup and all tests
to use pytest instead of nose.
2016-03-14 12:23:14 +01:00
Marcus Schäfer
612c574148
Continue Refactor into subpackage
system install, update, size, users, result should have their own namespace
2016-03-07 17:33:39 +01:00
Marcus Schäfer
80bb7c5e78 Consolidate all rsync calls into DataSync class 2016-03-07 12:11:15 +01:00
Marcus Schäfer
3a2c3554fc Added the following system setup methods
export_rpm_package_list and export_rpm_package_verification
Used to provide rpm package metadata and verification information
for rpm based image builds
2016-02-21 21:05:24 +01:00
Marcus Schäfer
40e6308aa9 Port application from python 2.7 to 3.4
For new applications like this kiwi version and its use cases
it is better to base it on a more recent python version
2016-02-17 22:38:38 +01:00
Marcus Schäfer
e9a0b2c198
Added export_modprobe_setup method to SystemSetup
export_modprobe_setup copies the contents of etc/modprobe.d
to a specified target root directory. The method is used to
transfer the modprobe configuration from the system image
to the boot image
2016-02-10 16:26:35 +01:00
Marcus Schäfer
b98908e512 Check if config file exists
Before updating a config file, check if it exists. If
it is not present skip the configuration and print a
warning message
2016-02-07 14:52:12 +01:00
Marcus Schäfer
11ff0f0f0f
Use bash to call config scripts 2016-01-25 21:35:06 +01:00
Marcus Schäfer
15544f9a8c
Allow to build directly from buildservice checkout 2016-01-25 16:13:16 +01:00
Marcus Schäfer
17402c42ba
Added recovery setup 2016-01-05 11:36:10 +01:00
Marcus Schäfer
4a4eb6c646
Refactor source code structure
All files referenced by kiwi should live below the kiwi
namespace and should be referenced by the resource_filename()
method from the pkg_resources
2015-12-17 11:26:49 +01:00
Marcus Schäfer
09daca60c0
KIWI - appliance builder next generation
a rewrite of the current kiwi from https://github.com/openSUSE/kiwi
2015-12-05 16:17:10 +01:00