Commit Graph

3227 Commits

Author SHA1 Message Date
Marcus Schäfer
fbba0445db
Fixed kiwi-live module setup
The installation of the checkmedia tool is optional and
and not mandatory. In addition activate the media check
verification also through the upstream used rd.live.check
kernel parameter. This is related to Issue #1158
2019-09-24 17:48:39 +02:00
Marcus Schäfer
4ddffd50b1
Bump version: 9.18.16 → 9.18.17 2019-09-20 10:08:19 +02:00
Marcus Schäfer
843e5eaca2
Merge pull request #1204 from OSInside/fix_overlay_module
Make kiwi-overlay module compatible with kiwi-repart
2019-09-20 10:07:54 +02:00
David Cassany Viladomat
7f98e0500a
Merge pull request #1203 from lorenzen-b1/patch-2
fix docu following schema: profile inheritance
2019-09-18 17:53:06 +02:00
David Cassany
8d334b4c92
Make kiwi-overlay module compatible with kiwi-repart
This commit makes the modules provided by dracut-kiwi-overlay and
dracut-kiwi-oem-repart compatible. The main idea of this commit
is forcing the preparation of the overlay rootfs write partition
after kiwi-repart gets into the play. Since kiwi-overlay mounts the
write partitiontition it has to be executed after the kiwi-repart.

For that instead of doing the job using an initqueue event added by a
udev rule we just add the very same logic in pre-mount hook that happens
after the kiwi-repart pre-mount hook thanks to lower priority.

Fixes #1184
2019-09-18 17:47:15 +02:00
Oluf Lorenzen
37fba264da
fix docu following schema: profile inheritance
following the schema the "requires" element needs an attribute "profile"
2019-09-18 17:18:22 +02:00
Marcus Schäfer
98af0e61a9
Bump version: 9.18.15 → 9.18.16 2019-09-17 13:32:32 +02:00
Marcus Schäfer
fab589ac23
Merge pull request #1202 from OSInside/fix_omit_dracut_modules
Fix modules omission for dracut based initrds
2019-09-17 13:31:40 +02:00
David Cassany
09432f4612
Fix modules omission for dracut based initrds
This commit fixes a regression introduced in 07ea23a4. In OEM images
the dracut modules were not properly omitted as the code was evaluating
the wrong variable.

Fixes #1201
2019-09-17 13:11:43 +02:00
Marcus Schäfer
cc0b221651
Merge pull request #1200 from OSInside/fix_force_mbr
Fix GPT to MBR convertion
2019-09-17 09:11:28 +02:00
David Cassany
ebccab2666
Fix GPT to MBR convertion
This commit swaps the order of the command in gpt to mbr convertion
in partitioner.gpt.set_mbr method.

sgdisk by default converts the partition table from MBR to GPT in memory.
The change is never applied unless you provide the -g option forcing to
overwrite the partition table format. If sgdisk does the convertion in
memory and the user does not provide the -g flag it returns an error
code.

The solution applied in this commit is to just run the GPT to MBR
convertion as the last sgdisk command and change partition type before
running the convertion.
2019-09-13 18:01:40 +02:00
Marcus Schäfer
ab6c2786af
Bump version: 9.18.14 → 9.18.15 2019-09-13 11:06:10 +02:00
jpwidera
a408d7d9a9
Fixed user permission
The comand was evaluated as chmod -c -R '...' . This is not the
correct syntax. Removing quotation marks solved problem
and Fixes #1191
2019-09-13 11:03:36 +02:00
Marcus Schäfer
2d65c5bd70
Merge pull request #1195 from OSInside/consolidate_raid_disks
Detect raid compound in root disk detection
2019-09-13 10:13:16 +02:00
Marcus Schäfer
a9aee8a8e3
Detect raid compound in root disk detection
Make sure raid managed storage e.g fake raid is detected
using the correct md device. Fixes #1181
2019-09-13 10:12:44 +02:00
Marcus Schäfer
ea778482f2
Merge pull request #1198 from OSInside/fix_unresolves_in_integration_tests
Some more openstack test refinement
2019-09-13 09:38:20 +02:00
David Cassany
96ec390a9a
Some more openstack test refinement
* remove SLE theme for Yast
* add timezone package
2019-09-12 18:05:54 +02:00
Marcus Schäfer
3962321b04
Merge pull request #1197 from OSInside/fix_unresolves_in_integration_tests
Fix unresolves in integration tests
2019-09-12 17:38:01 +02:00
Marcus Schäfer
b770f75312
Merge pull request #1196 from OSInside/no_multipath_requirement
Do not require multipath in dracut-kiwi-oem-dump
2019-09-12 17:37:26 +02:00
David Cassany
31fc7cd49a
Clean up openstack packages 2019-09-12 17:12:29 +02:00
David Cassany
f4c1478b54
Fix unresolves for x86 integration tests
nfsidmap package is no longer available in TW. It's been renamed to
libnfsidmap1, moreover this is a package already required by nfs-client
and similar packages. Thus gets installed in the modified image
descriptions without having to list it, as it is already a dependency of
another required package.
2019-09-12 16:20:44 +02:00
Marcus Schäfer
641514c7d1
Do not require multipath in dracut-kiwi-oem-dump
Installation of multipath tools triggers storage devices
to be handled as multipath maps in dracut. If the deployment
happens in a non multipath system those devices do not exist
and the system later hangs in the dracut initqueue waiting
for mapper devices that never appears
2019-09-12 15:32:50 +02:00
Marcus Schäfer
176bfce854
Merge pull request #1189 from jpwidera/fake_raid_support
Allows to list fake-raid partitions
2019-09-12 15:30:10 +02:00
jpwidera
b03f52e755 Reverting partsthat are already implemented
This problem is discussed in #1195
2019-09-12 10:32:12 +00:00
jpwidera
b7af21d598 Switched back to original root-device search 2019-09-10 14:42:05 +00:00
Marcus Schäfer
d696c6314d
Bump version: 9.18.13 → 9.18.14 2019-09-10 09:49:43 +02:00
David Cassany Viladomat
b0a42fe931
Merge pull request #1187 from OSInside/overlayroot_integration_test
Adding overlayroot integration test
2019-09-04 16:11:13 +02:00
David Cassany Viladomat
14bf327f7e
Merge pull request #1188 from OSInside/add_wildcards_flag_mksquashfs
Add the `-wildcards` flag in mksqashfs call
2019-09-04 16:10:51 +02:00
Jan Widera
4a370416e8 Allows to list fake-raid partitions
Solves problem in #1181
2019-08-30 11:29:40 +00:00
David Cassany
afc19cf69f
Add the -wildcards flag in mksqashfs call
This commit ensures the `-wildcards` flag of mksquashfs is being used.

