Commit Graph

105 Commits

Author SHA1 Message Date
Neal Gompa
0625f79972 repositories: Correctly handle repository configuration and signing keys
Since kiwi 9.25.16, it is now possible to use the $releasever variable
to get the correct GPG key file path. This minimizes the changes
required to branch from rawhide to simply changing the release-version
value in the config.xml and switching the symlink for repositories/core.xml.
2023-10-17 13:56:12 -04:00
Davide Cavalca
547e94a238 fixup: Write empty object if "extras" is empty 2023-10-12 10:36:38 -07:00
Janne Grunau
402a8ff4c7 Write empty object if "extras" is empty
Rawhide has no openh264 builds which results in writing an array with
an empty string as "extras" value. This breaks the installer.
2023-10-07 14:56:13 +00:00
Janne Grunau
928c859ad7 builder: Mark rawhide targets as expert only 2023-10-07 16:50:35 +02:00
Davide Cavalca
7c61497768 Move /etc/X11/xorg.conf.d creation to a later hook 2023-09-30 16:19:26 -07:00
Neal Gompa
133321c403 config.sh: Don't configure Anaconda Initial Setup on GNOME
GNOME provides its own Initial Setup wizard, and we want it to
use that. Additionally, ensure that we never run this logic for
KDE either, since we provide a Calamares-based firstboot for KDE.
2023-09-23 20:38:37 -04:00
Neal Gompa
d07fa7ed66 components/base: Install asahi-platform-metapackage
This ensures that the necessary base components for the Asahi
platform are installed and blocks packages that would break it.
2023-09-23 14:36:30 -04:00
Davide Cavalca
31a7b38df4 Parse the release from the kiwi config 2023-09-22 19:25:57 -07:00
Neal Gompa
33c0bf12da config.sh: Create /etc/X11/xorg.conf.d
Since we dropped the Xorg stack from the images, systemd-localed
chokes when trying to set configs because it tries to create
/etc/X11/xorg.conf.d if it doesn't exist so it can write a drop-in
configuration file for setting xkb configuration, and the SELinux policy
does not currently permit it.

Until this is addressed somehow, pre-create the directory so localectl
calls do not fail on this.

Reference: https://bugzilla.redhat.com/2240159
2023-09-22 03:37:35 -04:00
Michael Gerlach
53faef2130
reduce grub timeout on workstation to 1
Signed-off-by: Michael Gerlach <n3ph@cccfr.de>
2023-09-21 19:09:54 +02:00
Michael Gerlach
5400cc5212
reduce grub timeout on server to 1
Signed-off-by: Michael Gerlach <n3ph@cccfr.de>
2023-09-21 19:09:44 +02:00
Michael Gerlach
6ab70da9f5
reduce grub timeout on minimal to 1
Signed-off-by: Michael Gerlach <n3ph@cccfr.de>
2023-09-21 19:09:29 +02:00
Neal Gompa
8705630dd9 components/base: Drop dracut-config-generic
It should be fine at this point to have dracut generate
initramfs images that use host-specific images when installing
updated kernels, as we have the infrastructure to guarantee
Mac hardware modules are retained.
2023-09-21 11:17:56 -04:00
Neal Gompa
c047e6e4f9 components/base: Drop dracut-config-rescue
The "rescue" initramfs image is not useful for Fedora Asahi Remix,
and will mislead people into thinking we have some kind of useful
recovery mode here.

Let's drop it to avoid any sense of confusion.
2023-09-21 09:02:39 -04:00
Davide Cavalca
b1e9058f7c Install extras on firstboot if available 2023-09-06 08:05:06 -07:00
Neal Gompa
fa8af4621f components/desktop-environments: Uninstall Xorg instead of excluding it
For the moment, the base-x group is required by the Workstation and
KDE environment groups, so we need to work around this by telling
KIWI to uninstall it after everything is installed instead of
excluding it from the beginning.
2023-09-05 21:35:38 -04:00
Neal Gompa
31e2285ee0 components/desktop-environments: Drop base-x group
We do not need this group anymore since we have no real need for
Xorg or X11 session stuff. The few packages we do need from that
that are not X11 specific have been extracted and added in its place.
2023-09-05 21:24:19 -04:00
Neal Gompa
6121f5634c components/desktop-environments: Drop Xorg and initial-setup-gui
We do not want X11 session support on these images and we no longer
use Xorg for anything since we switched to Calamares for our
initial setup wizard for the KDE Plasma variant.
2023-09-05 12:28:53 -04:00
Davide Cavalca
fc963abe73 repositories: add fedora-remix-scripts copr 2023-09-05 08:53:35 -07:00
Davide Cavalca
035d8c594b Revert "platforms/server: Drop the var subvolume for now"
This reverts commit b48721a82a.

