This would normally be enabled by systemctl preset-all however since we
don't have a host systemctl we need to enable the service manually.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
SYSTEMD_BOOTCHART_CONF_OPTS = --disable-man
+define SYSTEMD_BOOTCHART_INSTALL_INIT_SYSTEMD
+ mkdir -p $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
+ ln -sf ../../../../lib/systemd/system/systemd-bootchart.service \
+ $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/systemd-bootchart.service
+endef
+
$(eval $(autotools-package))