Commit graph

143437 commits

Author SHA1 Message Date
Lilah Tascheter
a9fb42b3fd
guix: scripts: Remove unused code.
* guix/scripts/system.scm (bootloader-installer-script): Delete.

Change-Id: Ic1e0a523c814e4f1bf44b2721f5658f00066b0ab
2024-10-08 10:36:36 -04:00
Lilah Tascheter
545815bcbd
gnu: tests: reconfigure: Remove bootloader install test.
* gnu/tests/reconfigure.scm (%test-install-bootloader): Delete variable.
(run-install-bootloader-test): Delete procedure.

Change-Id: I3654d160f7306bb45a78b82ea6b249ff4281f739
2024-10-08 10:36:36 -04:00
Lilah Tascheter
9ba07f90f2
gnu: system: Remove useless boot parameters.
* gnu/system.scm (operating-system-boot-parameters,
operating-system-boot-parameters-file): Delete bootloader-menu-entries.
* gnu/system/boot.scm (boot-parameters)[bootloader-menu-entries]: Delete
field.
(read-boot-parameters): Don't read bootloader-menu-entries.
* tests/boot-parameters.scm (%grub-boot-parameters,
test-read-boot-parameters, test-read-boot-parameters): Don't include
bootloader-menu-entries.
("read, bootloader-menu-entries, default value"): Delete test.

Change-Id: I46d9cff4604dbfcf654b0820fdb77e72aecffbb4
2024-10-08 10:36:36 -04:00
Lilah Tascheter
fa711c6979
gnu: bootloader: Remove deprecated bootloader-configuration field.
* gnu/bootloader.scm (warn-target-field-deprecation): Delete sanitizer.
(bootloader-configuration)[target]: Remove deprecated field.
(bootloader-configuration-target): Delete procedure.
(bootloader-configuration-targets): Do not use target field.

Change-Id: I3654d160f7306bb45a78b82ea6b249ff4281f739
2024-10-08 10:36:35 -04:00
Felix Lechner
a1de2abd8e
Encapsulate <boot-parameters> to retain generation, system-path and epoch.
* gnu/system/boot.scm (<boot-alternative>): New record.
  (boot-alternative->menu-entry): New procedure.

* gnu/machine/ssh.scm (machine->boot-alternatives): Return a
  boot-alternative encapsulating previous return value.
  (deploy-managed-host): Get menu-entries from boot-alternatives.
  (roll-back-managed-host): Get parameters from boot-alternatives.

* guix/scripts/system.scm (generation->boot-parameters): Rename to...
  (generation->boot-alternative): ...this.  Return a boot-alternative
  encapsulating previous return value.
  (profile->boot-alternatives): Rename uses as above.
  (reinstall-bootloader, perform-action): Get menu-entries from
  boot-alternatives.

Change-Id: Iaef0b0a3fa9240ca8315a9699bcf4a7bfe908e33
2024-10-08 10:36:35 -04:00
Felix Lechner
4b2cfd9794
Split system->boot-parameters out of profile->boot-alternatives.
* guix/scripts/system.scm
  (profile->boot-alternatives)[system->boot-parameters]: Rename, process
  system and epoch, and move to...
  (generation->boot-parameters): ...here.
  (reinstall-bootloader): Use procedure above.

Change-Id: If31eeb4cef4f5a107a0ee5ad3f117bf38629ac38
2024-10-08 10:36:35 -04:00
Felix Lechner
8356f8c2ba
Give a separate name to a commonly used expression.
* gnu/machine/ssh.scm (roll-back-managed-host): Factor out a
  subexpression into new variable parameters.

Change-Id: I8d70684142bea736042d6c9dc8276ea7bdb9c181
2024-10-08 10:36:35 -04:00
Felix Lechner
b13726dd98
Rename two remote variables confusingly named 'generations'.
Both refer to data sets returned from the remote expression, and one of them
shadowed an element of itself.

