From 9878469a53743cb5c1cab7e5bea4e5b39b3d6596 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Thu, 4 Feb 2016 23:41:45 -0600 Subject: [PATCH] Fix growroot for Gentoo's openrc Let dib-init-system's postinstall handle enabling init scripts. Change-Id: I7b0d235327021b7f478cdb9715d533b444843699 --- elements/growroot/post-install.d/80-growroot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/elements/growroot/post-install.d/80-growroot b/elements/growroot/post-install.d/80-growroot index 391fffdb..99a36a85 100755 --- a/elements/growroot/post-install.d/80-growroot +++ b/elements/growroot/post-install.d/80-growroot @@ -14,6 +14,10 @@ case "$DIB_INIT_SYSTEM" in systemd) systemctl enable growroot.service ;; + openrc) + # let dib-init-system's postinstall handle enabling init scripts + exit 0 + ;; *) echo "Unsupported init system" exit 1