all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org, Rene <ikhuuma@gmail.com>
Subject: Re: create a symlink
Date: Tue, 26 Mar 2019 00:06:16 +0100	[thread overview]
Message-ID: <20190326000616.74217cc7@scratchpost.org> (raw)
In-Reply-To: <87va0m6d3f.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

On Wed, 13 Mar 2019 15:52:36 +0100
Ludovic Courtès <ludo@gnu.org> wrote:

> Hello,
> 
> Rene <ikhuuma@gmail.com> skribis:
> 
> > How I can change "/hurd/" by "/gnu/store/abc..-hurd-0.9/hurd/" in
> > <hurd/paths.h> through Guix?  
> 
> I think /hurd is hard to avoid; it’s akin to /bin/sh, which is also
> hard-coded in libc (for the ‘system’ function).  As you found out, you’d
> need to change macros in libc headers, which means that libc could only
> talk to a specific instance of the Hurd servers.  Furthermore, /hurd
> needs to be writable.
> 
> So I would recommend keeping /hurd, at least as a first approach.

In that case, /hurd could be handled like we handle /run/booted-system .

Rene could use service extension like

  (service-extension boot-service-type hurd-boot-gexp)

in order to create the "/hurd" symlink (in hurd-boot-gexp).

That is, if the Hurd can boot that far (until the root filesystem is mounted).

In fact, as a hack, we could create a dummy service that does the service
extension and use it for the Hurd.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-03-25 23:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-12 20:57 create a symlink Rene
2019-03-13 11:25 ` Danny Milosavljevic
2019-03-13 14:52 ` Ludovic Courtès
2019-03-25 23:06   ` Danny Milosavljevic [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-28  1:54 Rene
2019-04-03  7:12 ` Chris Marusich
2019-03-08 21:13 Rene
2019-03-09  8:22 ` Danny Milosavljevic
2018-04-19  2:54 Rene
2018-04-19  6:26 ` Danny Milosavljevic
2018-04-19 21:23   ` Joshua Branson
2018-04-21 14:31   ` Rene
2018-04-27  5:20   ` Rene
2018-04-27 15:08     ` Danny Milosavljevic
2019-03-07 22:11       ` Rene
2019-03-08  8:15         ` Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190326000616.74217cc7@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    --cc=ikhuuma@gmail.com \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.