[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Seeking guidance regarding system roll-back and switch-generation
From: |
Chris Marusich |
Subject: |
Re: Seeking guidance regarding system roll-back and switch-generation |
Date: |
Fri, 22 Jul 2016 03:32:36 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Chris Marusich <address@hidden> writes:
> Specifically, to complete the first milestone (flip symlinks and
> regenerate grub.cfg), I need to determine the paths to certain things
> like the kernel and the initrd for an arbitrary system generation. So,
> I'm not sure if I should simply parse that information from the file
> system, or if I should try to use the store to obtain that information.
> What are your thoughts?
I did not realize that we already store information like this in a
declarative form in the "parameters" file (e.g.,
/var/guix/profiles/system/parameters). Now that I know that such a
thing exists, I will look into it to see how I can use it.
--
Chris
signature.asc
Description: PGP signature