Commit Graph
273 Commits
Author SHA1 Message Date
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
Neal Gompa efc71e6d86 kiwi-build: Pass on arguments after "--" to kiwi
This simplifies supporting one-off custom actions without having to
define options in the helper script all the time.
2025-03-19 10:48:55 -04:00
Zbigniew Jędrzejewski-SzmekandSimon de Vlieger 364b0b8f62 Drop /usr/local/sbin:/usr/sbin from $PATH
If $PATH is not set, we get the default from crun [1]:
  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
This is not useful, because in the image, /bin, /sbin, /usr/sbin are all
symlinks. /usr/local/sbin does not exist.

When /usr/sbin is a symlink to /usr/bin, and we use have a $PATH with
/usr/sbin before /usr/bin, various tools will discover /usr/sbin/foo when
looking for 'foo' [2], which is confusing and ugly.

[1] https://github.com/containers/crun/blob/a980c89665bb488ff206e47e9083f75b48528714/src/libcrun/container.c#L183
[2] https://src.fedoraproject.org/rpms/setup/pull-request/18#comment-253719

Co-authored-by: Simon de Vlieger <cmdr@supakeen.com>
2025-03-19 14:50:50 +01:00
Neal Gompa b57a77e571 components/liveinstall: Shrink chunksize to 128KiB and raise to level 8 LZMA compression
It seems the larger chunk size seems to slow the start of images in
low memory environments due to the ldconfig cache generator unit
eating gigabytes of memory from mapping the chunks into memory.

Attempt to work around this by lowering the chunk size while raising
the compression level to attempt to maintain image sizes.
2025-03-18 09:46:57 -04:00
Allan 01b5342bb5 Phosh updates 2025-03-12 08:21:40 +00:00
Ryan Brue c1c5bcdf1e Update volume ID substitutions for COSMIC
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-10 13:34:53 -05:00
Ryan Brue 1a2ab0023b maintainers: Add COSMIC listing and add Ryan Brue as maintainer
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-03-10 13:33:12 -05:00
Timothée Ravier b1e2456529 maintainers: Remove PPC64LE Atomic Desktops
See: https://fedoraproject.org/wiki/Changes/AtomicDesktopsNoPpc64le
2025-03-10 11:59:22 +01:00
Miro Hrončok 3fe7a48178 Block pypy3.10 from Python Classroom Lab
We have pypy3.11.
pypy3.9 was retired.

See https://bugzilla.redhat.com/2348737
2025-03-06 19:55:37 +01:00
Neal Gompa 0e959df19b config.sh: Drop unnecessary initrd rebuild logic for SoaS
The initramfs is built after config.sh is run anyway.
2025-03-01 08:30:02 -05:00
Neal Gompa 832be6c098 config.sh: Configure the Xfce polkit agent to run on SoaS
The Xfce polkit agent configuration was missed in the initial port
from the kickstarts.
2025-03-01 06:33:04 -05:00
Neal Gompa cd8fae1546 config.sh: Drop livesys scriptlets for SoaS
Some of	this was already present in livesys-scripts and	the rest
was migrated.
2025-03-01 06:33:04 -05:00
Neal Gompa 960270bb86 components/desktops/kde: Only install KDE PIM on x86_64, AArch64, and POWER
This group is currently not available for any other architectures.
2025-02-22 20:42:32 -05:00
Neal Gompa 4d0315767d components/desktops: Drop duplicate unused DesktopCommon profile entries
This is principally to avoid confusion as the DesktopCommon profile
is defined in one place and used across the board.

No functional changes.
2025-02-22 04:05:41 -05:00
Neal Gompa 914e61919e VARIANTS: Add Python Classroom Lab and reformat table
The Fedora Python Classroom Lab moved to kiwi with Fedora Linux 42.
2025-02-22 01:22:56 -05:00