* gnu/machine/ssh.scm (machine->boot-alternatives): Rename generations
  to remote-results.

Change-Id: Ibd8a3036126d9da1215cfc191884c0f54df637df
2024-10-08 10:36:35 -04:00
Felix Lechner
02b0324822
Rename boot-parameters to boot-alternatives when appropriate.
Throughout the code base, the token 'boot-parameters' refers to collection of
data that is stored on disk for each system generation. It was confusing to
use it for a list of such records. This comment imposes an alternative name.

* gnu/machine/ssh.scm (machine-boot-parameters): Rename to
  machine->boot-alternatives.
  (machine->boot-alternatives, roll-back-managed-host): Use
  boot-alternatives instead of boot-parameters as appropriate.
* guix/scripts/system.scm (profile-boot-parameters): Rename to
  profile->boot-alternatives.
  (reinstall-bootloader, perform-action): Use boot-alternatives instead
  of boot-parameters as appropriate.

Change-Id: Iabb04dbb39f42f989692bede7304f20a69bef9fb
2024-10-08 10:36:35 -04:00
Felix Lechner
5ec2223c71
Offer a uniform decorated-boot-label and use it.
* gnu/system/boot.scm (decorated-boot-label): New procedure.
* gnu/machine/ssh.scm (machine-boot-parameters): Use
  decorated-boot-label.
* guix/scripts/system.scm
  (profile-boot-parameters)[system->boot-parameters]: Use
  decorated-boot-label.

Change-Id: Id348c3047df2353f76b1bad0eb2a3e0fa17e474c
2024-10-08 10:36:35 -04:00
Felix Lechner
42d65fe2eb
Move epoch->date-string to gnu/system/boot.scm and use it elsewhere.
* guix/scripts/system.scm (profile-boot-parameters): Rename time to
  epoch to fit new procedure name.
  (epoch->date-string): Move to...
* gnu/system/boot.scm (epoch->date-string): ...here.
* gnu/machine/ssh.scm (machine-boot-parameters): Rename time to epoch.
  (machine-boot-parameters)[boot-parameters]: Use epoch->date-string.

Change-Id: I6a5f793567221f81edd7b2d8d9f0f3e801d1b113
2024-10-08 10:36:34 -04:00
Felix Lechner
cb491fdcba
Rename seconds->string procedure to epoch->date-string.
* guix/scripts/system.scm (seconds->string): Rename to
  epoch->date-string.
  (profile-boot-parameters)[boot-parameters]: Update as above.

Change-Id: I2b9aaa816b3ca84c32f7d6fa690245b149228310
2024-10-08 10:36:34 -04:00
Felix Lechner
b452d525d6
Move <boot-parameters> record to a separate file.
Required to avoid a missing dependency error on build-side.

* gnu/system.scm (<boot-parameters>): Move this record, and...
  (system-linux-image-file-name, %boot-parameters-version,
  bootable-kernel-arguments, ensure-not-/dev, read-boot-parameters,
  read-boot-parameters-file, boot-parameters->menu-entry):
  ...these procedures, to...

* gnu/system/boot.scm: ...this new file.

* gnu/machine/ssh.scm, gnu/system.scm, guix/scripts/system.scm,
  tests/boot-parameters.scm: Use new module above.

* gnu/local.mk (GNU_SYSTEM_MODULES): Add new module above.

* gnu/machine/ssh.scm (machine-boot-parameters): Don't private-import
  bootable-kernel-arguments.

Change-Id: I50cca8d2187879cd351b8e9332e1e114ca5096ae
2024-10-08 10:36:34 -04:00
Felix Lechner
8db7a8f1e2
Fix bug where the extra menu entries for a bootloader were shown twice.
The extra menu entries are already being added in each bootloaders, as
applicable.

* guix/scripts/system.scm (reinstall-bootloader)[entries]: Don't
  extraneously include bootloader-configuration-menu-entries here.

