<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chuix.git/gnu/bootloader.scm, branch python-team-django-6</title>
<subtitle>guix
</subtitle>
<id>http://cgit.adnoto.dev/chuix.git/atom?h=python-team-django-6</id>
<link rel='self' href='http://cgit.adnoto.dev/chuix.git/atom?h=python-team-django-6'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/'/>
<updated>2026-01-25T20:17:44Z</updated>
<entry>
<title>describe: Define and use ‘modules-from-current-profile’.</title>
<updated>2026-01-25T20:17:44Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2025-12-14T22:37:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=15f87a0f037ec9b4f5045965416652670ffd955f'/>
<id>urn:sha1:15f87a0f037ec9b4f5045965416652670ffd955f</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/75458&gt;.

Fixes a bug whereby bootloader, image, platform, etc. modules would be
searched for in locations other than the current profile, possibly leading to
incompatible files being loaded.  More generally, this bug would break
statelessness: depending on what happens to be available in $GUILE_LOAD_PATH,
some modules would or would not be loaded.

* guix/describe.scm (modules-from-current-profile): New procedure.
* gnu/bootloader.scm (bootloader-modules): Use it instead of ‘all-modules’.
* gnu/system/image.scm (image-modules): Likewise.
(not-config?): Rename to…
(neither-config-nor-git?): … this, and add (guix git).  Adjust users.
* guix/import/utils.scm (build-system-modules): Likewise.
* guix/platform.scm (platform-modules): Likewise.
* guix/upstream.scm (importer-modules): Likewise.

Change-Id: I8ac55a5bcdf54990665c70d0aa558b9b2c2548d4
Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
Merges: #4859
Signed-off-by: Rutherther &lt;rutherther@ditigal.xyz&gt;
</content>
</entry>
<entry>
<title>gnu: Fix some misspellings.</title>
<updated>2025-02-19T09:21:47Z</updated>
<author>
<name>Efraim Flashner</name>
<email>efraim@flashner.co.il</email>
</author>
<published>2025-02-19T09:11:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=66daf46b411ea68893d3066e654f38fc05d6f286'/>
<id>urn:sha1:66daf46b411ea68893d3066e654f38fc05d6f286</id>
<content type='text'>
Change-Id: I316652aff7418af4b8e83bea24638b1513f8aa97
</content>
</entry>
<entry>
<title>gnu: bootloader: Use symbol as efi-bootloader-chain name.</title>
<updated>2024-10-23T15:56:19Z</updated>
<author>
<name>Roman Scherer</name>
<email>roman@burningswell.com</email>
</author>
<published>2024-10-20T10:59:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=a9a775484d2d7d0686346c2aeafa7b3e333e62a5'/>
<id>urn:sha1:a9a775484d2d7d0686346c2aeafa7b3e333e62a5</id>
<content type='text'>
* gnu/bootloader.scm (efi-bootloader-chain): Use symbol as
efi-bootloader-chain name, to allow systems using it to roll-back and
switch-generations again.

Change-Id: I7f7663e125f5b25830399f04aa2f5ce6ad9e7354
</content>
</entry>
<entry>
<title>bootloader: grub: Add support for loading an additional initrd.</title>
<updated>2024-01-14T22:00:03Z</updated>
<author>
<name>Tomas Volf</name>
<email>wolf@wolfsden.cz</email>
</author>
<published>2024-01-11T17:35:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=086850e5b2b4a1744565fe83624d256524b64a49'/>
<id>urn:sha1:086850e5b2b4a1744565fe83624d256524b64a49</id>
<content type='text'>
In order to be able to provide decryption keys for the LUKS device, they need
to be available in the initial ram disk.  However they cannot be stored inside
the usual initrd, since it is stored in the store and being a
world-readable (as files in the store are) is not a desired property for a
initrd containing decryption keys.  This commit adds an option to load
additional initrd during the boot, one that is not stored inside the store and
therefore can contain secrets.

Since only grub supports encrypted /boot, only grub is modified to use the
extra-initrd.  There is no use case for the other bootloaders.

