174 Commits

Author SHA1 Message Date
Andrea Bolognani
b78cd9f5eb config: Don't set up container registry
The server images don't include container tooling, so attempting
to configure it is not going to work.

In any case, this would be better handled either by patching
the relevant packages or by documenting the necessary steps in
the wiki.

Note that, while toolbox really needs the configuration, podman
works out of the box as long as the image you're trying to run
comes with a riscv64 variant.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
6f8e719944 config: Drop custom issue
We want our image to be as close as possible to the official
ones, which don't have this. Some of the information is not
accurate anyway.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
475ea52bb6 config: Don't set up riscv64 repos
The custom repos are shipped as part of the modified fedora-repos
package now, so doing this in config.sh is no longer needed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
d2db14fc37 server: Install haveged on riscv64
It's useful because a lot of (older) boards don't come with a
hardware RNG device.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
384a2e7d57 server: Add riscv64 definitions
These are the same as other architecture, with a notable
difference: ext4 is used instead of xfs for the boot filesystem.

This is needed because u-boot, which is used as the firmware on
most hardware, only supports the former.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
21b57ff1d0 liveinstall: Add missing attribute
To match existing definitions.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
3b90e696b7 repositories: Don't use symlinks
The use of symlinks is an effective way to convince kiwi to use
the riscv64 repos instead of the regular Fedora ones, but it's
clearly a borderline unmaintainable kludge.

Thankfully we can handle things a lot better by taking advantage
of the fact that repos can be defined per-arch.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
d0ee9ce387 repositories: Fix URLs for koji repos
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
Andrea Bolognani
03eaf0a4a0 Style tweaks
Indentation, empty lines, order of items.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:07:03 +01:00
10474bb641 Add f41-p550 riscv64 repo
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
0b4103e61f Fix typo
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
878bccfb20 Do not setup containers on non-RISCVServer image
Same as in previous commit. This showed up while building default cloud
image. We need a better way to solve this later on.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
66298a1d42 tmptfs and haveged bits are for HW only
These changes are only needed on physical hardware there we don't have
enough memory and potentially RNG.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
385d4a0031 Fix another repo link
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
f273cf88be Fix repo location
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
e065274ae7 Remove change and use core.xmk symlink
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:03 +01:00
51c7c65e3d Initial draft for riscv64 (F41)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2025-01-28 12:07:02 +01:00
Samyak Jain
1625c70e03 Branch Fedora 41 from Rawhide
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
(cherry picked from commit 8203a65b0c0e347efb0de9b56a1410d77f2f6486)

We want to build Fedora 41 images, so we need to change these
values back.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-28 12:06:36 +01:00
Neal Gompa
90f4f3a820 Add Fedora Scientific variants
This is ported over from the kickstart definitions.
2025-01-27 19:38:49 -05:00
Andrea Bolognani
b81b830770 server: Set bootloader timeout to 3s and show menu
While cloud images can usually be booted without any issues and
for workstation installs we want a visually polished experience,
in the case of server installs on real hardware it is generally
expected to have convenient access to the bootloader menu for
troubleshooting purposes.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-27 14:36:05 +01:00
Andrea Bolognani
d33836e560 config: Resize root partition on first boot
Disk images are usually flashed to media which is much larger
than they are, and all that additional space goes unused until
the user intervenes.

Configure things so that systemd-repart, which runs by default,
automatically takes care of resizing the root partition.
systemd-growfs, which also runs by default, will subsequently
take care of resizing the filesystem to fill the newly-enlarged
partition.

