summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/systemd/Makefile3
-rw-r--r--target/config/Config.in.runtime5
2 files changed, 8 insertions, 0 deletions
diff --git a/package/systemd/Makefile b/package/systemd/Makefile
index 2022e2a4d..79b85469a 100644
--- a/package/systemd/Makefile
+++ b/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
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 9ca97f4bf..08a8c3674 100644
--- a/target/config/Config.in.runtime
+++ b/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