Skip to contentSkip to conversation

systemd: properly package new container files

PATCH New Peter Marko 1 participant 1 message Feb 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: properly package new container files

From: Peter Marko <[email protected]>

Since last systemd upgrade these files are packaged in systemd package and thus systemd-container is unconditionally installed in all images as dependency of systemd package.

---
 meta/recipes-core/systemd/systemd_258.1.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-core/systemd/systemd_258.1.bb +5 -0
index 410396f308..da0c07d2fa 100644
@@ -526,7 +526,9 @@ FILES:${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.c
                          ${systemd_system_unitdir}/busnames.target.wants/org.freedesktop.machine1.busname \
                          ${systemd_system_unitdir}/local-fs.target.wants/var-lib-machines.mount \
                          ${systemd_system_unitdir}/machines.target.wants/var-lib-machines.mount \
+                         ${systemd_system_unitdir}/sockets.target.wants/systemd-machined.socket \
                          ${systemd_system_unitdir}/remote-fs.target.wants/var-lib-machines.mount \
+                         ${systemd_system_unitdir}/[email protected] \
                          ${systemd_system_unitdir}/machine.slice \
                          ${systemd_system_unitdir}/machines.target \
                          ${systemd_system_unitdir}/org.freedesktop.import1.busname \
@@ -536,6 +538,9 @@ FILES:${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.c
                          ${systemd_system_unitdir}/systemd-machined.socket \
                          ${systemd_system_unitdir}/dbus-org.freedesktop.machine1.service \
                          ${systemd_system_unitdir}/var-lib-machines.mount \
+                         ${systemd_user_unitdir}/machine.slice \
+                         ${systemd_user_unitdir}/machines.target \
+                         ${systemd_user_unitdir}/[email protected] \
                          ${nonarch_libdir}/systemd/systemd-import \
                          ${nonarch_libdir}/systemd/systemd-importd \
                          ${nonarch_libdir}/systemd/systemd-machined \