* doc/guix.texi (Bootloader Configuration): Describe the new extra-initrd
field.
* gnu/bootloader.scm (&lt;bootloader-configuration&gt;): Add extra-initrd field.
* gnu/bootloader/grub.scm (make-grub-configuration): Use the extra-initrd
field.

Signed-off-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
Change-Id: I995989bb623bb594ccdafbf4a1a6de941bd4189f
</content>
</entry>
<entry>
<title>profiles: Hooks honor the #:system parameter of ‘profile-derivation’.</title>
<updated>2023-10-27T22:17:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2023-10-19T14:39:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=344e39c928bdb8e6b7e5ac79d94535921a414a05'/>
<id>urn:sha1:344e39c928bdb8e6b7e5ac79d94535921a414a05</id>
<content type='text'>
Fixes &lt;https://issues.guix.gnu.org/65225&gt;.

* guix/profiles.scm (info-dir-file, package-cache-file)
(info-dir-file, ghc-package-cache-file, ca-certificate-bundle)
(emacs-subdirs, gdk-pixbuf-loaders-cache-file, glib-schemas)
(gtk-icon-themes, gtk-im-modules, linux-module-database)
(xdg-desktop-database, xdg-mime-database, fonts-dir-file)
(manual-database, manual-database/optional): Add optional #:system
parameter and pass it to ‘gexp-&gt;derivation’.
(profile-derivation): Pass HOOK a second parameter, SYSTEM.
* gnu/bootloader.scm (efi-bootloader-profile)[efi-bootloader-profile-hook]:
Add optional #:system parameter and pass it to ‘gexp-&gt;derivation’.
* guix/channels.scm (package-cache-file): Likewise.
* tests/profiles.scm ("profile-derivation, #:system, and hooks"): New
test.

Reported-by: Tobias Geerinckx-Rice &lt;me@tobias.gr&gt;
</content>
</entry>
<entry>
<title>gnu: bootloader: Rework chaining, add grub-efi-netboot-removable-bootloader.</title>
<updated>2022-12-01T19:31:28Z</updated>
<author>
<name>Stefan</name>
<email>stefan-guix@vodafonemail.de</email>
</author>
<published>2022-12-01T00:59:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=a9acbf919a7668e26863d2d26d48c5fd41b57fcd'/>
<id>urn:sha1:a9acbf919a7668e26863d2d26d48c5fd41b57fcd</id>
<content type='text'>
This rework allows to use an (efi-bootloader-chain) like this, which is able
to boot over network or local storage, depending on whether the bootloader
target has support for symbolic links:

   (operating-system
    (bootloader
      (bootloader-configuration
        (bootloader
          (efi-bootloader-chain
            grub-efi-netboot-removable-bootloader
            #:packages (list my-firmware-package
                             my-u-boot-package)
            #:files (list (plain-file "config.txt"
                                      "kernel=u-boot.bin"))
            #:hooks my-special-bootloader-profile-manipulator))
        (targets '("/booti/efi"))
        …))
    …)

* doc/guix.texi (Bootloader Configuration): Describe the new
‘grub-efi-netboot-removable-bootloader’.  Mention the file names used and that
the UEFI Boot Manager is not modified.  Advise to disable write-access over
TFTP.
* gnu/bootloader.scm (efi-bootloader-profile): Allow a list of packages and
collect everything directly in the profile, avoiding a separate collection
directory.  Renamed the profile from "bootloader-profile" to
"efi-bootloader-profile".
[bootloader-collection]: Rename to...
[efi-bootloader-profile-hook]: ... this and remove unused modules.  Do not
create the now extraneous collection directory.
(efi-bootloader-chain): Add PACKAGES and DISK-IMAGE-INSTALLER arguments.
Remove handling of the collection directory, now only calling the given
installer procedure.
* gnu/bootloader/grub.scm (make-grub-efi-netboot-installer): New helper.
(make-grub-configuration): New helper based on (grub-configuration-file).  Add
a GRUB argument, fix indentation, remove previous code retrieving GRUB from
CONFIG.
(grub-configuration-file): Make use of make-grub-configuration.
(grub-efi-configuration-file): New procedure.
(grub-cfg): New variable to replace "/boot/grub/grub.cfg".
(install-grub-efi-netboot): Remove, splitting logic to...
(make-grub-efi-netboot-installer): ... this new helper procedure, as well as
to make-grub-efi-netboot, added below.
(grub-bootloader): Adjust to use the GRUB-CFG.
(grub-efi-bootloader): Likewise.  Removed inheritance and declare all fields
explicitly.
(make-grub-efi-netboot-bootloader): New procedure.
(grub-efi-netboot-bootloader): Use it.
(grub-efi-netboot-removable-bootloader): New variable.
* gnu/packages/bootloaders.scm (make-grub-efi-netboot): New procedure.

