summaryrefslogtreecommitdiffstats
path: root/mkosi.default.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mkosi: Set ExtraSearchPaths=build/ by defaultDaan De Meyer2022-09-201-0/+1
| | | | | When hacking on systemd, let's have mkosi prefer executables from the build directory over the system ones.
* mkosi: add back packages removed from OpenSUSE buildLuca Boccassi2022-08-261-0/+16
| | | | | | | Some packages were removed from the OpenSUSE build, which broke the unit tests. Add them back. Fixes: 37d35150cbb5 ("mkosi: Ensure we build all features/components in mkosi")
* mkosi: Ensure we build all features/components in mkosiDaan De Meyer2022-08-237-287/+214
| | | | | | | | | | | | | | | | | | | | | | Explicitly enable all features/components in the mkosi build to ensure they all get built and we get an error if they can't be built. We also rework the packages sections of all mkosi configs to reduce duplication and cover all the dependencies necessary to build/use all systemd features. Note that for the final image, since systemd is installed by default in base images, we rely on that to install the base library dependencies and we only list extra optional dependencies and tools that aren't already installed by default into the base image. We also drop the centos stream 8 mkosi build as dependencies on that distro are too out-of-date to be able to build all systemd features. Since centos stream 9 has been out for a while, let's focus on that and leave it to downstream to keep systemd building on centos stream 8. Finally, there's a few additions to the mkosi scripts to make sure services don't start by default on boot.
* Merge pull request #24264 from DaanDeMeyer/mkosi-dirsLuca Boccassi2022-08-101-1/+1
|\ | | | | mkosi settings tweaks
| * mkosi: Don't use InstallDirectory by defaultDaan De Meyer2022-08-091-1/+0
| | | | | | | | | | | | | | While this provides some marginal speedup, the disadvantage is that files are never removed when doing cached builds, which can sometimes lead to hard to debug issues. So let's not do this by default.
| * mkosi: Use mkosi.output/ as output directory by defaultDaan De Meyer2022-08-091-0/+1
| | | | | | | | Better than creating a mess of output files in the root directory.
* | mkosi: Add package libfdisk to Ubuntu dependencies (#24211)Richard Phibel2022-08-051-0/+1
|/ | | | | * mkosi: Add package libfdisk to Ubuntu dependencies The libfdisk package is needed by systemd-repart.
* mkosi: Remove usage of deprecated option names/sectionsDaan De Meyer2022-07-187-8/+8
|
* mkosi: Changes to allow booting with sanitizers in mkosiDaan De Meyer2022-07-186-0/+14
| | | | | | | | | | | | - Extra memory because ASAN needs it - The environment variables to make the sanitizers more useful - LD_PRELOAD because the ASAN DSO needs to be the first in the list - The sanitizer library packages - Disable syscall filters because they interfere with ASAN - Disable systemd-hwdb-update because it's super slow when systemd-hwdb is built with sanitizers - Take the value for meson's b_sanitize option from the SANITIZERS environment variable
* mkosi: Update Ubuntu config to 22.04Daan De Meyer2022-07-181-1/+1
|
* mkosi: Install xxd in imagesDaan De Meyer2022-07-186-0/+10
| | | | | | Came in handy while working on https://github.com/systemd/systemd/pull/24024 so let's install it in the image by default.
* mkosi: drop libiptc from build for FedoraYu Watanabe2022-05-121-1/+0
| | | | It is mostly deprecated on Fedora.
* mkosi: test-acl-util requires getfaclYu Watanabe2022-05-121-0/+1
|
* man,mkosi: fedora 36 has been releasedZbigniew Jędrzejewski-Szmek2022-05-121-1/+1
|
* mkosi: add shadow package to SUSE TumbleweedLuca Boccassi2022-05-091-0/+1
| | | | | [1958/1958] Generating export-dbus-interfaces with a custom command /root/mkosi.build: line 70: groupadd: command not found
* mkosi: Add centos_epel configDaan De Meyer2022-02-251-0/+86
| | | | | | | | | | | | | | Now that mkosi has centos-stream 9 support, let's add a config in the repo so that the mkosi CI tests that configuration as well. Centos doesn't support btrfs so we use xfs instead. For some reason, building --hostonly-initrd centos images breaks the qemu boot so I disabled that option for centos. We update the mkosi commit hash to https://github.com/systemd/mkosi/commit/0dd39c20a4b3a2fab6efdc54da92bffad7c7b7ca which adds the PowerTools repo to CentOS Stream 8 which is required to make all the necessary packages required to build systemd on CentOS Stream 8 available.
* mkosi: Add more packages required to run systemd-networkd-tests.pyDaan De Meyer2022-02-174-0/+14
| | | | | | Let's also add the required packages to run systemd-networkd-tests.py for Ubuntu and Debian. The Fedora and Arch lists are also updated to include python which is also required to run the tests.
* mkosi: Support running systemd-networkd-tests.py in QEMUDaan De Meyer2022-02-152-0/+12
| | | | This commit adds the necessary packages for Fedora and Arch.
* ci: switch from unstable to testing on mkosiEvgeny Vereshchagin2022-01-181-1/+1
|
* ci: check for failed services after bootFrantisek Sumsal2021-12-101-1/+3
| | | | | This should, hopefully, catch issues like systemd/systemd#21671 automagically.
* mkosi: Build Fedora 35 imagesDaan De Meyer2021-12-091-1/+1
|
* mkosi: Add compsize to list of installed packages on FedoraDaan De Meyer2021-12-061-0/+1
| | | | | compsize is useful to check the compression ratio of journal files on filesystems that support compression such as BTRFS.
* mkosi: Add e2fsprogs to installed packages for FedoraDaan De Meyer2021-12-061-0/+1
| | | | lsattr is useful to check chattr flags on files.
* mkosi: Add netcat to fedora imageDaan De Meyer2021-10-301-0/+1
| | | | This helps with testing socket units.
* mkosi: Install less in the mkosi Fedora imageDaan De Meyer2021-10-301-0/+1
| | | | | | We're actually falling back to `more` in the mkosi image which doesn't behave quite the same as less which is somewhat annoying. Let's make sure `less` is installed so systemd can use it as the pager.
* mkosi: Add number prefixes to per-distro files for easier overridingDaan De Meyer2021-10-145-0/+0
| | | | This allows developers to add override files to override per-distro settings.
* mkosi: add libbpf dependencyIago López Galeiras2021-10-062-0/+9
| | | | For distros that ship libbpf >=0.2.0.
* Revert "mkosi: turn off qemu headless mode"Lennart Poettering2021-09-241-1/+1
| | | | | | This reverts commit a02c1239cc8064d6dc34279b027a264cfa1ebf07. (Sorry, I pushed this directly to 'main' by accident)
* mkosi: turn off qemu headless modeLennart Poettering2021-09-231-1/+1
| | | | | | | | | | | We ship the mkosi files to make sure we can test our own code. A good chunk of our code (and the main reason to use qemu rather than nspawn) is the EFI code, i.e. in sd-boot and the EFI stub. Hence it's bad idea to use qemu headless mode, since that means we bypass all that. Let's hence toggle the defaults here, but keep the line in place, to make it easy to switch back if someone wants the speed, rather than the testing.
* tree-wide: fix typoYu Watanabe2021-09-051-1/+1
|
* mkosi: move distro files to mkosi.default.d/Zbigniew Jędrzejewski-Szmek2021-09-035-0/+349
| | | | | | | | | | | | | | | | | With this change, "mkosi build" will automatically build systemd for the current distro without any further configuration. If people want to do a cross-distro build by default, they can still create mkosi.default, but I assume that this is relatively rare. If people have symlinked mkosi.default to one of the files in .mkosi/, they'll need to adjust the symlink. (Building without configuration would always fail, since systemd has many many required dependencies. I think it's nicer to do the most commonly expected thing by default, i.e. rebuild for the current distro.) Mkosi is nowadays packaged for most distros, so recommend installing of distro packages as the primary installation mechanism.
* mkosi: Enable InstallDirectory and SourceFileTransferFinal optionsDaan De Meyer2021-01-071-0/+2
| | | | | | | | | | - InstallDirectory caches the install part of the build process which speeds up incremental builds a little and allows inspecting the installed components in mkosi.installdir. - SourceFileTransferFinal copies the source files to the final image which makes the gdb experience in qemu/systemd-nspawn a bit nicer as it can now find the source files and show the source code in the gdb cli itself.
* Move shared mkosi settings to a single file in mkosi.default.d/Daan De Meyer2021-01-061-0/+20