No longer needed as of kiwi 9.25.13
2023-09-04 21:56:48 -07:00
Davide Cavalca
ec7d7372f4 Use calamares for initial setup on KDE images 2023-09-03 22:17:10 -04:00
Davide Cavalca
1ec0538990 Fix up grub in the ESP 2023-08-29 10:35:02 -04:00
Davide Cavalca
10d62cc9c6 Clobber extras on headless targets 2023-08-28 12:53:11 -04:00
Davide Cavalca
70d38311f7 Fix permissions 2023-08-22 13:43:49 -07:00
Davide Cavalca
99f6832a9d Remove kiwi leftovers we don't need 2023-08-22 13:42:48 -07:00
Neal Gompa
b48721a82a platforms/server: Drop the var subvolume for now
At the moment, the resulting image breaks because of an issue
where the subvolumes aren't mounted before the data is synced
to it as part of the image build.

Reference: https://github.com/OSInside/kiwi/issues/2356
2023-08-21 23:24:16 -04:00
Davide Cavalca
a92c810463 Add openh264 package URIs as extras 2023-08-21 10:45:09 -07:00
Davide Cavalca
987ccef2af Also set 16k as the default kernel package type 2023-08-18 20:04:27 -07:00
Davide Cavalca
100853fe04 Add tiny-dfr to base packages 2023-08-18 19:57:13 -07:00
Davide Cavalca
3a9344465f Switch to the kernel-16k variant 2023-08-18 19:56:17 -07:00
Davide Cavalca
4f4742db36 Use s3 for the hotfixes repo 2023-08-03 14:26:45 +01:00
Davide Cavalca
6fce1f4e9b repositories: add mesa and hotfixes repo definitions 2023-08-03 13:55:51 +01:00
Davide Cavalca
ccda7303ec Force 13.5 firmware 2023-08-02 09:49:49 +01:00
Davide Cavalca
1378d72185 Add 13.5 to supported firmware list 2023-08-02 09:09:51 +01:00
Neal Gompa
a37f7758c2 platforms: Set subvolume mountpoints correctly
Without these being set, kiwi sets up a weird subvolume layout by
default.
2023-07-31 15:45:40 -04:00
Davide Cavalca
e35b149784 builder: use a consistent build version to avoid conflicts 2023-07-20 11:42:27 -07:00
Davide Cavalca
85c1d1750f builder: more packaging bugfixes 2023-07-20 10:00:28 -07:00
Davide Cavalca
1711c0e46a builder: add option to make manifest update conditional 2023-07-20 08:34:26 -07:00
Davide Cavalca
340844f960 Package the json manifest too 2023-07-20 08:31:18 -07:00
Davide Cavalca
cdf0a1f24a Package up the logs and the raw image too 2023-07-19 17:39:31 -07:00
Davide Cavalca
0bfa3ff963 Fix manifest subcommand 2023-07-19 16:54:18 -07:00
Davide Cavalca
04b52adf87 builder: fetch manifest from S3 2023-07-19 16:16:04 -07:00
Davide Cavalca
650733849d builder: drop invalidation logic 2023-07-19 14:08:43 -07:00
Davide Cavalca
d6d00d25da builder: parse release from config.xml 2023-07-14 12:55:24 -07:00
Davide Cavalca
9b185dae8a Rework the selinux relabel workaround 2023-06-19 19:21:37 +00:00
Leif Liddy
1f96cd2af0 remove uneeded kernelcmdline args 2023-06-18 15:53:01 +00:00
Davide Cavalca
9d9b6b5b75 builder: rework OS names for consistency 2023-05-09 09:58:00 -07:00
Neal Gompa
14652d47d2 builder: Shorten the KDE and GNOME variant names
We don't need to be too wordy here, and it should fit in the
boot menu list.
2023-05-09 07:53:06 -04:00
Neal Gompa
547c21b7b3 builder: List Fedora KDE first
For Fedora Asahi, Fedora KDE is the flagship variant as it is more
developed for the Apple Silicon platform than GNOME.
2023-05-09 07:52:05 -04:00
Neal Gompa
0d1538e7ca builder: Always consistently identify Fedora variants
This eliminates the "variant-less" version of the images and
correctly labels all variants properly.
2023-05-09 07:48:36 -04:00