GNU bug report logs - #47407
[PATCH] gnu: guix: Fix openrc init scripts.

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Fri, 26 Mar 2021 08:06:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47407 in the body.
You can then email your comments to 47407 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#47407; Package guix-patches. (Fri, 26 Mar 2021 08:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 26 Mar 2021 08:06:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
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





Added indication that bug 47407 blocks47297 Request was from zimoun <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 26 Mar 2021 08:13:02 GMT) Full text and rfc822 format available.

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 30 Mar 2021 07:33:02 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Tue, 30 Mar 2021 07:33:03 GMT) Full text and rfc822 format available.

Message #12 received at 47407-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 46871-done <at> debbugs.gnu.org, 47407-done <at> debbugs.gnu.org
Subject: Re: [bug#47407] [PATCH] gnu: guix: Fix openrc init scripts.
Date: Tue, 30 Mar 2021 10:31:37 +0300
[Message part 1 (text/plain, inline)]
Thanks. Patch pushed.

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#47407; Package guix-patches. (Tue, 30 Mar 2021 08:25:02 GMT) Full text and rfc822 format available.

Message #15 received at 47407-done <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 46871-done <at> debbugs.gnu.org, 47407-done <at> debbugs.gnu.org
Subject: Re: [bug#47407] [PATCH] gnu: guix: Fix openrc init scripts.
Date: Tue, 30 Mar 2021 10:24:30 +0200
Hi Efraim,

On Tue, 30 Mar 2021 at 09:32, Efraim Flashner <efraim <at> flashner.co.il> wrote:
>
> Thanks. Patch pushed.

Thanks.  Cheers,
simon




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Apr 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.