Change-Id: I8a600f2a5836ab4f7db5e27e25b0b8f432c3e1e0
2024-10-08 10:36:34 -04:00
Herman Rimm
f321a5022d
gnu: bootloader: Add orangepi-zero2w bootloader.
* gnu/bootloader/u-boot.scm (u-boot-orangepi-zero2w-bootloader): Add
variable.
* gnu/packages/bootloaders.scm (u-boot-orangepi-zero2w): Add variable.
* gnu/packages/firmware.scm (arm-trusted-firmware-sun50i-h616): Add
variable.

Change-Id: Idb43fdabac51b3301f3bea24fec72bfa29636489
2024-10-08 10:36:34 -04:00
Herman Rimm
0b06788009
gnu: u-boot-sandbox: Unconfigure CONFIG_RSA and CONFIG_TOOLS_LIBCRYPTO.
* gnu/packages/bootloaders.scm (u-boot-sandbox): Remove CONFIG_RSA and
CONFIG_TOOLS_LIBCRYPTO.
2024-10-08 10:36:34 -04:00
Herman Rimm
f984c5cf1a
gnu: u-boot-rockpro64-rk3399: Unconfigure CONFIG_DM_SCSI.
* gnu/packages/bootloaders (u-boot-rockpro64-rk3399): Remove
CONFIG_DM_SCSI in favor of CONFIG_SCSI.
2024-10-08 10:36:34 -04:00
Herman Rimm
8aea73c8e6
gnu: python-u-boot-pylib: Fix pyproject.toml.
* gnu/packages/bootloaders.scm (python-u-boot-pylib)[arguments]: Add
list-package phase.
2024-10-08 10:36:33 -04:00
Herman Rimm
adabfcfd37
gnu: u-boot: Update to 2024.07.
* gnu/packages/bootloaders.scm (u-boot): Update to 2024.07.
[source]: Remove build-without-libcrypto patch.
(%u-boot-build-without-libcrypto-patch): Remove variable.
(u-boot-tools)[arguments]: Disable sandbox tests and kwbimage.
* gnu/packages/patches/u-boot-build-without-libcrypto.patch: Delete
file.
* gnu/local.mk (dist_patch_DATA): Remove patch.

Change-Id: I85863adb0324461fabf164d3e936d922ade3aa69
2024-10-08 10:36:33 -04:00
Herman Rimm
c96437d3b6
gnu: firmware: Update make-arm-trusted-firmware to 2.10.
* gnu/packages/firmware.scm(make-arm-trusted-firmware): Update to 2.10.
2024-10-08 10:36:33 -04:00
Herman Rimm
33c1b42ea4
gnu: u-boot: Use DDR3 patch for Nano Pi R4S.
* gnu/packages/bootloaders.scm (%u-boot-nanopi-r4s-ddr3-patch): Add
variable.
(u-boot)[source]: Use patch.
* gnu/packages/patches/u-boot-nanopi-r4s-ddr3.patch: Add file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: Ibbf952f2806c9cac7fc29e1264d427bf6ee67d01
2024-10-08 10:36:33 -04:00
Herman Rimm
4164ff51a9
gnu: bootloader: Add nanopi-r4s-rk3399 bootloader.
* gnu/bootloader/u-boot.scm (install-nanopi-r4s-rk3399-u-boot,
u-boot-nanopi-r4s-rk3399-bootloader): Add variable.
* gnu/packages/bootloaders.scm (u-boot-nanopi-r4s-rk3399): Add variable.

