Commit Graph
129 Commits
Author SHA1 Message Date
Neal Gompa 93220f3c23 components/liveinstall: Exclude uncommon and unneeded storage tools
This saves some space and brings us closer to the old Lorax-based
live media.
2024-11-23 12:50:14 -05:00
Neal Gompa cc9d69ca35 components/desktops/kde: Refactor and flesh out package exclusions
Group exclusions do not seem to work anymore with DNF5, so explicitly
filter out unwanted packages. Additionally, add missing unwanted
packages from the kickstarts and refactor it to apply to both
KDE Desktop and KDE Mobile profiles.
2024-11-23 10:17:50 -05:00
Neal Gompa d469b72759 components/desktops/kde: Install KDE PIM
This was always supposed to be present, but was somehow missed.
2024-11-23 10:00:59 -05:00
Neal Gompa 5486849837 components/liveinstall: Use plain squashfs instead of ext4-in-squashfs
It results in higher compression ratios.
2024-11-23 07:54:54 -05:00
Neal Gompa 244874c5e3 Revert "components/liveinstall: Switch to EROFS for live media"
As it currently stands, this doubles the size of the live ISOs,
which is completely unacceptable.

We will need to make the switch eventually, but we need to figure
out how to compress better first.

This reverts commit 1457e97008.
2024-11-22 18:11:22 -05:00
Neal Gompa a634dbdc80 scripts/fedora-kiwi-bundle-format-generator: Fix program description
This script was cloned from the iso label generator, but the
program description in the argument parser was not changed.
2024-11-17 17:23:54 -05:00
Neal Gompa 1457e97008 components/liveinstall: Switch to EROFS for live media
EROFS is newer, more performant filesystem that emphasizes speed
and integrity over SquashFS. It is also much better maintained and
friendlier for flash-based storage that live media is typically
run from these days.
2024-11-17 12:32:31 -05:00
Asahi Lina 2efe56a38f teams/asahi: FEX: Clean up some redundant FEX packages
ibus: This is an input method, which is a user choice. It doesn't make
sense to ship some input method libs and not others. These libs
typically communicate with the main IM daemon over UNIX sockets, so this
won't work anyway without additional work. (This might cause some
spurious errors as the guest tries to load the nonexistent IM, but we
can ignore them since it wouldn't work anyway).

xdg-desktop-portal: This is just data and executables, no libraries, so
it makes no sense for FEX.

glibc-langpack-en, kbd-misc: Only needed for kiwi, add a comment

zenity: Used by Steam but it's just a binary, so this should be an
aarch64 dependency, not run emulated.

llvm 14 & 15: I don't think there's a good reason to ship these? Any
reasonable binary-packaged app shouldn't be depending on specific LLVM
versions like this. Let's keep llvm18 & 19 since 18 is used by our Mesa
builds.

sudo & rsync: Binaries only (and sudo doesn't even work, neither under
emulation nor plain in muvm).

dbus: What we really need is the libs, so replace with that. dbus
probably won't do what we want inside the container, but for many use
cases dbus is not critical so it's okay for things to fail as long as
the libs are there.

spirv-tools-devel: Replace with spirv-tools-libs (dep)
glew-devel: Replace with libGLEW (dep)
2024-11-17 17:14:46 +00:00
Neal Gompa 2c5cf67014 kiwi-build: Update to mimic production builds more closely
Production builds in Fedora have a couple extra features:

* ISOs have custom overrides to set the correct volume/app IDs
* Image filenames are structured to follow roughly NVRA format

Now we support these features with extra helper scripts. If a
"image release" value is passed in, then we fully mimic the
production image build process.

This will be particularly useful for making respins of Fedora images
with updates applied.
2024-11-16 20:18:31 -05:00
Neal Gompa 400c842f0a Add Fedora Server generic guest and host image descriptions
This is loosely based on the Server kickstart and ELN descriptions.
This covers both the disk image for running on ARM hardware as well
as the VM image for running on various hypervisor platforms.
2024-11-13 18:30:06 +00:00
Stephen Gallagher c50ee8707d ELN: switch to metalink repo URLs
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-11-01 14:41:01 -04:00
Asahi Lina b5ce3af2e2 Add missing SDL2 libs to rootfs
Besides the base lib, apps sometimes need the add-on ones.
2024-10-30 19:12:09 +09:00
Janne Grunau e5064bf42a FEX: exclude /usr/share/fonts to avoid shadowing the host fonts 2024-10-11 13:39:41 +00:00
Timothée Ravier 6f48f41e96 components/desktops/kde: Ignore mariadb-server-utils
This package depends on Perl and is not needed for desktop use cases.

