Commit Graph
287 Commits
Author SHA1 Message Date
Neal Gompa a6a0df3b3a Raise the size of the boot partition to 2G for ELN images
With the increase in content in initramfs, a long-overdue raise
of the default size for /boot is warranted.

Reference: https://fedoraproject.org/wiki/Changes/2GbootPartition
2025-10-06 10:18:49 -04:00
Neal Gompa 6c3b674a92 Raise the size of the boot partition to 2G for Fedora images
With the increase in content in initramfs, a long-overdue raise
of the default size for /boot is warranted.

Reference: https://fedoraproject.org/wiki/Changes/2GbootPartition
2025-10-06 10:18:44 -04:00
Adam Williamson dfc9a6e46a Drop python3-boto3 from GNOME to save space
See https://bugzilla.redhat.com/show_bug.cgi?id=2360056#c45 .
python3-boto3 is a very optional dependency of sos, not worth the
space.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-10-03 16:34:01 -07:00
Neal Gompa 4a79767f05 config.sh: Do not enable Anaconda Initial Setup for COSMIC images
Anaconda Initial Setup is no longer used for Fedora COSMIC images.
2025-09-30 09:10:44 -04:00
Troy Dawson ca228d742a Add ELN GNOME and KDE Live images
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-09-29 09:24:24 -07:00
Neal Gompa 35da5b9e14 teams/server: aarch64: Set 16 MiB starting offset for ServerDisk partitions
This ensures that there's empty space for arm-image-installer to
inject firmware blobs into images as part of preparing to install
for various single board computers.
2025-09-28 13:12:11 -04:00
Neal Gompa 4d4ddf0ba0 components/boot: aarch64: Set 16 MiB starting offset for partitions
This ensures that there's empty space for arm-image-installer to
inject firmware blobs into images as part of preparing to install
for various single board computers.
2025-09-22 19:04:42 -04:00
Yaakov Selkowitz 197907e6c3 eln: fix toolbox package list
nss-mdns is not included in RHEL, and mesa-vulkan-drivers is x86_64 only.
2025-09-17 23:46:54 -04:00
Troy Dawson 7a04379de6 Build ELN Toolbox
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-09-12 08:34:35 -07:00
Jeremy Cline d38b42b6e3 eln/wsl: drop the SELinux packages from the ELN WSL image
WSL does not support SELinux, so at best it's pointless to install. This
also actively breaks WSL 1 users, although I don't think we should
suggest that we support that, and if the policy on the builder doesn't
match the target things break during the build.

It also reduced the build time from ~80 seconds to ~70 seconds for me,
so that's nice.

See: 39b379f7d ("wsl: drop the SELinux packages from the WSL base image")
Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-08-28 14:59:00 -04:00
Jeremy Cline 39b379f7d9 wsl: drop the SELinux packages from the WSL base image
WSL does not support SELinux, so at best it's pointless to install. This
also actively breaks WSL 1 users, although I don't think we should
suggest that we support that, and if the policy on the builder doesn't
match the target things break during the build.

It also reduced the build time from ~80 seconds to ~70 seconds for me,
so that's nice.

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-08-28 13:33:42 -04:00
Adam Williamson 01d839d633 Drop shim-signed-ia32 packages
shim-ia32 no longer exists at present. We can talk with pjones
about bringing it back, but for now, this is preventing Rawhide
composes from working.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-08-26 14:29:36 -07:00
Dan Book f7134195de Cinnamon: drop rhythmbox for exaile and drop obsolete background extras 2025-08-23 19:54:10 -04:00
Neal Gompa b58277390d teams/{kde,lxqt,workstation}: Drop redundant anaconda-webui entries
The anaconda-webui package is now installed by default for live
media, so these are no longer necessary.
2025-07-31 01:04:41 -04:00
Adam Williamson 18e0d7498f LiveInstall: drop 'anaconda' package
The package called 'anaconda' is empty and only depends on two
things, anaconda-gui and anaconda-tui. Since anaconda 43.32,
anaconda runs the GTK UI if it's installed; it will only run the
web UI if anaconda-gui is not installed. So by including anaconda
we are forcing lives to run GTK UI and not really gaining
anything - we don't want anaconda-tui on lives anyway, I don't
think.