Change-Id: I6d4cb098727fe4027aea33a39c59d34000dfc4db
2024-10-08 10:36:33 -04:00
Maxim Cournoyer
d44beb9b4a
doc: Update documentation for wayland? option of gdm-configuration.
This is a follow-up to commit 06d01c610e ("services: gdm: Enable wayland by
default."), which forgot updating the associated documentation.

Change-Id: I3ea0402680e3e0f588db057988eb00af44ab4ae6
2024-10-08 17:05:14 +09:00
Ian Eure
5eaebebdea
gnu: librewolf: Revert video acceleration fix.
This patch partly reverts #73429, because that change makes livestreaming
video refuse to play.

* gnu/packages/librewolf.scm (librewolf) [source]: Remove
the librewolf-add-paths-to-rdd-allowlist patch.
[phases] <wrap-program>: Reinstate previous LD_LIBRARY_PATH wrapping.
* gnu/packages/patches/librewolf-add-paths-to-rdd-allowlist.patch: Delete
file.
* gnu/local.mk (dist_patch_DATA): De-register it.

Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Iaf36c64464cd078538fda677ea4fa7b13e7c110f
2024-10-08 16:34:38 +09:00
Ian Eure
daaba6ac16
gnu: librewolf: Fix broken context menu.
This patch fixes a reported bug where context (right-click) menus contain many
duplicate and incorrect entries.

* gnu/packages/librewolf.scm (librewolf)
[phases] <neuter-genai>: Reinstate the genai browser component.

Change-Id: I288545ce80b9a7e854edfc26a7ffe43433303458
2024-10-08 16:34:38 +09:00
Danny Milosavljevic
a950a89d2f
gnu: Add emacs-mediawiki-el.
* gnu/packages/emacs-xyz.scm (emacs-mediawiki-el): New variable.

Change-Id: I79cf043580c13fef23d38645ed841630606a118b
2024-10-08 00:06:03 +02:00
Artyom V. Poptsov
4624302c4a
gnu: jc: Update to 1.25.3.
* gnu/packages/admin.scm (jc): Update to 1.25.3.
[arguments]<phases>: In "hack-time-zone" phase, set the TZ environment
variable instead of substituting the timezone in tests.

Change-Id: Ib1df51435ac8ed78ddbbaac2953dec00cbc71b85
Signed-off-by: jgart <jgart@dismail.de>
2024-10-07 15:22:09 -05:00
jgart
f97d0d2f9d
gnu: sbcl-micros: Update to af94fe5.
* gnu/packages/lisp-xyz.scm (sbcl-micros): Update to af94fe5.

Change-Id: I5159052511d1a03468ee027bb6c4286e2cc3119c
2024-10-07 15:07:21 -05:00
jgart
1d40112b15
gnu: trealla: Update to 2.56.4.
* gnu/packages/prolog.scm (trealla): Update to 2.56.4.

Change-Id: I05180e4fdb9dc9a7595cd1b4d652aea9bf01f24e
2024-10-07 14:46:16 -05:00
André Batista
8a69f433e9
gnu: noscript: Update to 11.4.40.
* gnu/packages/browser-extensions.scm (noscript): Update to 11.4.40.

Change-Id: If4f0e58ac9706c30e749c89ed6b631e6463731ee
Signed-off-by: Andreas Enge <andreas@enge.fr>
2024-10-07 16:25:04 +02:00
Ludovic Courtès
ff88c8cf3e
gnu: cuirass: Update to fc4624c.
* gnu/packages/ci.scm (cuirass): Update to fc4624c.

Change-Id: I2be2769c91280e4f0457d14e3209a55c95e80201
2024-10-07 12:51:25 +02:00
Giacomo Leidi
f8d0f7de2d
gnu: Add libguestfs.
* gnu/packages/virtualization.scm (libguestfs): New variable.

Change-Id: I99243550a7a6c9d787fa1a67e54acefd3deeaf1f
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:25 +02:00
Giacomo Leidi
91d2e0b567
gnu: Add libguestfs-minimal.
* gnu/packages/virtualization.scm (libguestfs-minimal): New variable.
* gnu/packages/patches/libguestfs-syms.patch: Add file.
* gnu/local.mk: Add it.

Change-Id: Ide22707724ecd41145243c9f41adc3f5557c593e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:25 +02:00
Giacomo Leidi
5fd8d9dc06
gnu: Add hivex.
* gnu/packages/virtualization.scm (hivex): New variable.

Change-Id: I9828d267d5c6f24dc5039ea3b1849248cd9d23fb
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:25 +02:00
Sören Tempel
923fac07db
gnu: python-angr: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-angr): Update to 9.2.112.
[propagated-inputs]: Remove python-progressbar2; add python-pyformlang,
add python-rich, add python-unique-log-filter.
* gnu/packages/patches/python-angr-addition-type-error.patch:
Remove patch (merged upstream and included in new release).
* gnu/packages/patches/python-angr-check-exec-deps.patch:
Rebase for new release.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
c3d21302cb
gnu: Add python-unique-log-filter.
* gnu/packages/python-xyz.scm (python-unique-log-filter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
53c7ce9c9a
gnu: Add python-pyformlang.
* gnu/packages/python-xyz.scm (python-pyformlang): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
f343e91fb3
gnu: python-claripy: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-claripy): Update to 9.2.112.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
ceea675a09
gnu: python-cle: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-cle): Update to 9.2.112.
[propagated-inputs]: Add python-cart.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
cb79f3b1cc
gnu: Add python-cart.
* gnu/packages/python-xyz.scm (python-cart): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
ac908ebd9f
gnu: python-archinfo: Update to 9.2.112.
* gnu/packages/emulators.scm (python-archinfo): Update to 9.2.112.
[propagated-inputs]: Add python-backports-strenum.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:24 +02:00
Sören Tempel
7118e5fe6f
gnu: Add python-backports-strenum.
* gnu/packages/python-xyz.scm (python-backports-strenum): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Sören Tempel
242615ce3d
gnu: python-pyvex: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-pyvex): Update to 9.2.112.
* gnu/packages/patches/python-pyvex-remove-angr-dependency.patch:
Remove patch (merged upstream and included in new release).

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Sören Tempel
3c1d1acd76
gnu: python-ailment: Update to 9.2.112.
* gnu/packages/python-xyz.scm (python-ailment): Update to 9.2.112.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Hilton Chain
66db4f5c57
gnu: Add patchelf-0.16.
* gnu/packages/elf.scm (patchelf-0.16): New variable.