This is related to #1184
2019-08-30 12:26:48 +02:00
David Cassany
b01838a183
Adding overlayroot integration test 2019-08-30 11:45:02 +02:00
Marcus Schäfer
da2d9b96a7
Bump version: 9.18.12 → 9.18.13 2019-08-29 16:38:30 +02:00
Marcus Schäfer
438e0dbf0c
Merge pull request #1186 from OSInside/add_bootstrap_packages_option
Add --add-bootstrap-packages option
2019-08-29 16:03:32 +02:00
Marcus Schäfer
be17186503
Add --add-bootstrap-packages option
The prepare and build commands now allows to specify additional
packages to be installed as part of the early bootstrap phase
This Fixes #1151
2019-08-29 11:38:56 +02:00
Marcus Schäfer
3a1145797b
Merge pull request #1185 from OSInside/detect_raid_disks
Detect raid disks in oem dump module
2019-08-29 10:17:32 +02:00
David Cassany Viladomat
e6fe59df6c
Merge pull request #1179 from OSInside/avoid_default_installation_of_kiwi_dracut_modules
Avoid default installation of kiwi dracut modules
2019-08-28 17:58:32 +02:00
David Cassany
07ea23a4c4
Avoid default installation of dracut kiwi modules
With this commit dracut modules won't be installed by default
in the initrd unless they are requested by the commandline calling
dracut or by a dracut configuration file.

Fixes bsc#1142899 bsc#1136444
Fixes #1103
2019-08-28 16:11:48 +02:00
Marcus Schäfer
f965584847
Detect raid disks in oem dump module
The current disk detection only takes lsblk entries into
account that marks the device as 'disk'. However on raid
disks like fake raid controllers the disk is mapped via
dmraid and marked as 'raidX' device. This commit also takes
those devices into account for deployment. Issue #1181
2019-08-28 16:07:31 +02:00
Marcus Schäfer
eacd96c3ef
Merge pull request #1182 from OSInside/fstab_script_extension
Add support for custom fstab script extension
2019-08-27 17:18:32 +02:00
Marcus Schäfer
a4af3dfc89
Merge pull request #1183 from OSInside/fix_return_of_is_prepared
Fix return value of is_prepared method
2019-08-27 11:57:43 +02:00
Marcus Schäfer
d89345d423
Fix return value of is_prepared method
The method is expected to return a bool value. In fact it
returned a list. An empty list is evalutated as False in
python, a list with content as True. So the way the method
is used is correct but the return value should be a real
bool value to match the docs and expectations. Also the
unit test for this code was wrong. This Fixes #1175
2019-08-27 11:13:30 +02:00
Marcus Schäfer
7d3f169865
Update documentation regarding fstab adaptions 2019-08-26 17:58:33 +02:00
Marcus Schäfer
daee47ef6f
Add support for custom fstab script extension
In addition to fstab append and patch features we also allow
an fstab.script file that is called chrooted. The change is
needed to support overlay mounting of filesystems as part
of the initrd. If system filesystems needs to be changed in
a way that they can be used in an overlay mount, the standard
mount entry has to take the x-initrd.mount capability which
requires a modification of the fstab which is cumbersome to
handle as a patch file. This concept is currently used as
part of the MicroOS project in SUSE and is applied in the
integration test build maintained for this target. This
Fixes bsc#1129566
2019-08-26 17:08:49 +02:00
Marcus Schäfer
a553825023
Merge pull request #1177 from OSInside/stop_inheriting_from_object
Stop inheriting from object
2019-08-26 09:13:55 +02:00
Marcus Schäfer
08792a758f
Merge pull request #1178 from OSInside/cleanup_iso_build_test
Update live iso integration test build
2019-08-26 09:13:28 +02:00
cebccd34ff
Merge pull request #1180 from OSInside/fix-fedora-gitlabci
Fix GitLab CI jobs for building on Fedora
2019-08-24 22:55:25 -04:00
4d973017d3 Fix GitLab CI jobs for building on Fedora
Mock is incorrectly using systemd sysusers now without a systemd dependency or
working sysusers scriptlets. For now, manually create the mock group.

In addition, let's go ahead and upgrade to a Fedora 30 chroot for the mock builds.
2019-08-24 22:13:15 -04:00
Marcus Schäfer
b48f221af1
Update live iso integration test build
Our live iso test is setup for EFI. Since the switch to grub
no isolinux will be used with the test. Thus there is no need
to install the gfxboot branding package anymore
2019-08-23 11:13:29 +02:00
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
53903534d3
Merge pull request #1174 from OSInside/fix_dracut_module_dependencies
Add crypt dependency to kiwi-lib dracut module
2019-08-22 12:54:39 +02:00