* gnu/packages/bootloaders.scm (grub-efi)[native-inputs]: For some
architectures add an ovmf package matching their architecture. Only
remove the inherited native-inputs on other architectures.
[arguments]: Enable the tests when not cross-building and when
qemu-minimal is present. On some architectures add a phase to patch the
location of the OVMF firmware.
(grub-efi32)[arguments]: Adjust the new inherited phase to use the
correct OVMF firmware.
[native-inputs]: Adjust the native-inputs on x86_64-linux and
aarch64-linux to use their 32bit ovmf package counterparts.
Co-Authored-by: Esther Flashner <esther@flashner.co.il>
Change-Id: I84441884fea9fde21e148bc23fd50f3f1d018e5b
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
* gnu/packages/firmware.scm (arm-trusted-firmware-rk3588): New variable.
* gnu/packages/bootloaders.scm (make-u-boot-rockchip-package): Support
'rk3588.
Fixes a circular dependency in ‘make-u-boot-rockchip-package’ that
became apparent with 6e41ca397d.
* gnu/packages/bootloaders.scm (make-u-boot-rockchip-package): Remove
‘atf’ variable. Move ‘match’ form to the ‘inputs’ field. In
‘set-environment’ phase, use ‘search-input-file’.
Change-Id: Ic42453efb8c2ef50a5f902998129bb8d6f0defdc
"qemu" was removed in e9c1ea84fc in the code
though the commit message claims to have removed "qemu-minimal". If that
worked, it may have been broken by switching away from labels in
b9c38f26f1.
* gnu/packages/bootloaders.scm (grub-minimal)[native-inputs]: Remove
qemu-minimal.
(grub-efi)[native-inputs]: Remove qemu-minimal.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.
* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.
Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
* gnu/packages/patches/grub-hurd64.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[arguments]: When building for the 64bit
Hurd, use it in new "apply-hurd64-patch" stage.
Change-Id: I780f6a92418b49e5fe0d23eb1c90e155216f1428
Fixes <https://issues.guix.gnu.org/74270>.
* gnu/packages/patches/u-boot-calloc-visibility.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (u-boot): Use it.
Reported-by: Jean-Francois GUILLAUME <Jean-Francois.Guillaume@univ-nantes.fr>
Reported-by: Christopher Howard <christopher@librehacker.com>
Change-Id: Id0023e17367a80a0d1abd4a80b7d8e3a0c3cc5bc
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]: Adjust the
custom 'check and 'check-x86 phases to honor the #:tests? flag.
Change-Id: I663eba70df61569928e167ffe1af9411e405da80
* gnu/packages/bootloaders.scm (grub) [native-inputs] <binutils-i386>:
binutils' #configure-flags is a gexp instead of a simple list, so use
gexp handling procedures when setting flags.
* gnu/packages/bootloaders.scm (ipxe-qemu) [native-inputs]
<binutils-64-bit-bfd>: Likewise.
Change-Id: If93b0a972570d75c7e26647b154be8afc76cf6e0
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This fixes
error: in phase 'build': uncaught exception:
while building ipxe-qemu.
* gnu/packages/bootloaders.scm (ipxe): Update commit to
de8a0821c7bc737e724fa3dfb6d89dc36f591d7a. Bump revision and timestamp.
Change-Id: I352a8451ba9da912f023802f1f31e5e311705ba2
Until now users would have to cargo cult or inspect the private
%default-modules variable of (guix build-systems gnu) to discover which
modules to include when extending the used modules via the #:modules argument.
The renaming was automated via the command:
$ git grep -l %gnu-build-system-modules
| xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i
* guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to...
(%default-gnu-imported-modules): ... this.
(%default-modules): Rename to...
(%default-gnu-modules): ... this. Export.
(dist-package, gnu-build, gnu-cross-build): Adjust accordingly.
Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee
* gnu/packages/bootloaders.scm (grub)[arguments]: Adjust configure-flags
when building for powerpc64le-linux to use clang. When building for
powerpc64le-linux add a phase to skip 2 tests.
[native-inputs]: When building for powerpc64le-linux add clang.
Change-Id: I26ce37e7b864964ede5c9fd73a5a2d4cb89ada45
Before this change, the filename used ended with sbin/mdadm/sbin/mdadm.
* gnu/packages/bootloaders.scm (grub)[arguments]: Fix the use of mdadm.
Change-Id: I911d729eb35034502715c48cdd2159aecf48d22e
* gnu/packages/bootloaders.scm (grub): Update to 2.12.
[source](patches): Remove ‘grub-ignore-metadata-csum-seed.patch’.
(snippet): Create ‘grub-core/extra_deps.lst’. Replace “exit 99”
by “exit 77”.
(grub-coreboot): Update value of ‘XFAIL_TESTS’.
* doc/guix.texi (Keyboard Layout and Networking and Partitioning): Update
accordingly (it should now be fine to use LUKS2).
* gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove it.
Change-Id: Ia31b3b7e0a2e7de42d30229733e9c196fcd12fd9
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/patches/grub-ignore-metadata-csum-seed.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/bootloaders.scm (grub): Use it.
Change-Id: I3bfed24b38ecf31b85ed4ac654399fca2d2e12f6
* gnu/packages/bootloaders.scm (u-boot-sunxi64-packages)[arguments]:
Also search in inputs for input files.
Change-Id: Ibc0f6b0dfff5eb7c561b7361dcf0eac1839fad87
Enable the python bindings and switch to the meson build system that handles
the python bindings better than the Makefile build system here.
* gnu/packages/patches/dtc-meson-cell-overflow.patch: New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (dtc): Update to 1.7.0.
[build-system]: Switch to the meson-build-system.
[arguments]: Remove #:make-flags. Add a new 'preparations phase. Do not edit
the Makefile in the 'patch-pkg-config phase. Remove the 'configure phase.
Change-Id: Ie61c920829ab3a8c32f4924c694dba6bda807711
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Before this change, patman would fail at run time with "AttributeError: module
'patman.__main__' has no attribute 'run_patman'" since the last U-Boot update.
* gnu/packages/bootloaders.scm (patman) [arguments]
<phases>: New patch-pyproject.toml phase.
Fixes <https://issues.guix.gnu.org/64745>.
The regression was introduced in
ed5dc3a25d: at the top level,
bootloaders.scm and firmware.scm would depend on each other, leading to
unbound variables when loaded, depending on the order in which they got
loaded.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Expect
'scp-firmware' to be a promise; force it in 'native-inputs'.
(u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Wrap the 3rd
argument to 'make-u-boot-sunxi64-package' into 'delay'.
Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Take argument
for System Control Processor (SCP) firmware.
[native-inputs]: Add SCP firmware.
[phases]: Adjust 'set-environment to also set SCP variable.
(u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Pass appropriate
crust firmware as the SCP firmware.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>