The anaconda-live package will pull in anaconda-webui, so all we
need to do is stop including anaconda. This will cause all live
images to use web UI, which was the intent of
https://github.com/rhinstaller/anaconda/pull/6530 . I guess if
any lives really want/need to use GTK UI, they can put
anaconda-gui into their profiles.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-07-30 18:19:31 -07:00
Katerina Koukiou f41248567c teams/lxqt: Use web-based Anaconda UI by default for LXQT 2025-07-24 08:23:38 +02:00
Neal Gompa 1c530eb983 components/boot: Add ia32 EFI components for x86_64 images
This restores support for booting on 64-bit x86 systems that use
32-bit EFI platforms.

Reference: https://fedoraproject.org/wiki/Changes/32BitUefiSupport
2025-07-10 07:39:32 +00:00
Adam Williamson 9b8a851b7d Reapply "teams/kde: Use web-based Anaconda UI by default for KDE"
This reverts commit 24c4fc39c2.
With a PR we can run the tests on openQA staging, identify any
problems with the change, and extend the tests to cover the
additional screens that show up with KDE.
2025-07-08 21:08:37 +00:00
Troy Dawson 09426d7ba3 ELN: set wsl name to Fedora-ELN
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-07-08 13:53:06 -07:00
Adam Williamson 24c4fc39c2 Revert "teams/kde: Use web-based Anaconda UI by default for KDE"
This reverts commit e4d801674c.
openQA has not yet been prepared for this change and it is
causing all updates to fail gating. We need to prepare the tests
before merging this.
2025-06-23 21:33:19 +01:00
Neal Gompa a400e6e5db components/liveinstall: Use -Efragments instead of all-fragments with inode dedupe
Per erofs upstream, this results in faster and more efficient build times
with improved runtime performance.

Signed-off-by: Neal Gompa <ngompa@fedoraproject.org>
2025-06-23 10:49:27 +00:00
Katerina Koukiou e4d801674c teams/kde: Use web-based Anaconda UI by default for KDE
While the Web UI is still missing two features outlined in the Change Proposal [1], enabling it
early will help identify additional issues and improve integration. The missing features are:

- Date/Time Configuration Screen (currently implemented by GIS in Workstation)
- Configurable Browser Support (currently hardcoded to Firefox)

[1] https://fedoraproject.org/wiki/Changes/AnacondaWebUIforFedoraSpins#Detailed_Description
2025-06-23 10:52:53 +02:00
Clement Verna 8300bcdaa1 Add gawk to the containers base
Fixes https://github.com/fedora-cloud/docker-brew-fedora/issues/119

Signed-off-by: Clement Verna <cverna@tutatnota.com>
2025-06-16 20:48:11 +02:00
Jiri Konecny 76aff528ff Remove sshfs sharing backend from boxed build
The sshfs sharing backend doesn't work in containers where the default
one works just fine. To make the --isolated builds more accessible just
use the default.

The default in kiwi is currently: --9p-sharing
2025-06-12 12:49:37 +02:00
Troy Dawson 6e1239589b Add wsl-setup to ELN WSL
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-05-30 02:53:59 +00:00
Jeremy Cline 5c2fc05a28 ELN: Adjust aarch64 images to use the correct serial console
The serial device name on Arm is ttyAMA, not ttyS. This splits the
configuration for ELN images based on the architecture and adjusts the
kernel command line.

Note that prior to this change, aarch64 would still output kernel logs
to the ttyAMA0 console (on Azure, at least) due to the ACPI SPCR table.
On aarch64 the console in this table, if it's present, is _always_
configured as the kernel's default console. However, systemd logs would
not be sent to the serial console because it seems it was honoring the
kernel command line configuration which had ttyS0 as the default.

