1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-09 12:58:26 +03:00

mkosi: Install debug packages when WITH_DEBUG=1 is enabled

When we're building debuginfo packages, the original binaries and
libraries are stripped so make sure we install the debuginfo
packages to make sure debugging in the container/VM still works.
This commit is contained in:
Daan De Meyer 2024-04-18 13:29:12 +02:00
parent 35c1ea4d69
commit a432014b01
4 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
Environment=WITH_DEBUG=1
[Content]
VolatilePackages=systemd-debug

View File

@ -0,0 +1,17 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
Environment=WITH_DEBUG=1
[Content]
VolatilePackages=
systemd-container-debuginfo
systemd-debuginfo
systemd-debugsource
systemd-journal-remote-debuginfo
systemd-libs-debuginfo
systemd-networkd-debuginfo
systemd-pam-debuginfo
systemd-resolved-debuginfo
systemd-tests-debuginfo
systemd-udev-debuginfo

View File

@ -0,0 +1,27 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
Environment=WITH_DEBUG=1
[Content]
VolatilePackages=
libnss-myhostname-dbgsym
libnss-mymachines-dbgsym
libnss-resolve-dbgsym
libnss-systemd-dbgsym
libpam-systemd-dbgsym
libsystemd-shared-dbgsym
libsystemd0-dbgsym
libudev1-dbgsym
systemd-boot-dbgsym
systemd-container-dbgsym
systemd-coredump-dbgsym
systemd-dbgsym
systemd-homed-dbgsym
systemd-journal-remote-dbgsym
systemd-oomd-dbgsym
systemd-resolved-dbgsym
systemd-tests-dbgsym
systemd-timesyncd-dbgsym
systemd-userdbd-dbgsym
udev-dbgsym

View File

@ -0,0 +1,22 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
[Match]
Environment=WITH_DEBUG=1
[Content]
VolatilePackages=
libsystemd0-debuginfo
libudev1-debuginfo
systemd-boot-debuginfo
systemd-container-debuginfo
systemd-coredump-debuginfo
systemd-debuginfo
systemd-debugsource
systemd-experimental-debuginfo
systemd-homed-debuginfo
systemd-journal-remote-debuginfo
systemd-network-debuginfo
systemd-portable-debuginfo
systemd-sysvcompat-debuginfo
systemd-testsuite-debuginfo
udev-debuginfo