GNU bug report logs -
#41541
merge wip-hurd-vm
Previous Next
Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>
Date: Tue, 26 May 2020 14:22:02 UTC
Severity: normal
Done: Jan Nieuwenhuizen <janneke <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Ludovic Courtès writes:
> "Jan (janneke) Nieuwenhuizen" <janneke <at> gnu.org> skribis:
>
>> +(define (hurd-activation-script gexps)
>> + (activate-current-system #:kernel-command-line command-line)
>
> It seems that ‘command-line’ is unbound here, no?
I don't think so...activation will be loaded from RC (following commit),
which is a guile script started by RUNSYSTEM:
--8<---------------cut here---------------start------------->8---
...
exec ${system}/rc \"$@\"
--8<---------------cut here---------------end--------------->8---
> I was wondering: if the only thing that differs between Linux and Mach
> is the command line, could we keep the same activation script for both
> cases, and instead move the conditional to (gnu build activation), like:
>
(if (string-contains %host-type "linux-gnu")
linux-command-line
mach-command-line)
> Does that make sense?
Yes, much better now. Using (command-line), though.
This used to be much more complicated, when stuff didn't cross build
correctly etc.
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
This bug report was last modified 4 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.