From: ludo@gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Seeking guidance regarding system roll-back and switch-generation
Date: Mon, 25 Jul 2016 10:06:32 +0200 [thread overview]
Message-ID: <87fuqyta47.fsf@gnu.org> (raw)
In-Reply-To: <87mvl6nsnw.fsf@gmail.com> (Chris Marusich's message of "Sun, 24 Jul 2016 23:22:27 -0700")
Hi Chris,
Chris Marusich <cmmarusich@gmail.com> skribis:
>> The output of ‘guix system build’ contains the ‘parameters’ file, which
>> is enough to generate grub.cfg (see ‘previous-grub-entries’ in (guix
>> scripts system)).
>
> What if someone specifies extra "menu-entries" in their operating system
> configuration file? (as described in "(guix) GRUB Configuration")?
> Those extra entries don't appear to be stored in the parameters file.
They’re not stored there, but that’s fine: since there’s only one
grub.cfg, we just store the menu entries that are defined in
‘operating-system’ at the moment ‘guix system reconfigure’ is run. This
part is “imperative” in nature.
> It would be very convenient if we could just store the entire
> <grub-configuration> in the built system output (e.g., the parameters
> file). Is that possible?
I don’t think it’s useful because what matters is the
<grub-configuration> that we see in the new operating system.
What do you think?
>> However, the activation script is indeed missing. We can add it to the
>> output of ‘guix system build’ by extending ‘system-service-type’:
[...]
>> This way we have direct access to each generation’s activation script
>> and we should be fine with (3).
>>
>> WDYT?
>
> I'm afraid I don't yet know enough about gexps and the activation
> process to give an informed opinion on that suggestion. After I finish
> the first milestone (switch symlinks and rebuild grub.cfg), I'll study
> those topics in more detail and revisit your proposal.
Sure.
Thank you!
Ludo’.
prev parent reply other threads:[~2016-07-25 8:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-17 9:22 Seeking guidance regarding system roll-back and switch-generation Chris Marusich
2016-07-17 15:27 ` Tobias Geerinckx-Rice
2016-07-18 12:39 ` Ludovic Courtès
2016-07-18 13:01 ` Ludovic Courtès
2016-07-19 8:35 ` Chris Marusich
2016-07-22 10:32 ` Chris Marusich
2016-07-22 15:49 ` Ludovic Courtès
2016-07-25 6:22 ` Chris Marusich
2016-07-25 8:06 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fuqyta47.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=cmmarusich@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.