Commit Graph

5606 Commits

Author SHA1 Message Date
Marcus Schäfer
266abb3f32
Bump version: 10.0.22 → 10.0.23 2024-07-04 12:57:58 +02:00
Marcus Schäfer
c83e6f3f90
Merge pull request #2583 from OSInside/pyXY-provides
package: Add fully qualified provides for python3-kiwi in spec
2024-07-04 11:43:35 +02:00
Neal Gompa
584f9ffa03 package: Add fully qualified provides for python3-kiwi in spec
On SUSE distributions, currently the expectation is that packages
built against the Python interpreter should have fully qualified
names in the form of pythonXY-<modulename>. Additionally, all other
Linux distributions prefer something similar in the form of
pythonX.Y-<modulename>.

This ensures we have those names so that distribution dependency
generation works as expected.
2024-07-04 05:32:56 -04:00
Neal Gompa (ニール・ゴンパ)
25f1f8607c
Merge pull request #2582 from OSInside/arch_conditional_volumes
Add support for arch selector on volumes
2024-07-04 05:13:12 -04:00
Marcus Schäfer
9c8f0b0879
Add support for arch selector on volumes
The optional <volume ... arch=""/> attribute allows to create
the volume only if it matches the specified host architecture.
Multiple architecture names can be specified as comma separated
list.
2024-07-04 10:58:37 +02:00
Marcus Schäfer
85fdbc21ad
Merge pull request #2579 from OSInside/allow_to_skip_unallocated_space_detection
Added rd.kiwi.oem.skip_resize_check boot option
2024-07-01 10:27:56 +02:00
Marcus Schäfer
8162e45562
Add rd.kiwi.oem.force_resize boot option
Forces the disk resize process on an OEM disk image.
If set, no sanity check for unpartitioned/free space
is performed and also an eventually configured
<oem-resize-once> configuration from the image description
will not be taken into account. This Fixes bsc#1224389
2024-07-01 10:22:41 +02:00
Marcus Schäfer
a74c045ab9
Fixed leap integration tests
For whatever reason procps is not longer pulled in by the
core dependencies. Thus we have to explicitly request it
2024-06-25 14:25:03 +02:00
Neal Gompa (ニール・ゴンパ)
4fbb262c25
Merge pull request #2578 from OSInside/fix_loop_release
Fix potential race condition in loop detach
2024-06-20 14:11:57 -04:00
Marcus Schäfer
925f960445
Fix potential race condition in loop detach
The call to 'losetup -d' is in fact an async operation. Once
the command returns the loop can still be associated with the
former file because it gets lazy unbound and releases later.
Prior re-use of the same loop device it is therefore required
to wait until the kernel event queue is processed.
2024-06-20 18:08:35 +02:00
Neal Gompa (ニール・ゴンパ)
7f317a5d0a
Merge pull request #2575 from OSInside/fix_dnf_repo_include_to_image
Fixed repository include to image with dnf
2024-06-19 06:05:26 -04:00
Marcus Schäfer
44aa564b60
Fixed repository include to image with dnf
When specifying a repository element with imageinclude="true",
kiwi permanently adds the repo file inside of the image.
The distribution standard path is used to store the repo
file in this case. With dnf a package manager exists that is
primarily used on Fedora and RHEL systems. Thus the standard
path for the repo files is set to "/etc/yum.repos.d".
However, dnf can also be used for other rpm based distributions
e.g SUSE. On such a system the default path does not exist
or is different because another package manager is the
default. This commit makes sure that the expected path is
created prior adding any repo files.
2024-06-19 11:07:52 +02:00
Marcus Schäfer
eb4ef38876
Bump version: 10.0.21 → 10.0.22 2024-06-18 08:42:17 +02:00
Neal Gompa (ニール・ゴンパ)
861e807aab
Merge pull request #2573 from OSInside/fix_bootloader_security_labels
Fixed selinux labels for boot files
2024-06-17 14:53:05 -04:00
Marcus Schäfer
319e78a707
Fixed selinux labels for boot files
When kiwi calls the bootloader config and installation modules
several files gets created as unlabeled_t because the labeling
happened earlier. This commit ensures that setfiles gets called
after BootLoaderConfig and/or BootLoaderInstall has done its
job. This Fixes #2568
2024-06-17 18:24:44 +02:00
Neal Gompa (ニール・ゴンパ)
9dde2b9963
Merge pull request #2567 from OSInside/fix_vendor_lookup
Better error handling on grub vendor dir lookup
2024-06-17 04:20:11 -04:00
Marcus Schäfer
624df1d346
Add bash to package requirements
If there are script evaluations that does not specify
an interpreter, kiwi uses bash for it. The same applies
for sub-process invocations using shell pipelines. Thus
the bash shell is a required tool for kiwi under certain
circumstances. Further details in Issue #2567
2024-06-17 09:26:29 +02:00
Neal Gompa (ニール・ゴンパ)
77a52eb744
Merge pull request #2569 from OSInside/allow_to_configure_cowfile_location
Allow to customize the path of the isoscan cowfile
2024-06-15 00:27:26 -04:00
Marcus Schäfer
440ced12e2
Merge pull request #2571 from landgraf/shadow
test-image-live: add shadow package
2024-06-14 09:48:26 +02:00
Pavel Zhukov
5cfa51883c test-image-live: add shadow package
Fixes:
KiwiCommandError: chroot: stderr: /usr/bin/chroot: failed to run command ‘usermod’: No such file or directory
2024-06-12 13:50:28 +02:00
Fabian Vogt
cf7fc78fc7
Merge pull request #2570 from Vogtinator/failurefix
Fix displaying the image verification failure dialog
2024-06-11 16:30:20 +02:00
Fabian Vogt
6e59d5e463 Fix displaying the image verification failure dialog
Kiwi must wait for the previous dialog to finish before showing another
one as it's the same systemd service behind it.
2024-06-11 14:37:01 +02:00
Marcus Schäfer
cbf40d5142
Allow to customize the path of the isoscan cowfile
Added rd.live.cowfile.path option to specify the cowfile at
any path below the isoscan-loop-mount. This Fixes #2554
2024-06-10 16:13:37 +02:00
Marcus Schäfer
6d99c8b923
Better error handling on grub vendor dir lookup
The strings command is used to lookup the in-efi binary encoded
vendor path. However, if the strings or bash command is not availabe
on the build host, the command silently failed and moved into the
standard (non vendored) EFI boot path. This can lead to a broken
boot for those distros and image targets which requires a vendor
directory and should lead to an error message instead of a
successful image build. This Fixes #2565
2024-06-10 10:36:59 +02:00
Neal Gompa (ニール・ゴンパ)
3bbb057c96
Merge pull request #2566 from OSInside/fix_profile_variable_settings
Fixed profile variable settings for preferences
2024-06-10 04:00:41 -04:00
Marcus Schäfer
e0f9491462
Fixed profile variable settings for preferences
It's allowed to have multiple preferences sections. If those
sections provides the same value multiple times, e.g keytable,
the last one in the row will win. The setup of the variables
in .profile environment file for the preferences elements is
not following this rule and used the first section not the
last. This commit fixes the profile variables to match the
actual setup and Fixes #2560
2024-06-10 09:50:02 +02:00
Neal Gompa (ニール・ゴンパ)
77972bee00
Merge pull request #2564 from OSInside/revise-concept-workflow
Revise concept workflow
2024-06-09 09:41:19 -04:00
Dmitri Popov
553834caa2 Revise users.rst 2024-06-06 14:24:07 +02:00
Dmitri Popov
a39960e4ec REvise systemdeps.rst 2024-06-06 13:57:29 +02:00
Dmitri Popov
cd8306773b Revise shell_scripts.rst 2024-06-06 13:42:57 +02:00
Neal Gompa (ニール・ゴンパ)
98608861e4
Merge pull request #2563 from OSInside/initrd_dialog_adaptions
Initrd dialog adaptions
2024-06-06 07:42:04 -04:00
Marcus Schäfer
17ef9df9a8
Add initrd boot option rd.kiwi.allow_plymouth
By default kiwi stops plymouth if present and active in the
initrd. Setting rd.kiwi.allow_plymouth will keep plymouth
active in the initrd including all effects that might have
to the available consoles. This is related to bsc#1214824
2024-06-06 12:38:00 +02:00
Marcus Schäfer
e058822a31
Drop use of obsolete tool isconsole
isconsole was provided with the dropped kiwi-tools package.
It was a simple C application that checked the capabilities
of the current console. In the context of fbiterm it was just
used to provide proper error messages which fbiterm on its
own did not show. As also fbiterm is on its way to become
obsolete and isconsole is already no longer present, it's ok
to just drop that extra check and therefore keep the fbiterm
mode functional if one manages to include fbiterm and its
fonts into the initrd
2024-06-06 12:12:45 +02:00
Marcus Schäfer
e7a71ce943
Bump version: 10.0.20 → 10.0.21 2024-06-04 11:13:01 +02:00
Neal Gompa (ニール・ゴンパ)
6c33f5ef9a
Merge pull request #2562 from OSInside/fix_missing_metadata_in_bls_base_class
Add missing write_meta_data method to BLS base
2024-06-04 04:00:13 -04:00
Neal Gompa (ニール・ゴンパ)
85e7253eaa
Merge pull request #2561 from OSInside/fix_method_ineffective
Fix method ineffective
2024-06-03 16:17:25 -04:00
Marcus Schäfer
01274f6a7e
Add missing write_meta_data method to BLS base
The standard bootloader interface class provided a method
named write_meta_data which is expected to be implemented
in the specialized bootloader implementation. For BLS
bootloaders this method was missing in the BLS base class.
write_meta_data can provide additional cmdline options
for booting. If not covered some boot options might be
missing. This patch fixes it
2024-06-03 21:43:09 +02:00
Marcus Schäfer
c3043c6958
Fix TW integration test to build outside OBS 2024-06-03 17:59:18 +02:00
Marcus Schäfer
42208da139
Make sure BootLoaderConfig fixes are effective
The BootLoaderConfigGrub2 class has methods to fix the grub-mkconfig
generated files. It does that by mounting the system and changing the
respective files after the mkconfig call. However, after the change
the class instance stays open in combination with BootLoaderInstallGrub2
instance which itself under certain circumstances also mounts the
system to call grub-install. At the time grub-install is called it
cannot be guaranteed that all changes has been written unless an
explicit umount in the BootLoaderConfigGrub2 class instance happened.
This commit address the potential race condition.
2024-06-03 17:46:52 +02:00
Marcus Schäfer
80b94dbb62
Bump version: 10.0.19 → 10.0.20 2024-06-03 09:22:00 +02:00
Neal Gompa (ニール・ゴンパ)
1327caa9fa
Merge pull request #2559 from OSInside/support_arch_for_repository_element
Add support for arch attr in repository element
2024-06-03 03:16:12 -04:00
Marcus Schäfer
f6090a2e6f
Update rawhide integration test
Use new arch attribute for testing in the repository
element of the rawhide/test-image-live-disk integration
test.
2024-06-03 08:25:11 +02:00
Marcus Schäfer
9cd8e19aed
Add support for arch attr in repository element
Allow to provide different repository sections per architecture
2024-06-01 20:55:02 +02:00
Neal Gompa (ニール・ゴンパ)
2f84e0a190
Merge pull request #2558 from OSInside/image_info_list_profiles
Add --list-profiles to image info
2024-05-31 06:56:56 -04:00
Marcus Schäfer
8b72820ec2
Add --list-profiles to image info
Allow to list available profiles from the processed image
description
2024-05-31 12:38:04 +02:00
Marcus Schäfer
8560659b40
Bump version: 10.0.18 → 10.0.19 2024-05-30 21:55:20 +02:00
Neal Gompa (ニール・ゴンパ)
e167b48de0
Merge pull request #2556 from OSInside/fix-packaging-patch-setup
package: Unconditionally include patches and number all sources and patches
2024-05-30 06:33:32 -04:00
Neal Gompa
73e971e94e package: Always include patches and number all sources and patches
This ensures that stuff is applied reliably and all sources and patches
are included as expected.

Then the added kiwi-revert-bls-default-for-suse.patch is applied
conditionally for SUSE distributions.
2024-05-29 17:56:03 -04:00
Marcus Schäfer
ce108802f9
Bump version: 10.0.17 → 10.0.18 2024-05-29 18:18:26 +02:00
Marcus Schäfer
c504b8c7ae
Merge pull request #2555 from aplanas/fix_spec
package: adjust openSUSE patch
2024-05-29 17:09:27 +02:00