Signed-off-by: Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;
Modified-by: Maxim Cournoyer &lt;maxim.cournoyer@gmail.com&gt;
</content>
</entry>
<entry>
<title>gnu: bootloader: Report error in menu-entry.</title>
<updated>2022-09-08T20:30:43Z</updated>
<author>
<name>tiantian</name>
<email>typ22@foxmail.com</email>
</author>
<published>2022-09-04T17:25:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=32da9bbc91d365f514ae41528587905b21c41825'/>
<id>urn:sha1:32da9bbc91d365f514ae41528587905b21c41825</id>
<content type='text'>
* gnu/bootloader.scm (report-menu-entry-error): New procedure.
(menu-entry-&gt;sexp): Add a call to `report-menu-entry-error'.

Co-Authored-By: Julien Lepiller &lt;julien@lepiller.eu&gt;
Signed-off-by: Julien Lepiller &lt;julien@lepiller.eu&gt;
</content>
</entry>
<entry>
<title>gnu: bootloader: Extend `&lt;menu-entry&gt;' for chain-loader.</title>
<updated>2022-09-08T20:29:57Z</updated>
<author>
<name>tiantian</name>
<email>typ22@foxmail.com</email>
</author>
<published>2022-09-04T17:25:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=52d780ea2b0714d035a84e350b516ca2e2c19af1'/>
<id>urn:sha1:52d780ea2b0714d035a84e350b516ca2e2c19af1</id>
<content type='text'>
* gnu/bootloader.scm (&lt;menu-entry&gt;)[chain-loader]: New field.
(menu-entry-&gt;sexp, sexp-&gt;menu-entry): Support chain-loader.
* doc/guix.texi (Bootloader Configuration): Document it.

Co-Authored-By: Julien Lepiller &lt;julien@lepiller.eu&gt;
Signed-off-by: Julien Lepiller &lt;julien@lepiller.eu&gt;
</content>
</entry>
<entry>
<title>bootloader: Wrap lines.</title>
<updated>2022-08-30T06:51:12Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>othacehe@gnu.org</email>
</author>
<published>2022-08-29T20:24:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=93ed34977eba26fbb74881bbb3d9af9b3118a663'/>
<id>urn:sha1:93ed34977eba26fbb74881bbb3d9af9b3118a663</id>
<content type='text'>
* gnu/bootloader (&lt;bootloader-configuration&gt;): Wrap lines, no functional
change.
</content>
</entry>
<entry>
<title>bootloader: Add device-tree-support? option.</title>
<updated>2022-08-30T06:50:44Z</updated>
<author>
<name>Reza Alizadeh Majd</name>
<email>r.majd@pantherx.org</email>
</author>
<published>2022-08-28T08:04:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chuix.git/commit/?id=f126f23b132148192b2c9a89032a5831af0b3c52'/>
<id>urn:sha1:f126f23b132148192b2c9a89032a5831af0b3c52</id>
<content type='text'>
In some specific cases where the device tree file is already loaded in RAM, it
can be preferable that the bootloader does not try to use a device tree from
the Linux kernel tree.

* gnu/bootloader.scm (&lt;bootloader-configuration&gt;)[device-tree-support?]: New field.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Add FDTDIR line
based on &lt;device-tree-support?&gt; field of &lt;bootloader-configuration&gt;.
* doc/guix.texi (Bootloader Configuration)[device-tree-support?]: Add
documentation for the new field.
</content>
</entry>
</feed>
