IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Let's detect & wrap binaries which are linked against systemd DSOs and
we're running under ASan, since otherwise running such binaries ends
with:
```
==633==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
```
(cherry picked from commit 3917534d620c2b358a196431b9e2593218ba1ac9)
EC2 machines run on Xen, so account for that as well when checking KVM
availability.
(cherry picked from commit cde09b07dfdc132a31672693c037bfc0b5879331)
Our source and build directories are nicely separated, so we should
have no issues with using SourceFileTransfer=mount, since the build
won't create any files owned by root in the source directory.
(cherry picked from commit 3e139a8e64820bf59552073524b21620d344fae7)
When hacking on systemd, let's have mkosi prefer executables from
the build directory over the system ones.
(cherry picked from commit 06d6ea1b16eb85e7648673f72bafdb2b27c5e52b)
Required to fix Debian testing/unstable builds, as resolved is
now in its own package
(cherry picked from commit 31ed4b91475b5c110dc3e6a50046745be79edbfe)
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")
(cherry picked from commit a26e6bf8bfe1366590a4cce0ca9828d5ac4e140b)
It's still failing in Ubuntu:
● isc-dhcp-server.service loaded failed failed ISC DHCP IPv4 server
● isc-dhcp-server6.service loaded failed failed ISC DHCP IPv6 server
Just disable them via the kernel command line masking.
(cherry picked from commit 255963ec3a092a3e8b8b0896b45b1ad3ec60f988)
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.
(cherry picked from commit 37d35150cbb5db063aaa8e5878ec03258414b0e5)
The warning isn't that serious and mostly there to inform the user that
lld/mold cannot build efi binaries. It is also better to build test with
fatal meson warnings.
(cherry picked from commit 4fb6506debb851ac062b3b46b46aaa3ac1a17321)
Introduces a more reliable mirror for Arch which should reduce the
number of mkosi Arch CI failures due to unreliable mirror selection.
(cherry picked from commit 599884bd9a3cfb376572e44935174939e0dab776)
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.
(cherry picked from commit d808662ec0dd4856818858595e3c523528dc1bfe)
* mkosi: Add package libfdisk to Ubuntu dependencies
The libfdisk package is needed by systemd-repart.
(cherry picked from commit b6d1e2b4419f2694739b0442635f59db6549d4db)
With this update, Arch Linux keyring updates will be automatically
pulled in instead of having to update to a new mkosi commit every
time the keyring gets outdated.
(cherry picked from commit 859614439a77da2a69118235a0e78c94c8449aaa)
Fixes an issue with Arch builds failing by updating the archlinux
keyring package.
(cherry picked from commit a41940ed0efc786f60404c5940a664adf047eaab)
- 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
(cherry picked from commit 69d638e67e5bfc5fedcae4072f144a4f7d798c9a)
Came in handy while working on
https://github.com/systemd/systemd/pull/24024 so let's install it
in the image by default.
(cherry picked from commit a6e6b6954c3b245894f50929190ac687eda9019b)
This is what's most likely used to build systemd with clang in
practice so let's test it as well.
Preparation for reverting 0bd292567a
(which replaced bogus buffer overflow found with _FORTIFY_SOURCE=3
with actual segfaults).
(cherry picked from commit 36cb69fc43cbce6d883b3a0da4f793c81dbf4b2e)