Yu Watanabe
f1d95540ef
meson: move declarations of portabled and friends
2023-08-01 05:52:50 +09:00
Yu Watanabe
c212163086
meson: move declaration of systemctl
2023-08-01 05:52:50 +09:00
Yu Watanabe
22f37744ca
meson: move declaration of socket-activate
2023-08-01 02:31:36 +09:00
Yu Watanabe
bd31a348bf
meson: move declarations of bootctl and friends
...
This also drops unnecessary dependency on libblkid from
systemd-boot-check-no-failures.
2023-08-01 02:31:36 +09:00
Yu Watanabe
dbab4fb9e5
meson: move declaration of user-sessions
2023-08-01 02:31:36 +09:00
Yu Watanabe
b8ed1bf8ee
meson: move declarations of logind and friends
2023-08-01 02:31:36 +09:00
Yu Watanabe
c19cd86542
meson: move declarations of resolved and friends
2023-08-01 02:31:36 +09:00
Yu Watanabe
ec57a4ea49
meson: move declarations of dissect and friends
2023-08-01 02:31:36 +09:00
Yu Watanabe
7409342236
meson: move declarations of hibernate-resume
2023-08-01 02:31:36 +09:00
Yu Watanabe
2a4566203e
meson: move declarations of several generators
2023-08-01 02:31:36 +09:00
Yu Watanabe
dd1f738e40
meson: move declarations of journald and friends
2023-08-01 02:31:36 +09:00
Yu Watanabe
f727f3b963
meson: move declaration of systemd-analyze
2023-08-01 02:31:36 +09:00
Yu Watanabe
6d06af80d0
meson: move declaration of PID1
2023-07-31 22:17:34 +09:00
Yu Watanabe
2080c0978d
meson: move declarations of nss modules
2023-07-31 22:17:34 +09:00
Yu Watanabe
07e43306b3
meson: move declaration of cryptsetup token modules
2023-07-31 22:17:34 +09:00
Yu Watanabe
c335921e13
meson: introduce infra to build executables and shared libraries by using dictionary
...
That is not used yet. It will be used later.
2023-07-31 22:17:34 +09:00
Yu Watanabe
1d21a7bd99
meson: move declarations of arrays
2023-07-31 22:17:34 +09:00
Yu Watanabe
40c7d3c713
meson: unconditionally add version dependency for all executables and libraries
...
Otherwise, we can easily forget the dependency.
No functional change, just refactoring.
2023-07-30 05:36:22 +09:00
Yu Watanabe
e95acdfe1d
meson: drop short script to generate vcs tag
2023-07-30 04:54:03 +09:00
Luca Boccassi
b0d3095fd6
Drop split-usr and unmerged-usr support
...
As previously announced, execute order 66:
https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html
The meson options split-usr, rootlibdir and rootprefix become no-ops
that print a warning if they are set to anything other than the
default values. We can remove them in a future release.
2023-07-28 19:34:03 +01:00
Daan De Meyer
09444a2e76
elf2efi: Make compatible with python 3.6 again
...
CentOS 8 ships python 3.6 so let's try and stay compatible with that
since the only feature we're using that requires python 3.9 is the
streamlined type annotations which are trivial to convert back to
the older stuff to stay compatible with python 3.6.
2023-07-14 14:41:19 +02:00
Luca Boccassi
e290bdb77b
test-fstab-generator: use test_env
...
When running from the build directory systemd-detect-virt might not be installed,
so tell meson to set up the PATH accordingly to point to the build directory.
Fixes https://github.com/systemd/systemd/issues/28316
2023-07-10 15:29:38 +01:00
Jan Janssen
7ea44f1733
boot: Fix build for x32
...
When building on a x32 system we need to explicitly pass `-m64` to get
the right ABI as the kernel and EFI are still 64bit. For this to
actually work, a suitable multilib compiler, 32bit libc headers and
libgcc need to be installed (similar to ia32 builds on x86_64).
2023-07-10 11:09:28 +01:00
Luca Boccassi
4729e84e01
efi: skip libefitest if 'bootloader' is explicitly set to false
...
On x32 efi_arch will be set as the kernel architecture is just x86_64,
but there's no userland support to build the EFI ABI. When -Dbootloader=false
is set, skip libefitest too.
2023-07-10 00:13:42 +01:00
Yu Watanabe
555737878f
meson: allow to fallback to use libxcrypt.pc or glibc's libcrypt
...
Some distributions still use glibc's libcrypt. In that case, libcrypt.pc
does not exist and dependency() will fail.
Also, even if libxcrypt is used, there may not be a symlink
from libcrypt.pc to libxcrypt.pc. So, let's add a secondary name.
Follow-up for d625f717db6e151fd78742593c35eaba4cd2841d.
Fixes #28289 .
2023-07-07 12:32:12 +01:00
Luca Boccassi
eed3d044cd
meson: bump versions for v254-rc1
2023-07-06 20:57:13 +01:00
Egor Ignatov
1d8aae4327
shared: add libpasswdqc support
...
Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
Resolves : #15055
2023-07-06 10:59:41 +00:00
Yu Watanabe
d625f717db
meson: first try dependency(), then fallback to find_library()
...
This also drops the fallback for libacl, libcap, libcrypt, and libgcrypt,
as recent Ubuntu (at least, 20.04 LTS and newer) and Debian (at least, buster
and newer) have relevant .pc files.
Fixes #28161 .
2023-06-29 15:38:53 +09:00
Lennart Poettering
5e4c66450c
Merge pull request #27830 from 1awesomeJ/initrd
...
PID1: Detect battery level in initrd and if low refuse continuing to …
2023-06-28 19:18:03 +02:00
Dmitry V. Levin
51c425dc93
pwquality: remove old built-in cracklib dictionary workaround
...
The first version of libpwquality with the required change was 1.4.1
released in 2019.
2023-06-28 15:56:38 +02:00
OMOJOLA JOSHUA
e3d4148d50
PID1: detect battery level in initrd and if low refuse continuing to boot, print message and shut down.
2023-06-28 14:48:54 +01:00
Yu Watanabe
16e1e4b3e7
meson: drop doubled empty line
2023-06-27 22:34:25 -06:00
Lennart Poettering
031d21bc45
Merge pull request #27843 from yuwata/usleep_safe
...
time-util: introduce usleep_safe()
2023-06-23 23:03:15 +02:00
Yu Watanabe
84d953e87a
meson: sort types
2023-06-22 15:24:57 +09:00
Yu Watanabe
c20d291416
meson: fix test dependency
...
Follow-up for daf4e78e4841a527ba62da48fd00e2e6b8805193.
2023-06-22 14:37:45 +09:00
Yu Watanabe
1782534bb1
meson: shorten code a bit
2023-06-22 14:37:24 +09:00
Yu Watanabe
e04e42312d
meson: drop wrong and redundant assignment
...
Follow-up for b62ee354dd68349812f0526622c4e164b4a89f5f.
2023-06-22 14:20:32 +09:00
Yu Watanabe
d37dee7450
meson: also build symbol tests for static-libsystemd=no-pic
2023-06-22 14:20:32 +09:00
Yu Watanabe
67b1c943cb
meson: add dependency for udev runner to test
2023-06-22 14:20:32 +09:00
Yu Watanabe
35c035a1a7
meson: bump required version to 0.60.0
...
To suppress warning about install_tag argument.
2023-06-16 10:43:06 +09:00
Yu Watanabe
ff5becf585
meson: bump required version to 0.59.0
...
fs.stemp() and fs.name() can take File object since 0.59.0.
2023-06-16 10:43:06 +09:00
Yu Watanabe
d1b0d8415c
meson: drop redundant spaces
2023-06-16 10:43:06 +09:00
Luca Boccassi
4dad6101fd
Merge pull request #28038 from mrc0mmand/cleanups
...
A couple of cleanups
2023-06-14 23:18:04 +01:00
Frantisek Sumsal
7f4544c9bc
activate: rename to socket-activate
...
To make the naming consistent with the rest of the utils, i.e. binary
name minus the systemd- prefix.
2023-06-14 20:39:10 +02:00
Jan Janssen
739a62bb40
meson: Use fs module in more places
2023-06-14 16:05:52 +02:00
Lennart Poettering
5bc4570fd4
Merge pull request #26728 from keszybz/meson-update
...
Meson version update
2023-06-13 23:38:41 +02:00
Lennart Poettering
18cad4ebda
Merge pull request #27846 from keszybz/link-mode-generation
...
Autogenerate list of link modes
2023-06-13 23:03:51 +02:00
Yu Watanabe
80dc9ad98c
meson: bump required version to 0.56.0
2023-06-12 11:01:58 +02:00
Yu Watanabe
573c0dc134
meson: bump required version to 0.55.0
2023-06-12 11:01:58 +02:00
Yu Watanabe
daf4e78e48
meson: bump required version to 0.54.0
2023-06-12 11:01:58 +02:00