GNU bug report logs -
#44353
guix system disk-image -t raw fails with grub-efi-bootloader
Previous Next
Reported by: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Date: Sat, 31 Oct 2020 16:48:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #49 received at 44353 <at> debbugs.gnu.org (full text, mbox):
Hello Mathieu,
Mathieu Othacehe <othacehe <at> gnu.org> writes:
> Hello Maxim,
>
>> * guix/scripts/system.scm (%options)[volatile-root?]: New boolean option.
>> (%default-options): Set its default value to #f.
>> (show-help): Add help doc.
>> * guix/scripts/system.scm (perform-action): Propagate option...
>> (system-derivation-for-action): ...here. Use it to set the volatile-root?
>> field of the image object passed to SYSTEM-IMAGE.
>> * doc/guix.texi (Invoking guix system): Document it.
>
> This is a nice addition and it looks good to me.
>
> Thanks,
>
> Mathieu
One thing I wasn't sure was if it'd be better to implicitly derive
volatile-root? #f when image-type was specified (not (eq? 'guess)). The
rationale being that users specifying the image-size themselves probably
want to make use of extra space (assumption) but can't unless
volatile-root? is #t on the image.
If we choose the above it'd lead to less code and one less switch; on
the other hand it is not as explicit.
What do you think?
Maxim
This bug report was last modified 4 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.