This commit ensure that the arch attribute of each package section
is parsed as a comma separated list. This way, as in previous kiwi
versions, each package might be suitable for one or more specified
architectures.
This commit adds a tester method to check if there is any
repository marked as imageinclude. The method is used to
execute import_repositories_marked_as_imageinclude
method only when it is actually needed.
In zypper zypp.conf can be setup to prevent the installation
of %doc marked items from rpm packages. The <rpm-excludedocs>
section in the kiwi XML description is used to provide this
functionality. So far this feature is only implemented for
zypper. References #133
As part of the machine section it is possible to setup a custom
entry which is stored in the machine configuration file. The
evaluation of such an entry for the vmdk (.vmx) config file
was still missing. This Fixes#122
Get_users method has been updated in order to be able to append the
groups attribute when a user is defined in multiple <users> sections in
the description file. Appart from groups, all other user attributes
are ignored if the user was already processed when parsing the description
file.
Get_users_groups method has been also updated so it returns a list of
groups with unique values, keeping the description file order.
The changes here modify the method get_users in xml_state in order
to provide a simple list of users instead of nested lists. Also a new
method to get the groups for a given user has been included in
xml_state. This is done in order to slim down and facilitate the
code in kiwi/system/setup.py. This way users and groups can be handled
in more natural way.
The latest version of generateDS handles <section>true|false</section>
text values in a way that it returns a boolean python type instead
of the text string. With this change the kiwi code has to be adapted
at the level of writing the shell profile which needs the string
value of boolean information
if no <packages type="delete"/> section exists in the target
the code does not add the packages to become deleted. This
patch changes the behavior in a way that a new section is
created
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
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.
The repo setup inside of a buildservice worker uses a static
path below /usr/src/packages/SOURCES/repos/. We need to adapt
the provided obs uri type to match this criteria
Provide an easier to travers data type in xml_state for the
user and groups. The get_users() method returns a list of
tuples which assigns each user list the group name and id
it belongs to
At the moment there is no class to build the pxe client config
file from information provided with the optional pxedeploy
section. However this is not fatal to the build because the file
could be created manually too. Thus a warning message is shown
which will go away when the pxe client config file creation
has been ported