* [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
* [Buildroot] [PATCH 1/1] package/systemd-bootchart: enable systemd-bootchart.service
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
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2019-09-17 21:14 UTC (permalink / raw)
To: buildroot
On Tue, 3 Sep 2019 15:28:12 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> 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(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/systemd-bootchart: enable systemd-bootchart.service
2019-09-17 21:14 ` Thomas Petazzoni
@ 2019-09-26 9:28 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-09-26 9:28 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> On Tue, 3 Sep 2019 15:28:12 -0600
> James Hilliard <james.hilliard1@gmail.com> wrote:
>> 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(+)
Committed to 2019.02.x, 2019.05.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.