all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lilah Tascheter <lilah@lunabee.space>
To: guix-devel@gnu.org
Cc: Hilton Chain <hako@ultrarare.space>
Subject: Re: [RFC] proposal for refactoring bootloaders
Date: Fri, 16 Feb 2024 02:33:02 -0600	[thread overview]
Message-ID: <118b8271dc53b5d0e5f245fac57181fed0db86da.camel@lunabee.space> (raw)
In-Reply-To: <3cf16a155c1742eff056fc1dc3e0c31366e677ba.camel@lunabee.space>

one more quick change that I've realized will be necessary: add a
bootloader-targets field to boot-parameters. some bootloaders would
need target info to know where to install config files, and
reinstall-bootloader doesn't have access to the operating-system
record. rollbacks to generations pre-field addition shouldn't be an
issue with this either, as existing bootloaders (sans depthcharge?) do
just fine without targets.

all in all, bootloader-installer and bootloader-config-file-installer
would be procedures that return gexps, with the following signatures:

* (installer entries #:key bootcfg mount-offset generation old-entries
   store-crypto-devices store-directory-prefix locale)
* (config-file-installer entries #:key package targets mount-offset
   generation old-entries store-crypto-devices store-directory-prefix
   locale)

mount-offset is the current target, and old-entries becomes an alist with
generation numbers.

- lilah



  reply	other threads:[~2024-02-16 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15  7:28 [RFC] proposal for refactoring bootloaders Lilah Tascheter
2024-02-16  8:33 ` Lilah Tascheter [this message]
2024-02-19 10:18   ` Efraim Flashner
2024-02-24  1:27     ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

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=118b8271dc53b5d0e5f245fac57181fed0db86da.camel@lunabee.space \
    --to=lilah@lunabee.space \
    --cc=guix-devel@gnu.org \
    --cc=hako@ultrarare.space \
    /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.