Browse Source

more systemd

Waldemar Brodkorb 7 years ago
parent
commit
0077195af9
2 changed files with 8 additions and 0 deletions
  1. 3 0
      package/systemd/Makefile
  2. 5 0
      target/config/Config.in.runtime

+ 3 - 0
package/systemd/Makefile

@@ -67,5 +67,8 @@ systemd-install:
 	$(INSTALL_DIR) $(IDIR_SYSTEMD)/usr/bin
 	$(CP) $(WRKINST)/usr/bin/* \
 		$(IDIR_SYSTEMD)/usr/bin
+	$(INSTALL_DIR) $(IDIR_SYSTEMD)/usr/share
+	$(CP) $(WRKINST)/usr/share/* \
+		$(IDIR_SYSTEMD)/usr/share
 
 include $(ADK_TOPDIR)/mk/pkg-bottom.mk

+ 5 - 0
target/config/Config.in.runtime

@@ -21,6 +21,11 @@ config ADK_RUNTIME_INIT_S6
 	select ADK_PACKAGE_S6_PORTABLE_UTILS
 	select ADK_PACKAGE_S6_LINUX_UTILS
 
+config ADK_RUNTIME_INIT_SYSTEMD
+	bool "Use systemd init and supervision"
+	select ADK_PACKAGE_SYSTEMD
+	depends on ADK_TARGET_LIB_GLIBC
+
 config ADK_RUNTIME_INIT_SIMPLEINIT
 	bool "Use a very simple init"
 	select ADK_PACKAGE_SIMPLEINIT