diff mbox

[bug#72643,core-updates,0/6] Restore i586-gnu (GNU/Hurd) support

Message ID 87h6bkmuhn.fsf@gnu.org
State New
Headers show

Commit Message

Janneke Nieuwenhuizen Aug. 16, 2024, 2:07 p.m. UTC
Ludovic Courtès writes:

Hi!

> This patch series fixes Hurd support (i586-gnu) on ‘core-updates’,
> as described <https://issues.guix.gnu.org/72315>.  It does so by
> updating the ‘glibc-bootstrap’ tarball.

[..]

> I’d like to push this to ‘core-updates’ soon since it’s probably the
> last blocker before we can merge.
>
> Thoughts?

As mentioned on IRC, I've reconfigured my system to core-updates+this
patch series and it works for me.  I'm using a close variant of the
`devel-hurd.tmpl' from the hurd-team branch

    https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/devel-hurd.tmpl?h=hurd-team

and removed the new imagemagick dependency

--8<---------------cut here---------------start------------->8---

Comments

Ludovic Courtès Aug. 16, 2024, 5:56 p.m. UTC | #1
Hi!

Janneke Nieuwenhuizen <janneke@gnu.org> skribis:

> As mentioned on IRC, I've reconfigured my system to core-updates+this
> patch series and it works for me.

Pushed as 817838c38bbeb4ef7dcb64af5fce168aeb51306e, thanks for testing!

> I'm using a close variant of the `devel-hurd.tmpl' from the hurd-team
> branch
>
>     https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/devel-hurd.tmpl?h=hurd-team
>
> and removed the new imagemagick dependency
>
> --- a/gnu/system/examples/devel-hurd.tmpl
> +++ b/gnu/system/examples/devel-hurd.tmpl
> @@ -59,7 +59,7 @@
>  (define guix-packages
>    (filter-map input->package
>                (fold alist-delete (package-direct-inputs guix)
> -                    '("glibc-utf8-locales" "graphviz" "po4a"))))
> +                    '("glibc-utf8-locales" "graphviz" "imagemagick" "po4a"))))

I’ve submitted a patch to remove it:

  https://issues.guix.gnu.org/72674

Regarding ‘hurd-team’, I admit I had forgotten about it.  What are the
important things we should bring over to ‘master’ or ‘core-updates’?

Thanks,
Ludo’.
Janneke Nieuwenhuizen Aug. 18, 2024, 9:02 a.m. UTC | #2
Ludovic Courtès writes:

Hello,

> Janneke Nieuwenhuizen <janneke@gnu.org> skribis:
>
>> As mentioned on IRC, I've reconfigured my system to core-updates+this
>> patch series and it works for me.
>
> Pushed as 817838c38bbeb4ef7dcb64af5fce168aeb51306e, thanks for testing!

Yay!

>> --- a/gnu/system/examples/devel-hurd.tmpl
>> +++ b/gnu/system/examples/devel-hurd.tmpl
>> @@ -59,7 +59,7 @@
>>  (define guix-packages
>>    (filter-map input->package
>>                (fold alist-delete (package-direct-inputs guix)
>> -                    '("glibc-utf8-locales" "graphviz" "po4a"))))
>> +                    '("glibc-utf8-locales" "graphviz" "imagemagick" "po4a"))))
>
> I’ve submitted a patch to remove it:
>
>   https://issues.guix.gnu.org/72674

Thanks, that's great.

> Regarding ‘hurd-team’, I admit I had forgotten about it.  What are the
> important things we should bring over to ‘master’ or ‘core-updates’?

I don't think so; most of it is not really finished.  Possibly

--8<---------------cut here---------------start------------->8---
d7562eae93 hurd: Support system init in /libexec/runsystem.
b9b5f1ee5f hurd-boot: Support system init: Create essential device nodes.
ddba840edd system: hurd: Add swap-services to hurd-default-essential-services.
--8<---------------cut here---------------end--------------->8---

that help booting the Hurd after installing it on real hardware from a
GNU/Linux Guix installation with `guix init ... /hurd'.  After `guix
init', you'll have to reconfigure the GNU/Linux system, adding
menu-entries from /hurd/boot/grub.cfg (at least, that's what I did using
some ugly regex parsing in config.scm).

But these are not so interesting, because they will support booting Hurd
only once.  Supporting a second boot is more tricky and only has these
even less finished patches

--8<---------------cut here---------------start------------->8---
fa003825ef DRAFT hurd-boot: Support second boot.
6b34e08e4d DRAFT hurd: Support second boot.
--8<---------------cut here---------------end--------------->8---

These only work if the filesystem is clean -- which most of the time is
not the case when you restart -- why would you restart if not for a
kernel crash.  That means you'll have to boot into GNU/Linux and fsck
/hurd.

I'm using

--8<---------------cut here---------------start------------->8---
59ae639ac6 DRAFT system: examples: Add devel-hurd.tmpl.
--8<---------------cut here---------------end--------------->8---

as a convenience to build a childhurd to develop in (as opposed to just
offloading to).

ISTM that I've been the only user of these and they're not all that
great.  So yeah.

Greetings,
Janneke
Ludovic Courtès Aug. 20, 2024, 12:37 p.m. UTC | #3
Hello,

Janneke Nieuwenhuizen <janneke@gnu.org> skribis:

> ISTM that I've been the only user of these and they're not all that
> great.  So yeah.

OK, thanks for explaining.  Let’s keep that in mind for our future Hurd
endeavors!

Ludo’.
diff mbox

Patch

--- a/gnu/system/examples/devel-hurd.tmpl
+++ b/gnu/system/examples/devel-hurd.tmpl
@@ -59,7 +59,7 @@ 
 (define guix-packages
   (filter-map input->package
               (fold alist-delete (package-direct-inputs guix)
-                    '("glibc-utf8-locales" "graphviz" "po4a"))))
+                    '("glibc-utf8-locales" "graphviz" "imagemagick" "po4a"))))
--8<---------------cut here---------------end--------------->8---
 
Greetings,
Janneke