GNU bug report logs - #57307
guix system reports an error when uuid is used in menu-entry

Previous Next

Package: guix;

Reported by: tiantian <typ22 <at> foxmail.com>

Date: Sat, 20 Aug 2022 10:17:02 UTC

Severity: normal

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 57307-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <marius <at> gnu.org>
To: Josselin Poiret <dev <at> jpoiret.xyz>, tiantian <typ22 <at> foxmail.com>,
 57307-done <at> debbugs.gnu.org
Subject: Re: bug#57307: guix system reports an error when uuid is used in
 menu-entry
Date: Sun, 28 Aug 2022 23:46:34 +0200
[Message part 1 (text/plain, inline)]
Josselin Poiret via Bug reports for GNU Guix <bug-guix <at> gnu.org> skriver:

> Hi, 
>
> tiantian <typ22 <at> foxmail.com> writes:
>
>> I want to add an menu-entry in bootloader-configuration. I use uuid to 
>> specify the partition in device field of menu-entry , because my 
>> partition has no label. But when I use 'guix system reconfigure', guix 
>> system reports an error: "guix system: error: #<<uuid> type: dce bv: 
>> #vu8(109 91 19 212 96 146 70 208 139 228 7 61 192 116 19 204)>: invalid 
>> G-expression input"
>
> Right, this is an issue with how we translate the menu-entries to sexps
> through `menu-entry->sexp`, which then get embedded into a g-exp via
> `operating-system-boot-parameters-file`!  We didn't take into account
> non-string devices there.  The following two patches should fix the
> issue and introduce some tests for it.

Pushed in:

  3294fa2ba4 tests: Add test for menu-entry roundtrips as sexps.
  0811d2cb8d bootloader: Convert device in menu-entry to proper sexp.

Thanks!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.