~ruther/guix-local

ref: cd698b6e203cb024caaf6df12d5c4886e8eaee64 guix-local/gnu/system.scm -rw-r--r-- 37.6 KiB
1975c754 — Danny Milosavljevic 8 years ago
bootloader: Use <menu-entry> for the bootloader side.

* gnu/bootloader.scm (menu-entry-device-mount-point): New variable.  Export it.
(<menu-entry>: New field "device".
* gnu/bootloader/grub.scm (grub-confgiuration-file): Handle <menu-entry>
entries.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Handle
<menu-entry> entries.
* gnu/system.scm (menu->entry->boot-parameters): Delete variable.
(boot-parameters->menu-entry): New variable.  Export it.
(operating-system-bootcfg): Make OLD-ENTRIES a list of <menu-entry>.
* guix/script/system.scm (reinstall-bootloader): Fix bootcfg usage.
(perform-action): Fix bootcfg usage.
fd900d68 — Efraim Flashner 8 years ago
gnu: Add support for aarch64's compiled kernel.

* gnu/packages/linux.scm (linux-libre)[arguments]: Add to the regex to
find and install the aarch64-linux kernel.
* gnu/system.scm (system-linux-image-file-name): Add entry for aarch64.
852241eb — 宋文武 8 years ago
system: Add 'newuidmap' and 'newgidmap' to %SETUID-PROGRAMS.

* gnu/system.scm (%setuid-programs): Add 'newuidmap' and 'newgidmap'.
b19a49d0 — Ludovic Courtès 8 years ago
locale: Demonadify the locale creation API.

* gnu/system/locale.scm (single-locale-directory): Use 'computed-file'
instead of 'gexp->derivation'.
(locale-directory): Adjust accordingly and do the same.
* gnu/system.scm (operating-system-directory-base-entries): Adjust
accordingly.
87941d1d — Ludovic Courtès 8 years ago
system: Use "@" to refer to the 'shadow' package.

Reported by Mark H Weaver
at <https://lists.gnu.org/archive/html/guix-devel/2017-06/msg00349.html>.

* gnu/system.scm (%base-packages): Use '@' for shadow.  This fixes an
error on Guile 2.0 where 'shadow' alone resolves to the (gnu system
shadow) module.
c0f5eee4 — Ludovic Courtès 8 years ago
system: Add 'shadow' to %BASE-PACKAGES.

Suggested by Göktuğ Kayaalp <self@gkayaalp.com>.

* gnu/system.scm (%base-packages): Add SHADOW.
fcf08b32 — Mathieu Othacehe 8 years ago
bootloader: Fix rebase error on f96752e commit.

* gnu/system.scm (menu-entry->boot-parameters): Rename boot-name to
  bootloader-name.
f96752e3 — Mathieu Othacehe 8 years ago
bootloader: Rename boot-name to bootloader-name.

* gnu/system (<boot-parameters>)[boot-name]: Rename field to...
[bootloader-name]: ... this.  Adjust users.
* gnu/scripts/system.scm: Adjust accordingly.
8b22107e — Mathieu Othacehe 8 years ago
bootloader: Use menu-entry to define custom bootloader entries.

* gnu/bootloader.scm (<menu-entry>): New variable. Export associated getters,
This record is extracted from grub module.
* gnu/bootloader/extlinux.scm (extlinux-configuration-file): Use
  menu-entry->boot-parameters to convert menu-entry records to
  boot-parameters.
* gnu/bootloader/grub.scm (<menu-entry>): Remove.
(boot-parameters->menu-entry): Remove.
(grub-configuration-file): Use boot-parameters to create configuration
entries.
* gnu/system.scm (menu-entry->boot-parameters): New exported procedure.
e4cddbbc — Marius Bakke 8 years ago
Merge branch 'master' into staging
429046e9 — Ludovic Courtès 8 years ago
system: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.

* gnu/system.scm (%base-packages): Change GUILE-2.0 to GUILE-2.2.
b55dd316 — Ludovic Courtès 8 years ago
system: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.

* gnu/system.scm (%base-packages): Change GUILE-2.0 to GUILE-2.2.
bcaf67c4 — Mathieu Othacehe 9 years ago
bootloader: Add bootloader name to boot-parameters record.

* gnu/system.scm (<boot-parameters>)[name]: New field.
(boot-parameters-boot-name): Ditto.
(operating-system-boot-parameters-file): Add new field.
(operating-system-boot-parameters): Ditto.
(read-boot-parameters): Ditto.
b09a8da4 — Mathieu Othacehe 8 years ago
bootloader: Add extlinux support.

* gnu/bootloader.scm: New file.
* gnu/bootloader/extlinux.scm: New file.
* gnu/bootloader/grub.scm: New file.
* gnu/local.mk: Build new files.
* gnu/system.scm: Adapt to new bootloader api.
* gnu/scripts/system.scm: Adapt to new bootloader api.
* gnu.scm: Remove (gnu system grub) and replace by (gnu bootloader) and (gnu
bootloader grub) modules.
* gnu/system/grub.scm: Moved content to gnu/bootloader/grub.scm.
* gnu/system/vm: Replace (gnu system grub) module by (gnu bootloader).
* gnu/tests.scm: Ditto.
* gnu/tests/nfs.scm: Ditto.
61b1df6f — Marius Bakke 8 years ago
Merge branch 'master' into staging
4e4e0185 — Alex Kost 8 years ago
system: Export 'read-boot-parameters'.

This partially reverts commit 9530e73b496fefe65dcb936825b6beda79f7fdf2.

* gnu/system.scm: Export 'read-boot-parameters' for backward compatibility.
f0008285 — Danny Milosavljevic 8 years ago
system: Remove circular dependency between (gnu system) and (gnu system grub).

Followup to 087efec496b91e3763be2e11e208d4a8f4ef3d43.

* gnu/system.scm: (operating-system-bootcfg): Refer to (gnu system grub)
by module-ref.
087efec4 — Danny Milosavljevic 8 years ago
system: Remove circular dependency between (gnu system) and (gnu system grub).

Followup to 8e815c5b6903a545c46b674c1cd1cc3180f835db.

* gnu/system.scm: Remove (gnu system grub) import.
(operating-system-bootcfg): Refer to (gnu system grub) within the procedure.
8e815c5b — Ludovic Courtès 8 years ago
system: Define <boot-parameters> before first use.

Fixes <http://bugs.gnu.org/26791>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/system.scm (<boot-parameters>, read-boot-parameters)
(read-boot-parameters-file): Move before first use of the
'boot-parameters' macro.
360874dd — Danny Milosavljevic 8 years ago
system: Clarify that SYSTEM is either a derivation or #f.

* gnu/system.scm (operating-system-boot-parameters):  Clarify that SYSTEM is
either a derivation or #f.
Next