See: https://pagure.io/fedora-kde/SIG/issue/566
See: https://pagure.io/fedora-kickstarts/pull-request/1066
2024-10-11 15:25:35 +02:00
Davide Cavalca 003ec5a583 Add some more missing libs to FEX rootfs 2024-10-06 08:32:44 -07:00
Asahi Lina 304fb73f74 Add missing libs to FEX rootfs
These are used by random i686/x86_64 software, particularly things
built with Qt (which usually ship Qt itself but not these).
2024-10-02 12:36:44 +02:00
Davide Cavalca 03aacd1818 Add FEX-RootFS definition
Add a new definition for a RootFS to be used by FEX (https://src.fedoraproject.org/rpms/fex-emu). This is based on the upstream manifest (https://github.com/FEX-Emu/RootFS/blob/main/Configs/Fedora_40.json).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
2024-09-28 15:10:02 -07:00
Jeremy Cline 5fe8b10e98 Azure: include azure-vm-utils package in the image
This package is intended to be the place for Azure utilities along with
the various udev rules that currently live in the WALinuxAgent package.

At the moment it just contains the `azure-nvme-id` binary and udev rules
for providing symlinks in /dev/disk/azure/ for local, data, and
OS disks.
2024-09-25 08:52:25 -07:00
Miroslav Vadkerti 067338f7db Improve test time for kde/build-desktop-live
Larger disk means more IO performance.

Require more CPUs to aid mksquashfs performance.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
2024-09-12 18:55:53 +02:00
Neal Gompa 44a53fbca6 components/boot-eln: Add full kernel to BootDiskCore
The boot environment for non-cloud disk images was incomplete,
leading to images not bootable on real hardware. This change
adds the missing packages to fix that.
2024-09-05 09:25:36 -04:00
Neal Gompa 5994d4352b components/boot: Add full kernel and btrfs stack to BootDiskCore
The boot environment for non-cloud disk images was incomplete,
leading to images not bootable on real hardware. This change
adds the missing packages to fix that.
2024-09-04 22:53:26 -04:00
Davide Cavalca 2eeafcedb6 Add gitignore 2024-08-30 18:29:53 +00:00
Neal Gompa 2df162e797 ELN: Set description version to "0"
This value is overridden by Koji with the value set by Pungi for
the target RHEL version. Not having it here removes the assumption
that a valid version is being tracked here.
2024-08-30 14:25:19 -04:00
Troy Dawson 9a186d41a4 Do not use 4096 blocksize
4096 blocksize is required for Macs, and some newer machines can see it,
but many other machines are not able to use the 4096 blocksize.

Signed-off-by: Troy Dawson <tdawson@redhat.com>
2024-08-30 02:27:37 +00:00
Neal Gompa 65dbdf3ec5 ELN: Include the container manifest
This was missing, preventing the container builds from working.
2024-08-29 22:26:13 -04:00
Neal Gompa 82336ed294 repositories: Add disabled repository for test updates for non-rawhide
This lets people easily turn on content from test update repositories
for their image builds.
2024-08-29 04:11:38 -04:00
Neal Gompa 747d490071 repositories: Fix formatting of non-rawhide repo XML
Somehow the updates repo was using spaces instead of tabs for
indentation.
2024-08-29 04:07:26 -04:00
Neal Gompa f5c0d732ac components/desktops/kde: Add initial setup group for KDE Mobile
It's not the most ideal option, but it works and unblocks the disk
image.
2024-08-27 16:00:29 -04:00
Neal Gompa f9fbfc24e0 components/liveinstall: Enable mediacheck for live ISOs
This brings us to full parity with official Fedora ISOs produced
by Lorax.
2024-08-27 15:53:33 -04:00
Neal Gompa 6c69287ea5 config.sh: Drop fixboot Anaconda scriptlet
We should no longer need this because kiwi has been adjusted to
delete this file before finalizing the image.
2024-08-25 08:24:46 -04:00
Neal Gompa 56ecbf971e ELN: Set the target RHEL version as the version of the description
Otherwise this turns into "Fedora-ELN-ELN", which is not what we
want. And this represents RHEL 11 anyway.
2024-08-24 13:21:03 -04:00
Adam Williamson 5717cc3604 application_id: no spaces
We discovered Neal got the regex for this wrong in the Kiwi
schema upstream. While he fixes that up, let's just ditch the
spaces here for now so it passes validation.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-22 18:29:36 -07:00
Neal Gompa 70edf9c301 components/liveinstall: Set a default application ID
This way we do not get an incomprehensible value here.
2024-08-22 17:36:49 -04:00
Troy Dawson 3368dece03 Fix packages installed on KDE Mobile Live
Fix boot after install for all Live builds

Signed-off-by: Troy Dawson <tdawson@redhat.com>
2024-08-22 09:25:45 -07:00
Neal Gompa 6561c0307a config.sh: Add livesys configuration for MiracleWM spin
This ensures livesys-scripts loads the correct session information
when making the MiracleWM spin.
2024-08-22 11:54:00 -04:00
Neal Gompa 4a1dfbe178 Add initial configuration for MiracleWM spin
Reference: https://fedoraproject.org/wiki/Changes/FedoraMiracle
2024-08-22 11:20:22 -04:00
Stephen Gallagher 8af7cf6d8b Add cloud image support for ELN
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-08-22 10:20:33 -04:00
Stephen Gallagher 7f81d5bf32 Add ELN container
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-08-22 10:17:35 -04:00
Stephen Gallagher 2242194e9b Add initial framework for ELN images
The bootable image support for ELN differs from boot.xml in
several ways:

* The images use XFS
* Several packages are dropped that are not present in ELN

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-08-22 10:17:35 -04:00
Neal Gompa b77585ea3f Rename config.xml to Fedora.kiwi
This ensures that there is a single unambiguous filename for the
root description.
2024-08-09 11:17:35 -04:00
Neal Gompa c4d19f7f8e kiwi-build, tmt: Require setting the kiwi filename for the build
In preparation for having multiple top-level kiwi description files,
expose the ability to define which file to read.

Additionally, tests are updated to use this new flag.
2024-08-09 11:17:35 -04:00
Troy Dawson 40e3039216 Initial KDE Plasma Mobile Spin import
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2024-07-31 15:25:37 -07:00
Neal Gompa 316fb431ce components/liveinstall: Support all expected architectures properly
We want to be able to produce live ISOs for AArch64 and POWER with
the correct GRUB configuration. This also sets us up to handle any
quirks for each architecture platform as needed later.

This also includes a change to bump the EFI partition size for ISOs
to 30MB so everything fits.
2024-07-24 08:28:25 -04:00
Neal Gompa 3af429672c teams/kde: Rework to add disk image build
This adds a disk image build profile to produce Fedora KDE images.
Additionally, these profiles are now tested in CI.
2024-07-24 07:13:41 -04:00
Neal Gompa c8229ee61f components/boot: Add common configuration for disk images
This introduces a core disk configuration profile "BootDiskCore"
that can be used for creating non-cloud bootable disks.
2024-07-24 07:13:41 -04:00
Troy Dawson afdd23f510 Use ${terminal_output} instead of ${terminal_setup}
The newer kiwi has cleaned up its grub configurations.
One of the changes was the variable terminal_output, which you set for your terminal_output.  Much more logical.
This changes to the new way.
2024-07-23 16:26:30 -04:00
Neal Gompa 72e7153694 components/desktops/kde: Add plasma-welcome-fedora
This adds an extra panel for Plasma Welcome to enable third party
sources on initial login.
2024-07-22 14:12:40 -04:00
Romain Geissler d16b188a4d Introduce a new "fedora-init" image, which is fedora + systemd.
This is similar to "ubi-init" on UBI/RHEL side.

Fixes BZ 2278884.
2024-07-01 07:58:26 +00:00
Pavel Raiskup 0f501932e7 Add dnf5-plugins into the generic container
[root@ba1ab1388008 /]# dnf5 install dnf5-plugins  --setopt=install_weak_deps=False
...
Total size of inbound packages is 2 MiB. Need to download 2 MiB.
After this operation 13 MiB will be used (install 13 MiB, remove 0 B).
...

Fixes: https://pagure.io/releng/issue/12105
Fixes: https://pagure.io/releng/issue/12106
2024-07-01 09:22:08 +02:00
Dan Horák dcc4f3c6f9 cloud: updates for s390x
updates for "virtual image" usable under KVM
- don't use 4k block size
- don't use CDL partitioning
- don't use DASD related kernel parameters
2024-06-03 15:36:44 +00:00