guix-devel/gnu
Ludovic Courtès 6bfcb72926
gnu: u-boot: Fix target/system comparison in 'make-u-boot-package'.
Until now, running, say:

  guix build -e '(@@ (gnu packages bootloaders) u-boot-a20-olinuxino-micro)' \
    -s armhf-linux

on an x86_64-linux machine wouldn't have the desired effect
because (%current-system) would return "x86_64-linux" when 'same-arch?'
was evaluated.  This fixes that.

* gnu/packages/bootloaders.scm (make-u-boot-package)[same-arch?]: Turn
into a thunk so that (%current-system) is evaluated in the right
context, and adjust callers.  Use 'string=?' instead of 'string-prefix?'.
2019-07-17 15:36:04 +02:00
..
bootloader bootloader: grub: Remove unneeded 'terminal_output'. 2019-05-09 12:11:36 +02:00
build linux-container: Mount a new /dev/pts instance in the container. 2019-07-06 00:26:58 +02:00
installer
machine
packages gnu: u-boot: Fix target/system comparison in 'make-u-boot-package'. 2019-07-17 15:36:04 +02:00
services services: network-manager: Clear default OpenVPN user. 2019-07-17 11:08:26 +02:00
system
tests tests: encrypted-root-os: Increase root partition size. 2019-07-06 16:17:24 +02:00
artwork.scm
bootloader.scm
ci.scm ci: 'channel-build-system' honors the target system. 2019-07-06 16:17:24 +02:00
installer.scm
local.mk gnu: network-manager: Fix plugin loading problem. 2019-07-17 11:07:43 +02:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm