* Add LXD VM Guest Agent Support * Add systemd patch, remove udev rules, change to kernel modules, fix linter * Remove systemd patch, add conditionals to qemu-guest and lxd-agent * Update buildroot-external/package/qemu-guest-agent/qemu-guest.service Co-authored-by: Stefan Agner <stefan@agner.ch>
20 lines
748 B
Makefile
20 lines
748 B
Makefile
################################################################################
|
|
#
|
|
# lxd-guest-agent
|
|
#
|
|
################################################################################
|
|
|
|
LXD_GUEST_AGENT_DEPENDENCIES = host-pkgconf
|
|
|
|
define LXD_GUEST_AGENT_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 $(LXD_GUEST_AGENT_PKGDIR)/lxd-agent.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/lxd-agent.service
|
|
$(INSTALL) -D -m 755 $(LXD_GUEST_AGENT_PKGDIR)/lxd-agent-setup \
|
|
$(TARGET_DIR)/usr/lib/systemd/lxd-agent-setup
|
|
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
ln -fs /usr/lib/systemd/system/lxd-agent.service \
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/lxd-agent.service
|
|
endef
|
|
|
|
$(eval $(generic-package))
|