Commit Graph

103 Commits

Author SHA1 Message Date
Neal Gompa
af69a5e061 rootfs: Add /etc/sysconfig/kernel with correct default settings
This ensures that new kernel installs will update the bootloader
configuration correctly.
2023-04-24 22:07:52 -04:00
Neal Gompa
2527c4530a components/base: Block generic-logos 2023-04-16 11:24:06 -04:00
Neal Gompa
fa9cfc4ece Remove the Cinnamon desktop profile
At this time, we do not intend to support the Cinnamon desktop due
to its reliance on X11 and the lack of interest by the upstream
Fedora Cinnamon SIG for ARM for their spin.

This mostly reverts commit a3c3a8137f.
2023-04-16 11:21:42 -04:00
Leif Liddy
6e3cc04c49
add NM-wifi to minimal profile 2023-04-05 22:02:11 +02:00
Davide Cavalca
90f4d8bd3a config.sh: explicitly mark the machine-id as uninitialized
Fixup for acc56affb2
2023-03-29 20:52:03 +00:00
Davide Cavalca
f11d8d71d5 Add hacky builder script to automate releng work 2023-03-24 21:29:43 +00:00
Neal Gompa
267b932187 config.xml: Add display name for the image description
This is used for setting the GRUB_DISTRIBUTOR value.
2023-03-18 12:29:56 -04:00
Neal Gompa
98b6bf5dd8 config.sh: Add expected GRUB settings for Fedora setups 2023-03-18 12:28:45 -04:00
Neal Gompa
acc56affb2 config.sh: Drop creating an empty machine-id(5) file
According to the documentation, an empty file triggers firstboot
mode. Since we're not using a read-only root filesystem, we do not
need to leverage any other tricks here and we can just have no file
present.
2023-03-18 11:42:38 -04:00
Leif Liddy
a3c3a8137f add cinnamon profile 2023-02-12 03:43:09 +00:00
Leif Liddy
1827c23a5f
remove grub2 x86_64 packages 2022-12-26 03:48:40 +01:00
Neal Gompa
c1452f1407 platforms/minimal: Flesh out and document Minimal variant 2022-12-24 11:08:35 -05:00
Leif Liddy
d569746e81 create a minimal build profile
this will:
1. allow developers to quickly test the build process
2. give users the option of installing a minimalistic environment
2022-12-24 16:04:44 +00:00
Leif Liddy
b4777d0f33
install server-product-environment group
The server-product-environment group will install "Domain Membership" (which is the same
group as domain-client). It will also install server-product and headless-management.
2022-12-24 01:52:44 +01:00
Leif Liddy
5bf792dfd1 modified profile preferences
standardizing preferences to put them more in-line with stock Fedora
settings.
2022-12-23 23:41:19 +00:00
Leif Liddy
92fc5475cc
Change mktemp dir to /var/tmp
To allow building on systems that don't have enough memory to contain
the image
2022-12-23 21:25:24 +01:00
Davide Cavalca
40c5a9a10c make-asahi-installer-package: update supported firmware to match official installer 2022-12-23 16:11:45 +00:00
Davide Cavalca
4363374155 make-asahi-installer-package: various fixes to handle 4096 blocksize properly 2022-12-23 16:09:41 +00:00
Davide Cavalca
d48fbd4697 Touch flag file to disable ESP autodetection 2022-12-23 07:23:14 +00:00
Neal Gompa
d927cd9af3 platforms: Use 4k target block size and sync btrfs fsoptions
Apple Silicon platforms have disks that are 4k block size.

Additionally, update the server config for Btrfs to more closely
match the workstation one.
2022-12-22 21:57:54 -05:00
Neal Gompa
0e153ceaa0 repositories/asahi: Sync with asahi-repos package
We've moved fully over to SIG-owned COPRs now.
2022-12-22 21:52:56 -05:00
Davide Cavalca
f27d03d37a Clarify the branches situation 2022-12-20 17:52:39 +01:00
Davide Cavalca
681654e2de Revert "Drop grub workaround now that kiwi fixed it"
The upstream fix doesn't actually work: https://github.com/OSInside/kiwi/issues/2222

