Skip to contentSkip to conversation

package/systemd-bootchart: enable systemd-bootchart.service

PATCH New James Hilliard 3 participants 3 messages Sep 3, 2019 – Sep 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/systemd-bootchart: enable systemd-bootchart.service

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.

---
 package/systemd-bootchart/systemd-bootchart.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/systemd-bootchart/systemd-bootchart.mk +6 -0
index bcc3dbe22a..62bc79539b 100644
@@ -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))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/systemd-bootchart: enable systemd-bootchart.service

Quoted 7 lines · On Tue, 3 Sep 2019 15:28:12 -0600 James Hilliard <[email protected]>…

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.

---
 package/systemd-bootchart/systemd-bootchart.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/systemd-bootchart: enable systemd-bootchart.service

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

On Tue, 3 Sep 2019 15:28:12 -0600
James Hilliard <[email protected]> wrote:

Quoted 7 lines
Quoted 7 lines

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.

---
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.

Signature · 1 line
Bye, Peter Korsgaard