Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/systemd-bootchart: enable systemd-bootchart.service
@ 2019-09-03 21:28 James Hilliard
  2019-09-17 21:14 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: James Hilliard @ 2019-09-03 21:28 UTC (permalink / raw)
  To: buildroot

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>
---
 package/systemd-bootchart/systemd-bootchart.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/systemd-bootchart/systemd-bootchart.mk b/package/systemd-bootchart/systemd-bootchart.mk
index bcc3dbe22a..62bc79539b 100644
--- a/package/systemd-bootchart/systemd-bootchart.mk
+++ b/package/systemd-bootchart/systemd-bootchart.mk
@@ -16,4 +16,10 @@ SYSTEMD_BOOTCHART_DEPENDENCIES = systemd
 
 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))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-26  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-03 21:28 [Buildroot] [PATCH 1/1] package/systemd-bootchart: enable systemd-bootchart.service James Hilliard
2019-09-17 21:14 ` Thomas Petazzoni
2019-09-26  9:28   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox