| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
When hacking on systemd, let's have mkosi prefer executables from
the build directory over the system ones.
|
|
|
|
|
|
|
| |
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")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
mkosi settings tweaks
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Better than creating a mess of output files in the root directory.
|
|/
|
|
|
| |
* mkosi: Add package libfdisk to Ubuntu dependencies
The libfdisk package is needed by systemd-repart.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
Came in handy while working on
https://github.com/systemd/systemd/pull/24024 so let's install it
in the image by default.
|
|
|
|
| |
It is mostly deprecated on Fedora.
|
| |
|
| |
|
|
|
|
|
| |
[1958/1958] Generating export-dbus-interfaces with a custom command
/root/mkosi.build: line 70: groupadd: command not found
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This commit adds the necessary packages for Fedora and Arch.
|
| |
|
|
|
|
|
| |
This should, hopefully, catch issues like systemd/systemd#21671
automagically.
|
| |
|
|
|
|
|
| |
compsize is useful to check the compression ratio of journal files
on filesystems that support compression such as BTRFS.
|
|
|
|
| |
lsattr is useful to check chattr flags on files.
|
|
|
|
| |
This helps with testing socket units.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This allows developers to add override files to override per-distro settings.
|
|
|
|
| |
For distros that ship libbpf >=0.2.0.
|
|
|
|
|
|
| |
This reverts commit a02c1239cc8064d6dc34279b027a264cfa1ebf07.
(Sorry, I pushed this directly to 'main' by accident)
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|