This reverts commit 82aa1e6f3d.
2022-12-20 12:31:04 +00:00
Davide Cavalca
6e6de9d80f Use asahi-repos package instead of dropping repo configs 2022-12-20 08:51:09 +00:00
Davide Cavalca
82aa1e6f3d Drop grub workaround now that kiwi fixed it 2022-12-20 08:49:15 +00:00
Davide Cavalca
9aefed8c04 Colons are special in XML, use underscores instead 2022-12-19 19:15:38 +01:00
Davide Cavalca
4b1adf490d Add back priority for our repos 2022-12-19 19:14:34 +01:00
Davide Cavalca
a6798ce9da Switch to @asahi copr for u-boot and branding 2022-12-13 12:35:03 +00:00
Neal Gompa
42587db3e4 components/base: Add alsa-ucm-asahi
This adds the necessary descriptions for Apple Mac audio hardware
for ALSA so that the speakers can eventually be used.
2022-11-26 05:21:27 -05:00
Neal Gompa
e565b009da Apply workaround for issues with grub-bls
KIWI currently configures grub2 slightly incorrectly,
such that installing new kernels does not correctly
switches the default kernel to the new one.

Work around this while we wait for a fix in KIWI
to deal with this problem.

Reference: https://github.com/OSInside/kiwi/issues/2198
2022-11-05 23:12:50 -04:00
Davide Cavalca
3cdf005975 make-asahi-installer-package: refactor release version logic 2022-11-05 17:38:16 +00:00
Davide Cavalca
2981d97df6 Add more stuff to gitignore 2022-11-05 15:58:25 +00:00
Davide Cavalca
3d4c1d6104 make-asahi-installer-package: add our boot picker icon 2022-11-05 15:57:52 +00:00
Davide Cavalca
43d19e3227 Set ESP mount options to match what Fedora does
Also see https://github.com/OSInside/kiwi/issues/2201
2022-11-05 15:39:06 +00:00
Davide Cavalca
81f2a876b5 Partition sizes need to be divisible by 4096 2022-11-05 05:06:43 +00:00
Davide Cavalca
64f71cdf0f Do not make a subvol for var 2022-11-05 04:55:11 +00:00
Davide Cavalca
0a490d4579 Use kiwi knob to set mount options and enable zstd compression 2022-11-05 04:54:32 +00:00
Davide Cavalca
f29df550f6 make-asahi-installer-package: slightly larger boot partition 2022-11-04 23:05:18 +00:00
Davide Cavalca
91b6472ee8 make-asahi-installer-package: also generate installer_data.json 2022-11-04 21:47:31 +00:00
Davide Cavalca
9321c14ba3 Update README 2022-11-04 18:12:41 +00:00
Davide Cavalca
19ac954118 Add script to build asahi-installer package from image 2022-11-04 18:08:16 +00:00
Davide Cavalca
6e2e42ca29 Drop unnecessary packages 2022-11-04 18:07:41 +00:00
Davide Cavalca
5ce683cdff Downsize / to 15G and grow it on firstboot 2022-11-04 17:22:10 +00:00
Davide Cavalca
80435b988d Run update-m1n1 to generate boot.bin 2022-11-04 16:30:55 +00:00
Davide Cavalca
32ae41af9c components/boot: drop update-vendor-firmware 2022-11-01 21:30:27 +00:00
Davide Cavalca
6edbf5bcb9 Force selinux relabel on firstboot 2022-09-22 12:57:35 +00:00
Davide Cavalca
d4007ffb11 Add gitignore 2022-09-22 12:17:48 +00:00
Davide Cavalca
f9c5706259 components/boot: add asahi-fwextract package 2022-09-22 09:41:14 +00:00
Neal Gompa
53d04b290c Enable weak dependencies for package installation in the image phase
This brings package installation behavior in-line with what other
image building tools do, and provides us the expected behavior
for image content.
2022-09-18 21:19:49 -04:00
Neal Gompa
ad92f970f4 Set SELinux to permissive mode for troubleshooting purposes
There seems to be issues with SELinux on the generated images at
the moment. In order to be able to troubleshoot them, we will
configure SELinux for permissive mode for now.
2022-09-18 21:00:42 -04:00