Commit Graph

129 Commits

Author SHA1 Message Date
Pratham Patel
6bedd927b0
remove asahi-specific stuff 2024-04-30 10:31:37 +05:30
Pratham Patel
55c7fc5760
rawhide -> f40 2024-04-30 10:23:00 +05:30
Davide Cavalca
e672f281ef Drop the selinux relabel workaround 2024-04-20 16:22:08 +00:00
Neal Gompa
2820e4b2bb tmt: Install the kiwi system deps for disk images
This ensures all the tools needed for building disk images are
present.
2024-04-10 23:21:54 -04:00
Neal Gompa
01b18f3e89 tmt: Add missing runtime dependency on python3-click
It's needed for builder.py.
2024-04-08 23:15:57 -04:00
Neal Gompa
0521c46afa config.sh: Drop unneeded configuration
The various systemd services are enabled through presets already,
so this is redundant.
2024-04-08 22:53:03 -04:00
Neal Gompa
84a2a2a187 components/boot: Force grubby at bootstrap phase
If no preference is expressed, sdubby will be selected instead of
grubby, which breaks image builds. Thus, install grubby early to
avoid this issue.
2024-04-08 22:48:27 -04:00
Neal Gompa
726d50088f Install fedora-release-* at bootstrap phase for various images
This ensures that the correct variant packages are installed.
2024-04-08 22:46:36 -04:00
Leif Liddy
d036ad6d83
correct typo 2024-01-08 01:00:12 +01:00
Neal Gompa
0a91c4077b builder.py: Use TMT_TEST_DATA for storing artifacts for CI
The contents of TMT_PLAN_DATA does not get exposed in the
CI artifacts output UI, whereas TMT_TEST_DATA does.
2023-12-20 22:11:49 -05:00
Neal Gompa
f055b4d18d README: Add note about CI under Contributing section 2023-12-20 08:40:40 -05:00
Neal Gompa
806f23b694 tmt: Simplify test configuration
We are running the same test multiple times, so we can de-duplicate
the logic so that it is written only once and reused for each variant.
2023-12-20 07:16:01 -05:00
Neal Gompa
94956e7750 tmt: Use declarative syntax for package dependencies
This makes things just a bit cleaner.
2023-12-19 16:56:19 -05:00
Davide Cavalca
9bd4af2286 tmt: copy the artifacts over 2023-12-18 18:23:42 -08:00
Davide Cavalca
7a23258337 tmt: add missing dependency 2023-12-18 18:23:36 -08:00
Davide Cavalca
1362b613ac Ensure grubby is installed over sdubby 2023-12-18 18:23:14 -08:00
Neal Gompa
4acc3a114b Add Zuul CI configuration
This allows us to have pull requests tested before we review changes
to merge.
2023-12-18 16:16:38 -05:00
Davide Cavalca
906de7f772 Enable swap setup for GNOME and KDE images 2023-12-18 09:12:44 -08:00
Leif Liddy
ed3c8ba8c6
align boot partition with GiB 2023-11-17 16:33:18 +01:00
Davide Cavalca
db0ec3df16 Add back older firmware to the manifest 2023-11-03 08:59:46 -07:00
Neal Gompa
df53532b87 platforms/server: Use ext4 for the /boot partition
This avoids issues where U-Boot cannot read the DeviceTree files
on /boot and fails to initialize the system properly.
2023-10-26 14:11:13 -04:00
Leif Liddy
532ef79044
add zstd dependency 2023-10-23 03:35:52 +02:00
Leif Liddy
4d5e17fc8d
add p7zip-plugins dependency 2023-10-20 02:42:15 +02:00
Leif Liddy
82bcc1db83
display grub menu for minimal and server profiles 2023-10-19 23:07:02 +02:00
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