all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: dev@jpoiret.xyz
Cc: 63641@debbugs.gnu.org
Subject: [bug#63641] [PATCH 1/8] hurd-boot: Add urandom and default-pager translators.
Date: Sun, 28 May 2023 10:26:58 +0200	[thread overview]
Message-ID: <87mt1oeu99.fsf@gnu.org> (raw)
In-Reply-To: <87353m3fgs.fsf@gnu.org> (Janneke Nieuwenhuizen's message of "Tue, 23 May 2023 23:28:19 +0200")

Janneke Nieuwenhuizen writes:

> Josselin Poiret via Guix-patches via writes:
>
>> From: Josselin Poiret <dev@jpoiret.xyz>
>>
>> * gnu/build/hurd-boot.scm (set-hurd-device-translators): Set up urandom and
>> default-pager on boot.
>> ---
>>  gnu/build/hurd-boot.scm | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/gnu/build/hurd-boot.scm b/gnu/build/hurd-boot.scm
>> index 95c15907dd..14bfc5e809 100644
>> --- a/gnu/build/hurd-boot.scm
>> +++ b/gnu/build/hurd-boot.scm
>
> Please add your copyright line at the top of the file.
>
> Otherwise, LGTM!

...other than /dev/urandom gets created as a symlink too, so I guess
this should be included too:

modified   gnu/build/hurd-boot.scm
@@ -282,7 +282,6 @@ (define* (set-hurd-device-translators #:optional (root "/"))
     (rename-file (scope "dev/console") (scope "dev/console-")))
   (for-each scope-set-translator devices)
 
-  (false-if-EEXIST (symlink "/dev/random" (scope "dev/urandom")))
   (false-if-EEXIST (symlink "/dev/fd/0" (scope "dev/stdin")))
   (false-if-EEXIST (symlink "/dev/fd/1" (scope "dev/stdout")))
   (false-if-EEXIST (symlink "/dev/fd/2" (scope "dev/stderr")))


(I'm trying to support multiple boots, well a second boot, from the same
device and got hit by this.  Still testing if the removal fixes it for me.)

Greetings,
Janneke

-- 
Janneke Nieuwenhuizen <janneke@gnu.org>  | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com




  reply	other threads:[~2023-05-28  8:28 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-22  9:00 [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Josselin Poiret via Guix-patches via
2023-05-22  9:04 ` [bug#63641] [PATCH 1/8] hurd-boot: Add urandom and default-pager translators Josselin Poiret via Guix-patches via
2023-05-23 21:28   ` Janneke Nieuwenhuizen
2023-05-28  8:26     ` Janneke Nieuwenhuizen [this message]
2023-05-22  9:04 ` [bug#63641] [PATCH 2/8] gnu: glibc/hurd-headers: Properly cross-build Josselin Poiret via Guix-patches via
2023-05-23 16:11   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 3/8] gnu: gnumach-headers: Cross-build without relying on x86 Josselin Poiret via Guix-patches via
2023-05-23 21:32   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 4/8] gnu: hurd: Update supported systems Josselin Poiret via Guix-patches via
2023-05-24  8:11   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 5/8] gnu: Add libc-for-target and glibc/hurd Josselin Poiret via Guix-patches via
2023-05-22  9:37   ` Josselin Poiret via Guix-patches via
2023-05-22  9:42     ` [bug#63641] [PATCH v2 " Josselin Poiret via Guix-patches via
2023-05-24  8:11       ` Janneke Nieuwenhuizen
2023-05-24  8:57       ` [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Ludovic Courtès
2023-06-02  5:18       ` [bug#63641] [PATCH v2 5/8] gnu: Add libc-for-target and glibc/hurd Janneke Nieuwenhuizen
2023-06-08  8:17         ` Janneke Nieuwenhuizen
2023-06-14  9:29           ` [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Ludovic Courtès
2023-06-14 10:33             ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 6/8] gnu: gnumach: Update to 1.8+git20221224 Josselin Poiret via Guix-patches via
2023-05-24  8:12   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 7/8] gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3 Josselin Poiret via Guix-patches via
2023-05-23 12:17   ` Janneke Nieuwenhuizen
2023-05-22  9:04 ` [bug#63641] [PATCH 8/8] gnu: hurd: Update to v0.9.git20230216 Josselin Poiret via Guix-patches via
2023-05-24  8:48   ` [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components Ludovic Courtès
2023-05-23 12:17 ` Janneke Nieuwenhuizen
2023-05-24  9:02   ` Ludovic Courtès
2023-07-13 17:12 ` Josselin Poiret via Guix-patches via

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=87mt1oeu99.fsf@gnu.org \
    --to=janneke@gnu.org \
    --cc=63641@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    /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.