[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63641] [PATCH 1/8] hurd-boot: Add urandom and default-pager transla
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#63641] [PATCH 1/8] hurd-boot: Add urandom and default-pager translators. |
Date: |
Sun, 28 May 2023 10:26:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
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
- [bug#63641] [PATCH 2/8] gnu: glibc/hurd-headers: Properly cross-build., (continued)
- [bug#63641] [PATCH 2/8] gnu: glibc/hurd-headers: Properly cross-build., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 6/8] gnu: gnumach: Update to 1.8+git20221224., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 8/8] gnu: hurd: Update to v0.9.git20230216., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 4/8] gnu: hurd: Update supported systems., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 1/8] hurd-boot: Add urandom and default-pager translators., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 3/8] gnu: gnumach-headers: Cross-build without relying on x86., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 5/8] gnu: Add libc-for-target and glibc/hurd., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 7/8] gnu: mig: Update to 04bfe7a91223ba15d868f7165e49328b1c6e86c3., Josselin Poiret, 2023/05/22
- [bug#63641] [PATCH 0/8] Add libc specific to Hurd and update components, Janneke Nieuwenhuizen, 2023/05/23