Note: this is the exact same change as 4979662a547e ("Cloud: Adjust
aarch64 images to use the correct serial console"), if you're reverting
this, you probably want to also revert that one.

Also see: https://pagure.io/cloud-sig/issue/394
Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1661288

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-05-29 16:17:08 -04:00
Jeremy Cline 56a4d1ed1a Cloud: Adjust aarch64 images to use the correct serial console
The serial device name on Arm is ttyAMA, not ttyS. This splits the
configuration for Cloud images based on the architecture and adjusts the
kernel command line.

Note that prior to this change, aarch64 would still output kernel logs
to the ttyAMA0 console (on Azure, at least) due to the ACPI SPCR table.
On aarch64 the console in this table, if it's present, is _always_
configured as the kernel's default console. However, systemd logs would
not be sent to the serial console because it seems it was honoring the
kernel command line configuration which had ttyS0 as the default.

Also see: https://pagure.io/cloud-sig/issue/394
Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1661288

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-05-29 16:17:06 -04:00
Neal Gompa 92729675dd teams/eln/wsl: Use native "wsl" image type
This introduces extra validation for WSL image creation to ensure
the result is usable.
2025-05-29 10:13:19 -04:00
Neal Gompa 887dbe204b teams/cloud/wsl: Use native "wsl" image type
This introduces extra validation for WSL image creation to ensure
the result is usable.
2025-05-29 10:13:19 -04:00
Debarshi Ray 2abcb7b777 teams/cloud/container: Add p11-kit-client to Toolbx
This will be used by toolbox(1) to ensure that the certificates from
certificate authorities (or CAs) that are available inside a Toolbx
container are kept synchronized with the host operating system [1].  Any
program that uses PKCS #11 to access CA certificates should see the same
ones both inside the container and on the host.

This is the same approach taken by Flatpak [2].

[1] https://github.com/containers/toolbox/issues/626

[2] Flatpak commit 66b2ff40f7caf3a7
    https://github.com/flatpak/flatpak/commit/66b2ff40f7caf3a7
    https://github.com/flatpak/flatpak/pull/1757
    https://github.com/p11-glue/p11-kit/issues/68

https://pagure.io/fedora-kiwi-descriptions/pull-request/189
2025-05-28 15:31:43 +02:00
Debarshi Ray e6ef81877e teams/cloud/container: Don't explicitly install p11-kit for Toolbx
The p11-kit RPM is neither explicitly mentioned in the list of default
RPMs on Fedora Silverblue and Workstation [1], nor was it explicitly
installed by the Container/Dockerfile equivalent of the fedora-toolbox
OCI images [2].

The Container/Dockerfile listed p11-kit as one of the RPMs that had to
be reinstalled, because it was inherited from the fedora base image, and
had its documentation and translations stripped out.  The reinstallation
would be skipped if for some reason it was no longer part of the fedora
base image.

This was misinterpreted when creating the Kickstart equivalent of the
fedora-toolbox OCI images [3] and that's how it ended up in the KIWI
description.

In reality, p11-kit gets pulled in as a dependency of ca-certificates,
gnutls, etc. and that's sufficient.

Fallout from d27e4c3f6c

[1] https://pagure.io/fedora-comps/

[2] https://src.fedoraproject.org/container/fedora-toolbox

[3] fedora-kickstarts commit 48e2c3b5598de32f
    https://pagure.io/fedora-kickstarts/c/48e2c3b5598de32f
    https://pagure.io/fedora-kickstarts/pull-request/964
    https://pagure.io/releng/issue/11399

https://pagure.io/fedora-kiwi-descriptions/pull-request/189
2025-05-28 15:31:39 +02:00
Jeremy Cline bbb0824283 wsl: Add wget to the default package set
Although we include curl, some folks expect wget. Also, one of the more
common uses of WSL is in combination with VS Code, and its setup script
on remote hosts uses wget.

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-05-15 11:31:42 -04:00
Troy Dawson fb1c568fea Add WSL to ELN
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2025-05-01 02:57:18 +00:00
Miroslav Vadkerti 28f7cf0cf6 Split tmt plans into separate zuul jobs
This should improve the experience by having separate clickable
links for each test matrix item and see the pass/fail more early.
Also make Testing Farm scale better as it uses separate TF requests
for testing.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2025-05-01 00:41:01 +00:00
Neal Gompa c3e509d22e config.sh: grub2: Set boot_success=1 for variants using auto-hiding menus
This ensures that the menu does not pop up for the first boot on
variants that leverage boot success tracking.
2025-04-30 17:44:33 -04:00
Janne Grunau 66b87054e8 grub2: Enable bls for all non-live images
This became necessary with 10.0.13 / after merging
https://github.com/OSInside/kiwi/pull/2535 but doesn't seem to
noticeable effects besides miisin "GRUB_ENABLE_BLSCFG=true" in
/etc/default/grub.
2025-04-29 22:36:27 +02:00
Janne Grunau 61f0794ad5 grub2: Use menu_auto_hide=1 to match anaconda
menu_auto_hide=1 is required for the boot_success provided by Fedora's
grub2 package. This will fall back to the previous kernel and show the
usually hidden grub menu when booting fails.

This makes it unnecessary to override the timeout_style and using a
reduced timeout of 1 second for disk images.
2025-04-27 22:04:22 +02:00
Neal Gompa 13c5d722ad components/liveinstall: Filter out unwanted EFI files from the ESP
This drastically reduces the content included in the embedded ESP
for live media, and avoids weird side-effects caused by extra EFI
binaries being present.
2025-04-16 19:27:24 -04:00
Neal Gompa 35ef9796e9 components/desktops/soas: Only install the livecd-iso-to-disk script on x86
This package only exists on x86 architectures.

Fixes: 06ef485a89
2025-04-16 19:27:21 -04:00
Neal Gompa 06ef485a89 components/desktops/soas: Only install the livecd-iso-to-disk script
We do not need the full livecd-tools on the SoaS image, only the
scripts needed to put the ISO on a USB stick with persistence.
2025-04-09 12:12:31 -04:00
Neal Gompa db029d864e components/desktops/soas: Add initial-setup GUI package
This ensures that the initial-setup system is present on the image,
which is required for disk image builds.
2025-04-09 12:10:19 -04:00
Philip Molloy e27c697924 kiwi-build: indent conditional body 2025-04-07 10:36:12 +02:00
Neal Gompa d3770941df README: Declare needed packages and tested environments
This is not exhaustive, but does get users into the right environment
to build images. We also indicate that this is only tested on Fedora Linux.
2025-04-02 08:20:14 -04:00
Jan Pazdziora 3589fa143a teams/cloud/container: Explicitly add shadow-utils.
Fixes https://pagure.io/fedora-kiwi-descriptions/issue/169,
https://bugzilla.redhat.com/show_bug.cgi?id=2355948.
2025-03-29 19:35:28 +01:00
Davide Cavalca e3a079f93f teams/asahi: add dbus-glib
This is needed for XUL-based applications to work (for example, Zotero).

Signed-off-by: Davide Cavalca <dcavalca@fedoraproject.org>
2025-03-28 15:25:45 -07:00
Simon de Vlieger 14689b3737 toolbox: include policycoreutils
It can be useful to have access to `setfiles` inside a `toolbx`
container. Especially when using them as bootstrap roots to setup
other trees.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
2025-03-23 21:11:18 +01:00
Neal Gompa db073ec6ab config.sh: Move FEX cleanup to the finalization section
This ensures that the FEX image build does not fail.
2025-03-20 19:43:41 -04:00
Neal Gompa 6c39b23364 kiwi-build: Fix handling of kiwibuild_extra_args when undefined
When the kiwibuild_extra_args variable is not defined, we do not
want it to fail with "unbound variable" error.

Fixes: efc71e6d86
2025-03-20 18:48:12 -04:00
Neal Gompa d7316ab543 config.sh: Inhibit ldconfig cache generation unit
The ldconfig cache generator runs on first boot and attempts to
read the whole image into memory, which eats gigabytes of RAM and
slows the boot down by half a minute. This is unnecessary for
images being booted unmodified.

Thus, create the necessary dot files to inhibit their runs.
2025-03-20 18:26:00 -04:00
Neal Gompa f0a7ae8da3 Revert "components/liveinstall: Shrink chunksize to 128KiB and raise to level 8 LZMA compression"
This did not help anything and it makes image builds slower.

This reverts commit b57a77e571.
2025-03-20 18:23:13 -04:00