Commit Graph

120 Commits

Author SHA1 Message Date
Marcus Schäfer
cbced042c5
Put supported live image iso types into defaults 2016-01-13 12:39:55 +01:00
Marcus Schäfer
3710354997
Added live ISO grub2 efi template and setup 2016-01-13 12:04:09 +01:00
Marcus Schäfer
ecfa3136b5
pep8 fixes 2016-01-12 23:08:51 +01:00
Marcus Schäfer
c196705f54 Continue with LiveImageBuilder class
Added isolinux bootloader setup, finished live build procedure
Live metadata injection still missing. grub2 efi boot for live
image still missing
2016-01-12 22:19:07 +01:00
Marcus Schäfer
ed7be57e6e
Fixed Makefile target to build data structures
A change in kiwi/schema/kiwi.rnc triggers the build of the
schema rng version as well as an auto update of the data
structures via python's generateDS. The intermediate xsd
schema format is only relevant for the data structure
creation process
2016-01-12 10:38:53 +01:00
Marcus Schäfer
8b056f9928
Started with LiveImageBuilder class
Added interface and required steps. tests and implementation
are missing and will follow
2016-01-10 19:12:58 +01:00
Marcus Schäfer
8b2a5690d1 Added archive builder 2016-01-10 14:46:29 +01:00
Marcus Schäfer
0bd3dc7856
Added repo handling to compat caller
Also added process execution with translated arguments
2016-01-09 21:56:41 +01:00
Marcus Schäfer
fe4eebd690
Add compat translation for prepare/create/upgrade 2016-01-08 14:01:07 +01:00
Marcus Schäfer
eae8f9caef
Added kiwicompat to support legacy commandline 2016-01-05 17:01:35 +01:00
Marcus Schäfer
91c0b672ce
Added install pxe archive support 2016-01-05 15:40:40 +01:00
Marcus Schäfer
1a15ee0ba6
Added warning message if pxedeploy section is used
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
2016-01-05 12:24:03 +01:00
Marcus Schäfer
3ef9bcbff2
cleanup test data to be consistent 2016-01-05 11:46:43 +01:00
Marcus Schäfer
17402c42ba
Added recovery setup 2016-01-05 11:36:10 +01:00
Marcus Schäfer
c081e364e5 Added DiskFormatGce class implementation 2016-01-04 13:15:40 +01:00
Marcus Schäfer
a5bc05db6d
Fixed suffix name for compressed archives 2016-01-04 10:30:05 +01:00
Marcus Schäfer
c7567338a5
Added creation of gnu and xz archives to tar class 2016-01-02 19:17:00 +01:00
Marcus Schäfer
0e03524a09
Refactor result collection
Put the creation of a result object into the builder classes
and return them from there. The builder instances knows about
the results not the task instances
2016-01-02 18:42:14 +01:00
Marcus Schäfer
4afa876062 Fixed option handling for vmdk format 2016-01-01 22:55:09 +01:00
Marcus Schäfer
c408114b39 Activate disk format building in disk builder
If disk format and install media is configured together only
the install media will be built and a warning message for
skipping the disk format is shown
2016-01-01 22:09:34 +01:00
Marcus Schäfer
87d7273c86
Added custom argument handling for disk formats 2016-01-01 21:03:47 +01:00
Marcus Schäfer
7ddb0ae86b
Added DiskFormat factory 2016-01-01 19:18:29 +01:00
Marcus Schäfer
660bd9ad28
Added DiskFormatVmdk class implementation 2016-01-01 19:07:19 +01:00
Marcus Schäfer
00b8ae1066
pep8 fixes 2015-12-29 18:36:42 +01:00
Marcus Schäfer
0bc56e824d
Added DiskFormatVhdFixed class implementation 2015-12-29 18:34:42 +01:00
Marcus Schäfer
4340064648
Delete unused test data symlinks 2015-12-29 18:33:47 +01:00
Marcus Schäfer
b1ba8d5e10
Added DiskFormatVhd class implementation 2015-12-23 16:38:40 +01:00
Marcus Schäfer
b8192a6c45
Added DiskFormat base class
Also added implementation for DiskFormatQcow2.
More format classes will follow next
2015-12-23 12:57:54 +01:00
Marcus Schäfer
a0d527777a
Fixed import of kernel parameters including spaces
Kernel parameters like PRODUCT_TYPE=“PRODUCT BANANA” breaks
the code in includeKernelParameters. This patch allows spaces
for values in a way that it replaces the embedded whitespace
with \030 before parsing and then reverting after parsing.
Thanks to Jay Nitikman for providing the patch
2015-12-23 10:58:35 +01:00
Marcus Schäfer
6793fe6d02
Fixed LUKS setup for dracut
The system image has to provide /etc/crypttab to allow dracut
to create a working initrd for reboot. In addition the name
of the luks map must be 'luks' to make dracut happy.
2015-12-22 19:44:49 +01:00
Marcus Schäfer
d2f71d0b0c
luks setup triggers boot partition by default 2015-12-22 18:34:56 +01:00
Marcus Schäfer
a724baf75e Add LuksDevice class and implementation
Also implemented luks support in DiskBuilder
2015-12-22 14:13:11 +01:00
Marcus Schäfer
54726ba9d7
Handle /boot/vc files for Raspberry Pi
openSUSE Tumbleweed raspberrypi-firmware[-branding-openSUSE] packages
have been updated to install files to /boot/vc rather than /boot.
Ensure that all files in /boot/vc are provided in image/loader for
further reference
2015-12-22 09:39:36 +01:00
Marcus Schäfer
9bf7f110ae
Refactor file system check in boot code 2015-12-22 09:37:00 +01:00
Marcus Schäfer
742a8723f3 Make sure VolumeManager instance updates root map
An instance of volume manager could cause the creation of a new
device e.g in case of LVM. The master device map in the disk
builder has to be updated with this device
2015-12-21 16:53:16 +01:00
Marcus Schäfer
d8efad6db4
Fixed unconditional lookup of boot partition id 2015-12-21 16:23:45 +01:00
Marcus Schäfer
05c3ccadcd Package check for packages marked for deletion
If none of the packages to become deleted are installed we
will raise an error, basically to force people to fixup the
image description
2015-12-21 12:18:53 +01:00
Marcus Schäfer
39aae1e154 Better error message for call with unknown command
If kiwi is called with an unknown command an error message
showing which commands actually exists should be shown
2015-12-21 12:18:53 +01:00
Marcus Schäfer
fe2ddcfad9
Fixed user group creation
The command name is groupadd not addgroup
2015-12-21 11:32:11 +01:00
Marcus Schäfer
731069daf1
Fixed label and UUID support for XFS creation 2015-12-21 10:19:37 +01:00
Marcus Schäfer
c8e58b5838
Traverse dictionary in ordered mode 2015-12-21 10:07:34 +01:00
Marcus Schäfer
a04d34e145
Return sorted lists for packages/archives 2015-12-21 09:53:01 +01:00
Marcus Schäfer
cf0bc65667
Traverse dictionary in ordered mode 2015-12-21 09:43:53 +01:00
Marcus Schäfer
a843a78804
Traverse dictionary in ordered mode 2015-12-21 09:17:46 +01:00
Marcus Schäfer
115ee5d4bd
Traverse dictionary in ordered mode 2015-12-21 09:12:03 +01:00
Marcus Schäfer
cd3ae5e3c5 Added __githash__ to version.py
Any time the version.py is changed and committed the git ident
will be reset by git. After a checkout of version.py the ident
will be updated in version.py to the git commit id of version.py
Whenever we relase a new kiwi version the process is as follows:

1. run bumpversion to set the version for the release
2. run tox to create the source tarball for the release
   We have to make sure tox calls a git checkout of
   version.py
2015-12-18 16:46:04 +01:00
Marcus Schäfer
65466ea8e7
Consolidate use of Makefiles for schema conversion
As we are going to switch to tox the Makefile setup should be
cleaned up. The make targets to build xsd and rng schemas has
been moved to the master Makefile
2015-12-17 15:46:58 +01:00
Marcus Schäfer
34f98a7458
Consolidate use of Makefiles for locale setup
As we are going to switch to tox the Makefile setup should be
cleaned up. The make targets to handle po files and their
installation has now been moved to the master Makefile
2015-12-17 15:41:56 +01:00
Marcus Schäfer
712c1b6053
Update translation po files with template 2015-12-17 15:29:37 +01:00
Marcus Schäfer
cfd66dd6ec
Consolidate use of Makefiles for compiling tools
As we are going to switch to tox the Makefile setup should be
cleaned up. I'm going to move the various places and its tasks
into one master Makefile to make it easier to move the targets
one after the other into a tox setup.
2015-12-17 14:43:18 +01:00