SHUTDOWN_TARGET_WANTS =
LOCAL_FS_TARGET_WANTS =
+REMOTE_FS_TARGET_WANTS =
MULTI_USER_TARGET_WANTS =
GRAPHICAL_TARGET_WANTS =
+MACHINES_TARGET_WANTS =
RESCUE_TARGET_WANTS =
SYSINIT_TARGET_WANTS =
SOCKETS_TARGET_WANTS =
install-target-wants-hook:
what="$(SHUTDOWN_TARGET_WANTS)" && wants=shutdown.target && dir=$(systemunitdir) && $(add-wants)
what="$(LOCAL_FS_TARGET_WANTS)" && wants=local-fs.target && dir=$(systemunitdir) && $(add-wants)
+ what="$(REMOTE_FS_TARGET_WANTS)" && wants=remote-fs.target && dir=$(systemunitdir) && $(add-wants)
+ what="$(MACHINES_TARGET_WANTS)" && wants=machines.target && dir=$(systemunitdir) && $(add-wants)
what="$(MULTI_USER_TARGET_WANTS)" && wants=multi-user.target && dir=$(systemunitdir) && $(add-wants)
what="$(GRAPHICAL_TARGET_WANTS)" && wants=graphical.target && dir=$(systemunitdir) && $(add-wants)
what="$(RESCUE_TARGET_WANTS)" && wants=rescue.target && dir=$(systemunitdir) && $(add-wants)
units/sys-kernel-debug.mount \
units/sys-fs-fuse-connections.mount \
units/tmp.mount \
- units/var-lib-machines.mount \
units/printer.target \
units/sound.target \
units/bluetooth.target \
# ------------------------------------------------------------------------------
if ENABLE_MACHINED
+
+dist_systemunit_DATA += \
+ units/var-lib-machines.mount
+
systemd_machined_SOURCES = \
src/machine/machined.c \
src/machine/machined.h
LOCAL_FS_TARGET_WANTS += \
systemd-remount-fs.service \
- tmp.mount \
+ tmp.mount
+
+REMOTE_FS_TARGET_WANTS += \
var-lib-machines.mount
MULTI_USER_TARGET_WANTS += \
systemd-sysctl.service \
systemd-ask-password-console.path
+if ENABLE_MACHINED
+MACHINES_TARGET_WANTS += \
+ var-lib-machines.mount
+endif
+
if HAVE_SYSV_COMPAT
SYSTEM_UNIT_ALIASES += \
poweroff.target runlevel0.target \
['timers.target', ''],
['umount.target', ''],
['user.slice', ''],
- ['var-lib-machines.mount', '',
- 'local-fs.target.wants/'],
+ ['var-lib-machines.mount', 'ENABLE_MACHINED',
+ 'remote-fs.target.wants/ machines.target.wants/'],
]
in_units = [