emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#47407: closed ([PATCH] gnu: guix: Fix openrc init scripts.)


From: GNU bug Tracking System
Subject: bug#47407: closed ([PATCH] gnu: guix: Fix openrc init scripts.)
Date: Tue, 30 Mar 2021 07:33:02 +0000

Your message dated Tue, 30 Mar 2021 10:31:37 +0300
with message-id <YGLT2XBKfO7peIwj@3900XT>
and subject line Re: [bug#47407] [PATCH] gnu: guix: Fix openrc init scripts.
has caused the debbugs.gnu.org bug report #47407,
regarding [PATCH] gnu: guix: Fix openrc init scripts.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
47407: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47407
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: guix: Fix openrc init scripts. Date: Fri, 26 Mar 2021 09:05:15 +0100
Fixes <https://bugs.gnu.org/46871>.

* gnu/packages/package-management.scm (guix): [arguments]: Fix openrc init.
* nix/local.mk: Likewise.
---

Hi,

The patch is tested using:

        $ ls $(./pre-inst-env guix build guix \
                   --with-git-url=guix=$(pwd) \
                   --with-commit=guix=028e6859ec)/etc/openrc

where 028e6859ec is my commit-hash after this patch applied.

Then openrc appears under the expected location.

Thanks,
simon

 gnu/packages/package-management.scm | 2 +-
 nix/local.mk                        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/package-management.scm 
b/gnu/packages/package-management.scm
index 888f54322d..e63f07c844 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -212,7 +212,7 @@ $(prefix)/etc/init.d\n")))
                         (substitute* "nix/local.mk"
                           (("^openrcservicedir = .*$")
                            (string-append "openrcservicedir = \
-$(prefix)/etc/init.d\n")))
+$(prefix)/etc/openrc\n")))
 
                         (invoke "sh" "bootstrap")))
                     (add-before 'build 'use-host-compressors
diff --git a/nix/local.mk b/nix/local.mk
index d2ce349d9c..7c438ea78c 100644
--- a/nix/local.mk
+++ b/nix/local.mk
@@ -181,7 +181,7 @@ etc/init.d/guix-daemon: etc/init.d/guix-daemon.in   \
        mv "$@.tmp" "$@"
 
 # The service script for openrc.
-openrcservicedir = $(sysconfdir)/init.d
+openrcservicedir = $(sysconfdir)/openrc
 nodist_openrcservice_DATA = etc/openrc/guix-daemon
 
 etc/openrc/guix-daemon: etc/openrc/guix-daemon.in      \

base-commit: 6e7ba45357078b31a369b23f8a9f38302dfcbb10
-- 
2.30.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#47407] [PATCH] gnu: guix: Fix openrc init scripts. Date: Tue, 30 Mar 2021 10:31:37 +0300
Thanks. Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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