bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47865: Missing dependency for sysv-init


From: guido
Subject: bug#47865: Missing dependency for sysv-init
Date: Tue, 13 Feb 2024 23:31:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

Hi all,

I run a Devuan system with SysV init and made a fix.

Please find it here: (sorry, git-send-email does not work yet..)

index 982fb0a266..a09fd8fef1 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -210,6 +210,9 @@ chk_init_sys()
     elif [[ -f /etc/init.d/cron && ! -h /etc/init.d/cron ]]; then
         _msg "${INF}init system is: sysv-init"
         INIT_SYS="sysv-init"
+        # SysV init on Devuan (and probably others)  use
start-stop-daemon
+        # and need daemonize as extra dependency.
+        REQUIRE+=(daemonize)
         return 0
     elif [[ $(openrc --version 2>/dev/null) =~ \(OpenRC\) ]]; then
         _msg "${INF}init system is: OpenRC"
@@ -673,9 +676,9 @@ main()
     _msg "Starting installation ($(date))"
      chk_term
-    chk_require "${REQUIRE[@]}"
     chk_gpg_keyring
     chk_init_sys
+    chk_require "${REQUIRE[@]}"
     chk_sys_arch
     chk_sys_nscd


Kind regards,

Guido Witmond.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]