Note that we don't do this for cloud images, since in that
case cloud-init takes care of resizing the root filesystem and
the underlying partition together with all the other setup
tasks.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
2025-01-24 16:23:26 +01:00
Yaakov Selkowitz
9fed79138a teams/eln/container: Install standalone sysusers for base containers
This avoids a dependency on the full systemd package for non-init
containers.
2025-01-23 18:46:23 -05:00
Neal Gompa
a74ebe5098 Add Minimal disk image
This is an example that can be used for creating small disk images
to verify that the basics work.
2025-01-22 19:58:08 +00:00
Neal Gompa
1f35331b84 teams/cloud/container: Install standalone sysusers for base containers
This avoids a dependency on the full systemd package for non-init
containers.
2025-01-22 13:01:27 -05:00
Neal Gompa
01b6f436c2 Add Python Classroom Lab variant
This is a port over from the kickstart definitions.
2025-01-14 12:30:13 -05:00
Neal Gompa
fe9f770c85 teams/workstation: Use web-based Anaconda UI by default for live media
Reference: https://fedoraproject.org/wiki/Changes/AnacondaWebUIforFedoraWorkstation
2025-01-13 11:47:38 -05:00
Neal Gompa
9aeb2773a9 tmt: Add build verification for Fedora Workstation 2025-01-13 13:55:28 +00:00
Neal Gompa
e69c665481 teams/asahi: FEX: Switch SDL2 for sdl2-compat
Reference: https://fedoraproject.org/wiki/Changes/SDL2onSDL3
2025-01-13 08:37:54 -05:00
Neal Gompa
7f04952a02 Add COSMIC spin variants
Reference: https://fedoraproject.org/wiki/Changes/FedoraCOSMIC
2025-01-10 15:11:08 -05:00
Asahi Lina
88b268c9f1 teams/asahi: Add readlink binary
Potentially needed for path resolution to work properly in scripts.
2024-12-18 21:21:48 +09:00
Neal Gompa
a10cb63d95 components/liveinstall: Use GPT for UEFI-enabled ISO images
This mimics the previous state with Lorax-based images.
2024-12-16 06:03:28 -05:00
Neal Gompa
f8b3926a82 components/common: Exclude qemu-user-static
This metapackage pulls in tons of unwanted emulators which can
add up to 100MB of additional space.
2024-12-13 10:18:06 -05:00
Neal Gompa
1f496fc743 components: Introduce a BaseCommon profile
This is where the lowest level common denominator configuration
goes for most images go.
2024-12-13 10:18:06 -05:00
Asahi Lina
ed9909ea20 teams/asahi: FEX: Add glxinfo/eglinfo/clinfo to bin includes 2024-12-12 00:18:35 +09:00
Asahi Lina
9f4dd7cb88 teams/asahi: FEX: Minimize rootfs by removing most data files and executables
We only really need i686/x86_64 libraries, and executables which do not exist
(or do not work equivalently) on the arm64 host system.

In particular, removing libexec avoids situations where random dbus services
are started under emulation for no reason.
2024-12-09 20:00:23 +00:00
Asahi Lina
bb3a746dda teams/asahi: FEX: Add xim support for GTK2/3
We're currently shipping GTK2/3 libs in the rootfs. While we're doing
that, let's also install XIM support, which actually works through X11
passthrough with muvm. This should generally make legacy GTK x86_64
apps have input method support the old-fashioned way.

Modern apps should use the Wayland input method protocol stuff, which is
already built into GTK3/GTK4 and should not require any extra shared
libraries for FEX. For muvm, that will work once we have Wayland
passthrough.
2024-12-09 23:53:30 +09:00
Adam Williamson
f4fe89ae90 Disable group and related exclusions in LXQt definition
Per #112, excluding group specs just does not work in Kiwi at
present. For LXQt this is especially a problem because it means
the image fails to compose. The exclusion of m17n* *does* work
as it's a package spec, but because the exclusion of the
input-methods group does not work, dnf wants to install
ibus-typing-booster (part of input-methods), which requires
m17n-lib, and these conflicting requirements cause it to blow up.
So at least until the problem of not being able to exclude
groups is resolved, we should drop these.

Arguably, we should permanently stop excluding input-methods, at
least. Space constraints aren't as huge of a deal these days as
they used to be, on the whole; lots of folks have decent bandwidth,
lots of disk space, and large USB sticks. Input methods are
critical for CJK users; leaving them off the image makes it more or
less useless for them, which is a significant impairment. (Unless,
that is, input methods don't work properly in LXQt even if included
- I haven't tested this).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-27 16:37:13 -08:00
Neal Gompa
649ac3e121 teams/server: Split out ServerDisk aarch64 profile to force MBR
Many of the older supported AArch64 systems (particularly single
board computers) require a legacy MBR (Master Boot Record) type
partitioning to successfully boot.
2024-11-26 06:40:06 -05:00
Neal Gompa
e81733710d components/boot: Split out BootDiskCore aarch64 profile to force MBR
Many of the older supported AArch64 systems (particularly single
board computers) require a legacy MBR (Master Boot Record) type
partitioning to successfully boot.
2024-11-26 06:39:45 -05:00
Adam Williamson
4943dc58a8 Fix a line ordering error in lxde.xml
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-23 15:02:47 -08:00
Neal Gompa
21a2d09ca2 scripts/fedora-live-iso-label-generator: Add Workstation->WS mapping
This ensures that live media produced for Workstation Edition has a
valid volume ID.
2024-11-23 17:06:55 -05:00
Neal Gompa
b1359b9f68 scripts/fedora-live-iso-label-generator: Account for unknown profiles
This way it does not fail and produces something that makes sense.
2024-11-23 17:04:40 -05:00
Neal Gompa
6816c7d501 teams: Add install disk profiles for all desktop teams
KDE and MiracleWM teams already have it, so this just fills it in
for the rest of them.
2024-11-23 16:41:30 -05:00
Neal Gompa
c5971107d5 tmt: Purge work area contents to free up space on archiving
We only need to preserve the log file anyway.
2024-11-23 15:43:20 -05:00
Neal Gompa
58210badb5 components/desktops/common: Ensure Fedora Media Writer is installed
We want this on all deliverables.
2024-11-23 12:50:14 -05:00
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 1457e97008f15064dcc30aaca9977ffa1ec66572.
2024-11-22 18:11:22 -05:00