Commit Graph

274 Commits

Author SHA1 Message Date
Marcus Schäfer
8dbf932c05
Fixed host to image root data setup
On bind mounts check if the origin path exists on the host.
On copy check if the origin file exists on the host
2016-02-17 10:56:40 +01:00
Marcus Schäfer
a5170050cc
Fixed deactivate_systemd_service
Check if the service file exists, if not there is no need
to deactivate an non existing service.
2016-02-17 10:54:58 +01:00
Marcus Schäfer
8caa8dcc02 Use alternatives mechanism for completion file
This avoids the package conflict with the legacs kiwi version
2016-02-17 08:56:34 +01:00
Marcus Schäfer
2a6a55ddd0
Weaken kiwi-tools requirement 2016-02-16 08:49:41 +01:00
Marcus Schäfer
406749db42
Handle 32bit Intel arch as ix86 in boot code 2016-02-15 12:59:54 +01:00
Marcus Schäfer
4d1fcbad37
Allow building 32bit bios images 2016-02-15 12:46:07 +01:00
Marcus Schäfer
e3bbd427d8
Delete %post from kiwi-pxeboot
We do not provide a default config file for the pxe setup anymore.
There is no good default file we can provide here because we don't
know how the user has configured a pxe image. The documentation
should explain how to setup the pxe config and infrastructure with
the help of the static data provided by the kiwi-pxeboot package
2016-02-15 10:57:07 +01:00
Marcus Schäfer
2df90b0c34 Don't require python-Sphinx at build time
Sphinx is not available on all platforms and required only to
build the manual pages. Thus the make build target can build
the man pages and pack the result into the source tarball
2016-02-15 10:53:58 +01:00
Marcus Schäfer
0114a28bef
Don't strip ctc_configure from initrd
ctc_configure is used on s390 images
2016-02-15 10:08:36 +01:00
Marcus Schäfer
8d738b31d1
Added man page for result bundle command 2016-02-15 00:14:22 +01:00
Marcus Schäfer
bdd80502b8
Added result bundler 2016-02-15 00:08:55 +01:00
Marcus Schäfer
474262413f
Added kiwi-boot-requires buildservice meta package 2016-02-12 21:17:06 +01:00
Marcus Schäfer
887195b937
Delete unused .releasetags helper
Fixes #9
2016-02-11 17:27:33 +01:00
Marcus Schäfer
d421fc7f14
Update README 2016-02-11 17:24:18 +01:00
Marcus Schäfer
4284c180ca
Update README 2016-02-11 17:22:16 +01:00
Marcus Schäfer
64a7b83958
Added system update manual page 2016-02-11 17:08:30 +01:00
Marcus Schäfer
2ec23f212e
Create manual pages
Create man pages for result list, system build, prepare and create
2016-02-11 16:24:09 +01:00
Marcus Schäfer
2e342fe299
Added pv xen drivers to boot descriptions
Beginning with SLE12 SP2 the default kernel is a pvops
capable kernel. This means it can be used in a Xen HVM full
virtual machine as well as in a PV - paravirtual machine.
However it's required to keep the paravirtual net, block
modules in the initrd. As their location also has move
an update of the boot image descriptions was necessary
2016-02-11 11:31:45 +01:00
Marcus Schäfer
bd41015972
Fixed wait message in waitFor boot functions
Better indicate for what we are waiting
2016-02-11 11:25:49 +01:00
Marcus Schäfer
196ea0dc41
Load xen modules by alias only 2016-02-11 11:24:50 +01:00
Marcus Schäfer
8c08dcc54c Fixed validation of custom root cmdline variable
A variable of the format root=LABEL=x was not correctly validated
2016-02-11 11:19:57 +01:00
Marcus Schäfer
bc7b0d6af9 Change default ec2 root_cmdline_parameter
For ec2 based firmware the value root=UUID=x is provided
instead of a static device node
2016-02-11 11:19:57 +01:00
Marcus Schäfer
a7fb5649f5 Refactor internal boot image task
Make a factory out of the task and allow to have e.g
a dracut boot image task at a later point in time.
The BootImageBase class creates an interface for this
implementation. So far only BootImageKiwi is implemented
2016-02-11 11:19:57 +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
1bd61fda4b
Fixed archive_builder_test
Mock platform value
2016-02-10 11:41:45 +01:00
Marcus Schäfer
54421f1240
Added compatibility information to main man page 2016-02-10 11:19:34 +01:00
Marcus Schäfer
bc45bcc36f
Put arch and version to output image file name 2016-02-10 10:33:11 +01:00
Marcus Schäfer
d6e65f5d4a
Added quick start example to main kiwi manual page 2016-02-10 09:07:44 +01:00
Marcus Schäfer
ebc0a4ef43
Fill master manual page with content 2016-02-09 22:37:52 +01:00
Marcus Schäfer
a1aab40cae
Added git like command completion
Provide a 'Did you mean' log message for unclear task names
2016-02-09 21:12:03 +01:00
Marcus Schäfer
aa6aab934b
Update README 2016-02-09 17:54:07 +01:00
Marcus Schäfer
e083b73453
Fixed non-executable-script rpmlint warning 2016-02-09 17:47:51 +01:00
Marcus Schäfer
c3c89b12d6
Man pages are below level 2 2016-02-09 17:41:52 +01:00
Marcus Schäfer
59080fbda8
Fixed rpm-buildroot-usage rpmlint warning 2016-02-09 17:40:25 +01:00
Marcus Schäfer
1171dd6289
Fixed non-executable-script rpmlint warning 2016-02-09 17:36:53 +01:00
Marcus Schäfer
a476cfc097 Delete unused .md5 script 2016-02-09 17:30:22 +01:00
Marcus Schäfer
b2bb34f57f Fixed rpm package build 2016-02-09 17:30:22 +01:00
Marcus Schäfer
bcaf135f4c
Fixed dracut call
Always create a generic initrd, don't pass -H
2016-02-09 16:23:50 +01:00
Marcus Schäfer
2bb73c33f4
Fixed custom args setup for vmdk format
custom args is a hash with option/value pairs. For vmdk the option
could be e.g adapter_type=value and the value is None. This is by
intention because qemu which receives those type of options allows
only the syntax "-o option=value". The kiwi code setting up the
options did not check correctly if there really is a value for
e.g adapter_type
2016-02-09 15:43:15 +01:00
Marcus Schäfer
ff09a80349
Allow alternative locations for grub installation
Different distributions install grub2 to different places.
Therefore kiwi should not use a fixed location but allow
to lookup grub data at several places
2016-02-09 15:28:06 +01:00
Marcus Schäfer
366ffa77ed Fixed unit test for fix_boot_catalog on big endian 2016-02-09 11:22:27 +01:00
Marcus Schäfer
6f50830ccd
Fixed unit test for fix_boot_catalog on big endian 2016-02-09 11:16:33 +01:00
Marcus Schäfer
52ad8d89f0
Make sure to cleanup yum requests after processing 2016-02-07 19:47:56 +01:00
Marcus Schäfer
f540dc4b04
Fixed CommandIterator
check for output before sending an iteration stop
2016-02-07 18:12:31 +01:00
Marcus Schäfer
3b01fd2f32
Fixed stateful copy of repository section
Profiles are not copied because they might not exist in
the target description
2016-02-07 17:36:49 +01:00
Marcus Schäfer
ef2dfd2681
Fixed host to root path patcher
Don't be confused by multiple /'es
2016-02-07 15:45:15 +01:00
Marcus Schäfer
637d9b54ab Added support for yum package manager 2016-02-07 15:16:10 +01:00
Marcus Schäfer
ca1539a98f Fixed use of iso mounted repositories
When using an iso as repo, kiwi mounts it to a temporary
location. The location is different for each build and
therefore the zypper repo file needs to be recreated for
any new build in this situation
2016-02-07 14:52:34 +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
0624b59588 Added yum repository support 2016-02-07 14:52:12 +01:00