Change-Id: Ide4c547734156ffe909a6d010974a7450aaa45cd
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Marcel van der Boom
516c63ef8c
gnu: lib2geom: Skip a test on ppc64le
* gnu/packages/graphics.scm (lib2geom)[arguments]: When building for
ppc64le-linux add a phase to skip a test known to fail upstream.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Tomas Volf
db1a1dc0b2
time-machine: Print profile path if no command is given.
Instead of warning, print the profile path of the cached-channel-instance.

* guix/scripts/time-machine.scm (guix-time-machine)[not command-line]: Print
the profile directory.
(show-help): Adjust usage message.
* doc/guix.texi (Invoking guix time-machine): Document it.

Change-Id: Id2c1ded514e6c5af45af9008ad1ef91beb509177
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Romain GARBAGE
56632b081f
gnu: slurm: Update to version 23.11.10.
* gnu/packages/parallel.scm (slurm): Update to version 23.11.10.
(slurm-23.02): New variable.
(slurm-22.05): Inherit from slurm-23.02.

Change-Id: I614f7ad29b3aa7edb2a9792ae45825e311900379
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-07 12:51:23 +02:00
Guillaume Le Vaillant
7f8c98530a
gnu: p2pool: Update to 4.1.1.
* gnu/packages/finance.scm (p2pool): Update to 4.1.1.

Change-Id: I10736bea7aa3198344c7cde096ca38dc2092c561
2024-10-07 11:55:35 +02:00
Ricardo Wurmus
b007cbbfb7
gnu: ardour: Update to 8.8.
* gnu/packages/audio.scm (ardour): Update to 8.8.
[source]: Use GIT-FILE-NAME.
[arguments]: Remove --cxx11 flag.

Change-Id: I0eb5ebf8578ce20a2a8120f247225bf13b535e0f
2024-10-07 00:40:15 +02:00