From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Seeking guidance regarding system roll-back and switch-generation Date: Fri, 22 Jul 2016 03:32:36 -0700 Message-ID: <87lh0u3quz.fsf@gmail.com> References: <87twfo7h5v.fsf@gmail.com> <87vb03nlq8.fsf@gnu.org> <874m7mvxcz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQXlC-0002Uj-Ph for guix-devel@gnu.org; Fri, 22 Jul 2016 06:32:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQXl5-0004MN-Uc for guix-devel@gnu.org; Fri, 22 Jul 2016 06:32:49 -0400 In-Reply-To: <874m7mvxcz.fsf@gmail.com> (Chris Marusich's message of "Tue, 19 Jul 2016 01:35:40 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Chris Marusich 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. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXkfZGAAoJEN1AmhXYIkadUI8P/143HPK1FKMa9R5oOBufXLOH nKoVww/S7g7sbiolh7I8GHW5Clat6aP+kWEZjSdE+Al2UQwaK4OnJbGUVXK6Jps2 JPXls1GzAsr1veojRpU7PE9q/ZBlJaif0g4+tMbyRTv4hRaFOxF4oytK+pHF2kwJ /WVM+3Q02CAjc2tQYGYAehUnUkBEzmCq5raI1fLRDogsc0q7+d6QrUqbOWC6MRiK 0ZZTvl+dGP1GuKYSDDuAKAaXKa8DG6aaWvHcMFiz9oQpksvYDeIRL8NTvfMVJD/6 dA/xWJEqlxu3AhEyVLlTCUxnAmF2ype0j8hudeWXKcjPlUTnjLUCkw5DwjuDriRG m5eXmLxwP/TrTDeVsbjaNiqmem6l8Xths+togKeHI9DWZ++rpoLBShNAv31B+kg0 ulboF4FRuzPuAvurBkvpD0oWy9Ro7tRuJ865jFDtZ+pHaTcXwaSiB+XsS5x7rQYn pHdQocczAl0tkhVXb0eiCmHlXSIsENRgguAGVr0MVr1uV/psgkAG4kqcShIiO8jd Ed+xNC5v58kG3nn4svwrr+/y7CEQed467Q5SvFfo6Zq080bUS43reBxSQIwQV8Sd cLQ+bgzjK/5geGsNsH4u76DM2gv7lw1PrWdbi+tHSWQoS8ikSVjjDZzOGNhvF/vX mhGC3E3QRQHxZIpvO9Ue =39or -----END PGP SIGNATURE----- --=-=-=--