Luca Boccassi
ab855085a6
Enable support for libqrencode
...
dlopen() feature so no additional cost. Allows to print out recovery keys
in QR format.
2022-11-05 17:09:05 +00:00
Luca Boccassi
a042178a84
Backport patches to fix tests without machine-id
...
Drop out-of-tree patch and backport upstream fixes
2022-10-25 17:18:34 +01:00
Michael Biebl
3a5cc3582a
Use dh_installsystemd to enable machines.target in systemd-container
2022-10-14 16:33:12 +02:00
Luca Boccassi
71d9fe8aab
Build and install libcryptsetup token plugins
...
The interfaces are now mature and enabled in Debian/Ubuntu in
libcryptsetup, so enable and ship the plugins
2022-10-02 22:25:49 +01:00
Michael Biebl
b7d9be48c0
Handle removal of /var/log/README
...
Remove /var/log/README symlink when the systemd package is purged.
This symlink is created via tmpfiles and documents that /var/log no
longer contains the traditional syslog text files.
Closes : #877414
2022-09-28 13:38:53 +02:00
Luca Boccassi
4f54f5a6bd
Enable firstboot, disabled by default on Debian
...
Currently the first-boot conditions are not met by any Debian
image (/etc/machine-id with content uninitialized, so we can
just enable the build and ship it in the main package.
This lets image builders (eg: cloud images) tinker with it.
https://www.freedesktop.org/software/systemd/man/machine-id.html#First%20Boot%20Semantics
Closes : #844528
2022-09-27 18:25:46 +01:00
Luca Boccassi
c001228ca2
Split systemd-resolved into its own package which takes over /etc/resolv.conf
...
Closes : #939904
2022-08-04 16:14:05 +01:00
Michael Biebl
ce55156994
Work around some more dh_installman issues
2022-07-06 23:49:13 +02:00
Luca Boccassi
73788f18c6
Add nodoc profile support
...
Co-authored-by: Michael Biebl <biebl@debian.org>
2022-06-22 12:40:56 +00:00
Luca Boccassi
7d8bbfa02a
Use execute_before_/after_ instead of override_
2022-06-21 21:40:00 +02:00
Luca Boccassi
287518aa65
Stop overriding the build directory name
...
We don't do a separate udeb build anymore, so there's no need
to specify a separate build directory
2022-06-21 21:19:12 +02:00
Michael Biebl
0a949a2935
Split out libsystemd-shared into its own package
...
Since libsystem-shared is an internal implementation detail, do not
generate a shlibs file for it. This means dh_shlibdeps needs to be told
explicitly where it can find libsystemd-shared.
Mark this new package as Multi-Arch: same.
Closes : #990547
2022-06-08 20:04:13 +02:00
Luca Boccassi
6c8df64aa8
Add systemd-homed package
...
Closes : #976960
2022-06-04 00:18:41 +02:00
Luca Boccassi
a83eded003
Add systemd-userdbd package
...
This can be used to synthetize dynamic user/groups, and can be useful
by itself. It will also be used by homed.
2022-06-04 00:18:40 +02:00
Michael Biebl
9a2a5528ca
Enable pager Hyperlink ANSI sequence support
...
This requires less ≥ 563. Add a versioned Breaks accordingly.
2022-05-24 14:09:10 +02:00
Luca Boccassi
453537cfbe
Switch from gnutls to openssl
...
Upstream is slowly phasing out gnutls. Start switching to openssl.
Drops support for '--trust' in the journal-gatewayd and journal-remote
programs.
2022-05-23 16:48:21 +01:00
Luca Boccassi
f18e6f368b
Revert manual removal of ndisc test case, merged upstream
2022-05-21 15:04:12 +01:00
Luca Boccassi
11571814df
Backport removal of ndisc test case, breaks build on armhf/armel
...
Can be reverted on the next upstream merge
2022-05-16 00:37:19 +01:00
Michael Biebl
142e1fb5c9
Do not ship /usr/lib/tmpfiles.d/systemd-resolve.conf in systemd
...
It potentially creates a broken symlink if systemd-resolved is not
enabled. For now the symlink to stub-resolv.conf needs to be created
manually.
Closes : #1007018
2022-04-03 21:37:43 +02:00
Michael Biebl
83f19c1021
Adjust library search path for dh_shlibdeps
...
libsystemd-core uses libsystemd-shared but doesn't have RUNPATH or
RPATH set. So tell dh_shlibdeps where it can find the library.
2022-04-02 11:36:08 +02:00
Michael Biebl
86c5293e78
Revert "Ignore libsystemd-core in dh_shlibdeps"
...
This reverts commit c1d5ad5ac9 .
We need the shlibs dependencies of libsystemd-shared and
libsystemd-core.
2022-04-02 11:32:35 +02:00
Luca Boccassi
c1d5ad5ac9
Ignore libsystemd-core in dh_shlibdeps
2022-04-02 09:55:52 +02:00
Luca Boccassi
997cf97a81
Ignore libsystemd-core in dh_makeshlibs
2022-04-02 09:55:47 +02:00
Luca Boccassi
a8a310c5e6
Build with dh_package_notes
2022-03-07 11:46:56 +00:00
Luca Boccassi
6fc28f6d28
Ignore blhc false positives
...
blhc hits false positives due to EFI PE-COFF binaries,
c++ fuzzing binaries and meson flags listings, ignore them.
2022-01-17 20:02:32 +00:00
Luca Boccassi
36537d2214
systemd-standalone-*: copy manpages too
2022-01-17 13:50:17 +00:00
Michael Biebl
af47d04610
Don't stop systemd-oomd.socket during upgrades
...
This works around an issue in systemd which doesn't process multiple
units that are passed to systemctl as a single transaction with the
correct ordering.
Closes : #1003641
2022-01-14 13:53:47 +01:00
Luca Boccassi
c3c5422a8e
Disable libcryptsetup-plugins
...
They are new, and might not even be supported by libcryptsetup yet
2022-01-13 23:42:02 +00:00
Luca Boccassi
6b5e99f1d7
Build with and suggest fido2 and tpm libraries
...
These are used via dlopen only if available by some tools like
systemd-cryptsetup, systemd-cryptenroll and systemd-repart,
with graceful fallbacks if they are not found.
Build-depend on them so that the features get compiled in
(apart from stage1 builds), and add appropriate Suggests.
Closes : #991129 #1003383
2022-01-13 23:42:02 +00:00
Michael Biebl
4a93ec2f56
Enable systemd-repart and ship it in the main systemd package
...
Add fdisk as test dependency, needed by test-repart which calls sfdisk.
2022-01-08 21:25:29 +01:00
Lukas Märdian
88ae06ef41
d/rules: Enable build of systemd-oomd
2022-01-06 09:20:49 +01:00
Michael Biebl
4f982a70de
Don't override sourcedir/destdir anymore
...
No longer necessary after dropping the separate udeb build flavour.
Gbp-Dch: Ignore
2022-01-02 21:04:11 +01:00
Michael Biebl
f6917cd87c
Drop separate udeb build
...
The only real benefit from a separate build apparently is that udev does
not get a dependency on libacl and libselinux. But we have udebs for
those dependencies anyway.
Dropping the separate build basically cuts the build times in half and
simplifies debian/rules quite a bit.
It also brings udev as used in d-i closer to what is actually used in
the installed system, which is a good thing.
2022-01-02 21:04:01 +01:00
Michael Biebl
782e42d947
Remove dbus introspection files
...
Those are probably best shipped in a -dev package. Remove for the time
being until we have found a proper place for them.
They weigh over 600kB, so the main systemd package is probably not a good
fit.
Gbp-Dch: Short
2021-12-21 01:30:04 +01:00
Michael Biebl
2d11110e91
Revert "Temporarily disable LTO"
...
It appears to have helped to make the build reproducible on arm64 but
not for armhf.
This reverts commit e2d5c74481 .
See also https://alioth-lists.debian.net/pipermail/reproducible-builds/Week-of-Mon-20211213/013354.html
Gbp-Dch: Short
2021-12-21 01:23:04 +01:00
Michael Biebl
e928fb5a85
Explicitly disable OpenSSL support
...
We don't want to pick up an OpenSSL dependency in a tainted build
environment and pull a second crypto stack into systemd's dependencies.
2021-12-21 01:23:04 +01:00
Michael Biebl
e34e3b5b8a
Use -Durlify=false instead of shipping an upstream revert patch
2021-12-21 01:23:04 +01:00
Michael Biebl
e8ed38e451
Update removal of upstream provided license files
2021-12-21 01:23:01 +01:00
Michael Biebl
e2d5c74481
Temporarily disable LTO
...
This is a test to see if it fixes the failure to build reproducibly on
arm*.
2021-11-13 18:01:27 +01:00
Michael Biebl
06aaa01f52
Provide standalone binaries for sysusers and tmpfiles
...
Closes : #946456
2021-08-08 22:45:58 +02:00
Michael Biebl
6dc0498f59
Remove obsolete systemd-resolve compat symlink
2021-08-06 22:25:24 +02:00
Michael Biebl
a12cf5d187
Fix removal of systemd-hwdb-update.service
...
As we don't support factory-reset, we don't need this service.
In Debian, the hwdb binary database is updated via a dpkg file trigger.
2021-07-07 20:20:20 +02:00
Balint Reczey
8dae9a8dbc
debian/rules: Don't ship README files in (/usr)/lib/*.d
...
README files are typically shipped in /usr/share/doc.
2021-05-07 00:23:02 +02:00
Balint Reczey
b3966ec43a
debian/rules: Build without TPM2 support
...
This is a new feature and needs further review.
2021-05-06 23:00:03 +02:00
Balint Reczey
3ec25d3dfa
debian/rules: Build translations for debs but not for udebs
2021-05-06 23:00:03 +02:00
Balint Reczey
63225f2e67
debian/rules: Build support for flushing of the nscd caches
2021-05-06 23:00:03 +02:00
Balint Reczey
13021954a2
debian/rules: Enable new systemd-sysext tool
2021-05-06 23:00:03 +02:00
Matthias Klumpp
63f22a7a8d
Configure localed to run locale-gen to generate missing locale
...
This applies an (upstreamed) patch to permit systemd-localed to run
locale-gen to generate missing locale when requested to switch the
system locale.
This makes localectl usable on Debian for changing locale without
breaking system localization or even prevent certain applications from
running at all after switching to a non-generated locale.
2021-01-18 03:05:05 +01:00
Michael Biebl
c0f9a7a87b
Move libraries and NSS modules from /lib to /usr/lib
...
Keep libpam_systemd.so installed in /lib, as PAM doesn't support
loading PAM modules from /usr/lib on a split-usr system.
2021-01-02 17:05:34 +01:00
Michael Biebl
cd72d4a3e4
Increase timeout when running unit tests
...
The default timeout for individual unit tests is 30s. On slower
architectures and environments like reproducible-builds, this sometimes
is not enough.
Instead of fine-tuning the timeout for each individual test, we instead
increase the timeouts by a factor of 10.
2020-12-25 23:58:14 +01:00