summaryrefslogtreecommitdiff
path: root/mkosi.conf.d
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: add tmpfiles to create debian/ubuntu /etc/default/locale linkLuca Boccassi2023-04-241-0/+1
|
* mkosi: move debian/ubuntu ignore preset to config directoryLuca Boccassi2023-04-241-0/+1
|
* mkosi: move debian/ubuntu common conf under common directoryLuca Boccassi2023-04-241-0/+0
|
* mkosi: Update to latestDaan De Meyer2023-04-246-339/+194
| | | | | | Let's use the new support for matching against any distribution in a list of distributions to start sharing most things between the ubuntu/debian configs and centos/fedora configs.
* mkosi: remove ?priority(required) from debian pkg listLuca Boccassi2023-04-211-1/+1
| | | | | | Requires apt 2.3.10 which is not available in stable, and also doesn't seem necessary, same packages are installed anyway Add tzdata manually, as that doesn't seem to be pulled in via the CI.
* mkosi: Disable kmsg ratelimitingDaan De Meyer2023-04-201-0/+1
|
* mkosi: Update to latestDaan De Meyer2023-04-191-0/+1
|
* mkosi: Use kernel-core for Fedora and CentOS imagesDaan De Meyer2023-04-172-3/+2
| | | | Let's reduce image size by using a smaller kernel package.
* mkosi: default to Fedora 38Zbigniew Jędrzejewski-Szmek2023-04-162-2/+3
| | | | | | | | | | | | | It'll be out this week. We can't update the man pages before it is realeased, but we can use it for mkosi builds and do some very late testing. Also, use filepath specification for /bin/pkg-config. We need it for meson, and meson calls it directly by this path. pkgconfig is a virtual Provides on pkgconf-pkg-config, and the indirection here just obfuscates things with no benefit. Add it explicitly for centos too. (I think it is pulled in by packages which contain pkg-config modules anyway, but it's better to be explicit).
* mkosi: Update to latestDaan De Meyer2023-04-152-2/+2
| | | | | | mkosi now installs a "ignore *" default preset on Debian. We also switch Debian to dbus-broker now that preset doesn't disable it anymore.
* mkosi: Update to latestDaan De Meyer2023-04-137-2/+25
| | | | | The Bootable= option was removed and mkosi installs less packages by default now, so let's adapt our configs to those changes.
* mkosi: Update to latestDaan De Meyer2023-04-0710-37/+52
| | | | | | This also migrates the configuration to the new format that was just merged in mkosi. Specifically, we make use of the new [Match] sections to only include specific config snippets per distro.
* Revert "mkosi: Drop python-docutils"Daan De Meyer2023-04-056-0/+6
| | | | | | | This reverts commit be266f49d6b7e3f021e2a07f937d39d1f14a283d. Turns out we installed this because it's required by the bpf selftests so let's keep it intact.
* mkosi: Drop python-docutilsDaan De Meyer2023-03-296-6/+0
| | | | | We don't seem to use anything from python-docutils at all, so let's drop the dependency.
* mkosi: Update to latestDaan De Meyer2023-03-297-20/+26
| | | | | | | | | | | - Drop Netdev= as it was removed in mkosi - Always install python-psutil in the final image (required for networkd tests) - Always Install python-pytest in the final image (required for ukify tests) - Use the narrow glob for all centos python packages - Drop the networkd mkosi config files (the default image can be used instead) - Use ".conf" as the mkosi config file suffix everywhere - Copy src/ to /root/src in the final image and set gdb substitute path in .gdbinit to make gdb work properly
* mkosi: Update to latestDaan De Meyer2023-03-291-1/+3
| | | | | | | | | | - ACLs are not set on generated directories anymore by default, so we enable them explictly now so that when running unprivileged mkosi, the user running mkosi can remove all generated files and directories. - We don't explicitly set QemuHeadless= anymore as the option was removed and made the default. - We set the loglevel= kernel cmdline argument explicitly now as mkosi doesn't set it by default anymore.
* mkosi: Narrow glob used to install python packagesDaan De Meyer2023-03-272-3/+12
| | | | | | | | | | | | | Let's make sure we only install the python3 and python39 python packages, instead of all the packages of all versions that are packaged. This also fixes the CentOS 8 CI because python3.11-pytest was failing to install. We have to ship our own powertools repo definition because we need to enable module_hotfixes for powertools to coerce dnf into installing some of the python packages.
* mkosi: Default to debug log level for udev as wellDaan De Meyer2023-03-211-3/+0
| | | | | Unlike CI, the debug output just goes to the journal, so there's no harm in enabling it, even if it's noisy.
* mkosi: Enable some debugging options by defaultDaan De Meyer2023-03-171-0/+8
|
* ci: Adjust for new EFI buildJan Janssen2023-03-106-0/+6
|
* tree-wide: Drop gnu-efiJan Janssen2023-03-103-3/+0
| | | | | | | This drops all mentions of gnu-efi and its manual build machinery. A future commit will bring bootloader builds back. A new bootloader meson option is now used to control whether to build sd-boot and its userspace tooling.
* mkosi: Install dnf on centos and fedoraDaan De Meyer2023-03-052-0/+2
| | | | | dnf is not installed by default anymore, but it's still useful to have in our images, so let's install it explicitly.
* mkosi: add some really basic tools to default mkosi imageLennart Poettering2023-02-286-0/+11
| | | | | | "passwd" and "pscap" are extremely useful to debug basic OS behaviour, and tiny. So let's add them to our default development images, just to save us some headaches.
* mkosi: Move more logic to the postinst scriptDaan De Meyer2023-02-211-1/+3
| | | | | | Let's move stuff that only applies to the final image to the postinst script. Let's also move out some of the static files to mkosi.extra/ instead of hardcoding them in scripts.
* mkosi: configure multiarch libdir in debian/ubuntu buildsLuca Boccassi2023-02-162-0/+2
| | | | | | | Debian/Ubuntu use /usr/lib/<triplet> instead of /usr/lib64, so configure it accordingly. This is especially important for cryptsetup token plugins, as cryptsetup comes from the distro and is configured to look into those directories.
* mkosi: Use globs instead of prepare script to install extra packagesDaan De Meyer2023-02-101-5/+11
| | | | | | | This allows us to install everything in the same dnf command instead of having to use a prepare script to run dnf from within the image. This is a hack until mkosi supports release specific dropin files.
* mkosi: Update to latestDaan De Meyer2023-02-101-2/+0
| | | | | | | | | Let's make sure we're testing unprivileged builds properly. Usage of SourceFileTransfer= and SourceFileTransferFinal= are removed as they were dropped by mkosi. SourceFileTransfer=mount is now the default in mkosi so behavior for the build script is unchanged. We stop copying sources in the final image until mkosi adds support for virtiofs.
* mkosi: Drop epel-testing repository from centos configDaan De Meyer2023-01-291-1/+0
| | | | python3-pefile was pushed to epel 9 stable.
* mkosi: Update and enable ukify in mkosi buildsDaan De Meyer2023-01-276-0/+13
| | | | | | | We also add the necessary deps for ukify to the mkosi configs. CentOS Stream 8 is dropped from CI because its python version is too old (3.6) to be able to run ukify.
* mkosi: Rename the configuration files to use ".conf" as extensionDaan De Meyer2023-01-196-0/+0
|
* ci: Update mkosi action to latest commitDaan De Meyer2023-01-151-5/+2
| | | | | | | | | | | | Let's make sure we're testing with the latest changes in mkosi. This includes both the switch to systemd-repart and ukify, making sure we get extra testing coverage for those components. This also drops options from the centos config that have been removed in the newer mkosi. For some reason idmapping runs into some issues so we disable it for now.
* mkosi: Drop i686 packagesDaan De Meyer2022-12-131-3/+0
| | | | | | | These are only needed for some kernel selftests but they prevent building the mkosi image on aarch64 systems so let's drop them until mkosi has support for conditional configuration so we can only add these packages on the right architecture.
* mkosi: Drop HostonlyInitrd=yesDaan De Meyer2022-12-021-1/+0
| | | | | This option will be removed in the upcoming version of mkosi so let's stop using it in our config.
* mkosi: Drop explicit Format=Daan De Meyer2022-12-021-1/+0
| | | | | | | | | Once mkosi migrates to systemd-repart, only "disk" will be supported for making disk images with mkosi and the filesystem will have to be specified in repart partition definition files. To accomodate this change, let's remove the explicit Format= assignment which means we'll default to a disk image with ext4 until we add our own mkosi.repart/ directory.
* mkosi: pull in libbpf1 instead of legacy libbpf0 on debianLennart Poettering2022-11-211-1/+1
|
* mkfs-util: Add support to populate vfat without mounting using mcopyDaan De Meyer2022-11-151-0/+2
| | | | | | | | mkfs.vfat doesn't support specifying a root directory to bootstrap the filesystem from (see https://github.com/dosfstools/dosfstools/issues/183). Instead, we can use the mcopy tool from the mtools package to copy files into the vfat filesystem after creating it without needing to mount the vfat filesystem.
* mkosi: Add mkfs tools to mkosi imageDaan De Meyer2022-11-156-0/+12
| | | | Useful for testing systemd-repart
* mkosi: Build and install kernel selftestsDaan De Meyer2022-11-087-2/+97
|
* mkosi: Add back libasan/libubsan librariesDaan De Meyer2022-11-085-0/+7
| | | | These were accidentally removed as part of #24025
* mkosi: use the new mkosi.conf suffixZbigniew Jędrzejewski-Szmek2022-11-087-0/+487
Mkosi 14 is out, compat with old mkosi is not terribly important. Let's use the new nice suffix.