summaryrefslogtreecommitdiffstats
path: root/mkosi.conf.d/10-arch (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: Make systemd package filtering more robustDaan De Meyer2024-09-031-3/+5
| | | | | | Let's not just filter everything with systemd in the name, but instead use the same list of volatile packages that we install to do the filtering.
* mkosi: Build initrd as a subimageDaan De Meyer2024-07-161-9/+0
| | | | | | | | | Let's make things a little more consistent and build the initrd explicitly as a subimage as well instead of relying on mkosi building it as part of the main image build. We drop the opensuse initrd postinst script as we don't use erofs by default anymore. We can always reintroduce it again later if needed.
* mkosi: Make epel repositories optional for CentOS Stream 9Daan De Meyer2024-07-151-0/+5
| | | | | | | | This allows us to add CI for CentOS Stream 10 as EPEL 10 doesn't exist yet and won't exist for quite some time. CentOS Stream 10 will be enabled later as soon as https://issues.redhat.com/browse/RHEL-46604 is resolved.
* mkosi: Introduce build imageDaan De Meyer2024-07-153-130/+23
| | | | | | | | | | | | | We want the exitrd image to be built with the latest systemd as well. As the exitrd image is built as part of mkosi.images, and all subimages are built before the main image, this implies the packages must be built as a subimage in mkosi.images/ as well. So we introduce the build image and move all logic related to building distribution packages there. This also has the nice side effect of slimming down the main image as the build dependencies are not installed into the main image anymore. It also makes sure the packages are built in a "clean" chroot without any of the other packages which we install in the main image available.
* test: Switch to ncat instead of ncDaan De Meyer2024-07-101-1/+1
| | | | ncat is available in CentOS Stream 9 without having to enable EPEL.
* TEST-55-OOMD: Switch to stress-ngDaan De Meyer2024-07-101-1/+1
| | | | | stress-ng is available in OpenSUSE and in CentOS Stream without needing EPEL so let's switch to it instead of stress.
* mkosi: Check for configured build directory if WIPE=1Daan De Meyer2024-07-101-1/+1
| | | | | Otherwise trying to use --wipe might fail if the build directory has not been configured but is not empty either.
* mkosi: Adapt configuration to take into account configuration reworkDaan De Meyer2024-07-094-0/+205
In https://github.com/systemd/mkosi/pull/2847, the '@' specifier is removed, CLI arguments take priority over configuration files again and the "main" image is defined at the top level instead of in mkosi.images/. Additionally, not every setting from the top level configuration is inherited by the images in mkosi.images/ anymore, only settings which make sense to be inherited are inherited. This commit gets rid of all the usages of '@', moves the "main" image configuration from mkosi.images/system to the top level and gets rid of various hacks we had in place to deal with quirks of the old configuration parsing logic. We also remove usages of Images= and --append as these options are removed by the mentioned PR.