Ludovic Courtès
097b725532
gnu: grub-minimal: Fix cross-compilation.
...
Fixes a regression introduced in
34a6f12351
that would break
cross-compilation of 'grub-minimal' because it would enable Freetype
support as a side effect but the 'set-freetype-variables' phase was not
inherited in 'grub-minimal'.
* gnu/packages/bootloaders.scm (grub-minimal)[arguments]: Use
'substitute-keyword-arguments' so that the 'set-freetype-variables'
phase is inherited.
2020-11-24 10:40:39 +01:00
Efraim Flashner
77b7d990ec
gnu: grub: Fix cross-compiling for other architectures.
...
Reported by cbaines and xelxebar on IRC.
* gnu/packages/bootloaders.scm (grub)[arguments]: In custom
'set-freetype-variables phase only use the native-inputs version of
freetype.
2020-11-23 15:43:32 +02:00
Efraim Flashner
34a6f12351
gnu: grub: Cross-compile for mips64el-linux.
...
* gnu/packages/bootloaders.scm (grub)[arguments]: Add custom phase to
set BUILD_FREETYPE_* flags.
[native-inputs]: Add freetype.
2020-11-16 22:38:15 +02:00
Efraim Flashner
66f769122f
gnu: grub: Don't run tests when cross compiling.
...
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when
cross-compiling.
2020-11-16 22:38:15 +02:00
Efraim Flashner
6cc86492db
gnu: dtc: Cross compile.
...
* gnu/packages/bootloaders.scm (dtc)[arguments]: Use cc-for-target in
make-flags. Add custom phase to use correct pkg-config for target.
2020-11-16 13:03:00 +02:00
Efraim Flashner
149666dfef
gnu: grub: Only do code substitution when input is available.
...
* gnu/packages/bootloaders.scm (grub)[arguments]: In custom 'patch-stuff
phase only substitute the absolute location of the mdadm binary when it
is an input.
2020-11-08 21:22:35 +02:00
Vagrant Cascadian
e9545e6d1d
gnu: u-boot-tools: Update tests.
...
* gnu/packages/bootloaders (u-boot-tools):
Call tcheck target instead of all tests.
Drop adjustment to test coverage percentage.
Update substitution of python coverage binary.
Re-enable coverage tests of dtoc and fdt.
Disable additional configuration options that require OpenSSL.
2020-10-24 13:18:29 -07:00
Vagrant Cascadian
26c5e5af70
gnu: u-boot: Update to 2020.10.
...
* gnu/packages/bootloaders (u-boot): Update to 2020.10.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Refresh patch.
2020-10-24 13:17:41 -07:00
Maxim Cournoyer
3b026eb3b1
Revert "gnu: u-boot: Update to 2020.10."
...
This reverts commit fe6067fc24
. This commit
broke u-boot-tools.
2020-10-23 09:40:36 -04:00
Vagrant Cascadian
fe6067fc24
gnu: u-boot: Update to 2020.10.
...
* gnu/packages/bootloaders (u-boot): Update to 2020.10.
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: Refresh patch.
2020-10-18 16:18:45 -07:00
Danny Milosavljevic
6b1253718d
gnu: u-boot: Reomve sdl2 dependency on non-GUI builds.
...
* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Remove sdl2.
(u-boot-tools)[native-inputs]: Add sdl2.
2020-09-19 23:02:51 +02:00
Vagrant Cascadian
bce3c9748b
gnu: u-boot: Update to 2020.07.
...
* gnu/packages/bootloaders (u-boot): Update to 2020.07.
(u-boot-pinebook-pro-rk3399): Remove patches.
* gnu/packages/patches:
u-boot-DT-for-Pinebook-Pro.patch, u-boot-add-boe-nv140fhmn49-display.patch,
u-boot-gpio-keys-binding-cons.patch, u-boot-leds-common-binding-con.patch,
u-boot-support-Pinebook-Pro-laptop.patch,
u-boot-video-rockchip-fix-build.patch: Remove patches.
u-boot-riscv64-fix-extlinux.patch: Refresh patch.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
2020-07-09 17:22:18 -07:00
Jan (janneke) Nieuwenhuizen
d613991a8e
gnu: grub: Cross-build fix for system i686-linux.
...
* gnu/packages/patches/grub-cross-system-i686.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Use it.
2020-06-25 17:46:37 +02:00
Tobias Geerinckx-Rice
33430a455e
gnu: os-prober: Fix cross-compilation.
...
* gnu/packages/bootloaders.scm (os-prober)[arguments]: Use CC-FOR-TARGET.
2020-06-02 20:50:17 +02:00
Mathieu Othacehe
15135a5e13
gnu: grub: Allow "grub-bios-setup" to operate on raw disk-images.
...
* gnu/packages/patches/grub-setup-root.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Apply it.
2020-05-26 10:00:08 +02:00
Marius Bakke
f589cbc4dc
Merge branch 'master' into core-updates
2020-04-26 13:48:06 +02:00
Pierre Langlois
c10e8cf75e
gnu: u-boot: Update to 2020.04.
...
* gnu/packages/bootloaders (u-boot): Update to 2020.04.
[native-inputs]: Replace sdl with sdl2.
Co-authored-by: Vagrant Cascadian <vagrant@debian.org>
2020-04-24 15:59:44 -07:00
Marius Bakke
030f6f489f
Merge branch 'master' into core-updates
...
Conflicts:
etc/news.scm
gnu/local.mk
gnu/packages/bootloaders.scm
gnu/packages/linphone.scm
gnu/packages/linux.scm
gnu/packages/tls.scm
gnu/system.scm
2020-04-23 13:33:09 +02:00
Mathieu Othacehe
938df0de73
Revert "gnu: u-boot: Update to 2020.04."
...
This reverts commit be0ecfb178
.
2020-04-23 13:03:35 +02:00
Vagrant Cascadian
5327b399a8
gnu: Add u-boot-pinebook-pro-rk3399.
...
* gnu/packages/bootloaders (u-boot-pinebook-pro-rk3399): New variable.
* gnu/packages/patches/u-boot-DT-for-Pinebook-Pro.patch: New file.
* gnu/packages/patches/u-boot-add-boe-nv140fhmn49-display.patch: New file.
* gnu/packages/patches/u-boot-gpio-keys-binding-cons.patch: New file.
* gnu/packages/patches/u-boot-leds-common-binding-con.patch: New file.
* gnu/packages/patches/u-boot-support-Pinebook-Pro-laptop.patch: New file.
* gnu/packages/patches/u-boot-video-rockchip-fix-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add new patches.
* gnu/bootloader/u-boot.scm (install-pinebook-pro-rk3399-u-boot,
u-boot-pinebook-pro-rk3399-bootloader): New variable.
Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
2020-04-20 19:13:35 -07:00
Marius Bakke
bd21acf6c3
Merge branch 'master' into core-updates
2020-04-15 19:26:55 +02:00
Vagrant Cascadian
be0ecfb178
gnu: u-boot: Update to 2020.04.
...
* gnu/packages/bootloaders (u-boot): Update to 2020.04.
2020-04-15 00:44:55 -07:00
Jan Nieuwenhuizen
0c962369e9
gnu: Add grub-minimal.
...
* gnu/packages/bootloaders.scm (grub-minimal): New variable.
2020-03-29 15:31:18 +02:00
Jan Nieuwenhuizen
654de94e74
gnu: grub: Support for the Hurd.
...
* gnu/packages/virtualization.scm (qemu)[supported-systems]: Remove the Hurd.
* gnu/packages/linux.scm (mdadm)[supported-systems]: Likewise.
(lvm2)[supported-systems]: Likewise.
(fuse)[supported-systems]: Likewise.
* gnu/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch:
New file
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/bootloaders.scm (grub): Use it.
[inputs, native-inputs]: Remove non-supported dependencies on non-supported
systems. Fixes build for the Hurd.
2020-03-24 23:31:29 +01:00
Marius Bakke
d19b14c834
Merge branch 'master' into core-updates
2020-03-21 22:16:02 +01:00
Marius Bakke
a67c4ff369
gnu: GRUB: Use the latest version of QEMU for tests.
...
* gnu/packages/bootloaders.scm (grub)[native-inputs]: Change from
QEMU-MINIMAL-2.10 to QEMU-MINIMAL.
2020-03-21 20:17:20 +01:00
Marius Bakke
f142c0775a
gnu: GRUB: Build with the latest version of Flex.
...
* gnu/packages/bootloaders.scm (grub)[native-inputs]: Change from FLEX-2.6.1
to FLEX.
2020-03-21 20:17:20 +01:00
Marius Bakke
ebb7cf9e21
Merge branch 'master' into core-updates
2020-03-04 23:16:17 +01:00
Vagrant Cascadian
760dfc67cd
gnu: u-boot-pinebook: Fix LCD video output.
...
* gnu/packages/bootloaders (u-boot-pinebook): Add phase applying patch
submitted upstream.
2020-02-26 22:23:17 -08:00
Marius Bakke
52665d2b6b
Merge branch 'staging' into core-updates
2020-02-03 15:45:44 +01:00
Vagrant Cascadian
1f9fae008d
gnu: u-boot-qemu-riscv64-smode: Patch to fix boot menu.
...
* gnu/packages/patches/u-boot-riscv64-fix-extlinux.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/bootloaders (u-boot-qemu-riscv64-smode): Add patch.
2020-02-01 18:14:13 -08:00
Vagrant Cascadian
10f31af9e3
gnu: Add u-boot-qemu-riscv64.
...
* gnu/packages/bootloaders (u-boot-qemu-riscv64): New variable.
2020-01-31 20:22:32 -08:00
Vagrant Cascadian
7d06364563
gnu: Add u-boot-sifive-fu540.
...
* gnu/packages/bootloaders (u-boot-sifive-fu540): New variable.
2020-01-31 20:22:30 -08:00
Vagrant Cascadian
7e954f674b
gnu: u-boot-qemu-riscv64-smode: Add package.
...
* gnu/packages/bootloaders (u-boot-qemu-riscv64-smode): New variable.
2020-01-31 19:04:40 -08:00
Marius Bakke
bb93042c8b
gnu: util-linux: Move libraries to separate output.
...
Fixes <https://bugs.gnu.org/37732 >.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.
* gnu/packages/linux.scm (util-linux)[outputs]: Add "lib".
[arguments]: Update #:configure-flags and the "move-static-libraries" phase
accordingly. Add phases "patch-build-scripts" and "adjust-pkg-config-files".
(e2fsprogs, psm, mtd-utils, f2fs-tools, f2fs-tools-1.7, eudev,
xfsprogs)[inputs]: Change to the "lib" output of UTIL-LINUX.
(btrfs-progs)[inputs]: Remove duplicate UTIL-LINUX inputs and change to use
the "lib" output.
* gnu/packages/admin.scm (pam-mount)[inputs]: Add UTIL-LINUX:LIB.
(testdisk)[inputs]: Change to the "lib" output of UTIL-LINUX.
* gnu/packages/android.scm (abootimg)[inputs]: Likewise.
* gnu/packages/audio.scm (jack-1)[propagated-inputs]: Likewise.
* gnu/packages/bootloaders.scm (syslinux, vboot-utils)[inputs]: Likewise.
* gnu/packages/chez.scm (chez-scheme)[inputs]: Likewise.
* gnu/packages/cryptsetup.scm (cryptsetup, cryptsetup-static)[inputs]: Likewise.
* gnu/packages/databases.scm (postgresql, 4store)[inputs]: Likewise.
* gnu/packages/disk.scm (ndctl, gptfdisk, fdisk, gparted, rmlint,
volume-key)[inputs]: Likewise.
(parted)[inputs]: Likewise.
[native-inputs]: Add UTIL-LINUX.
* gnu/packages/efi.scm (sbsigntools)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/engineering.scm (lib3mf)[inputs]: Change to the "lib" output of
UTIL-LINUX.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/file-systems.scm (glusterfs, jfsutils, zfs)[inputs]: Likewise.
* gnu/packages/firmware.scm (ovmf)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontconfig)[propagated-inputs]: Likewise.
* gnu/packages/freedesktop.scm (localed)[inputs]: Likewise.
* gnu/packages/glib.scm (glib, appstream-glib)[propagated-inputs]: Likewise.
* gnu/packages/gnome.scm (tracker, gnome-terminal)[inputs]: Likewise.
* gnu/packages/jupyter.scm (xeus)[inputs]: Likewise.
* gnu/packages/kde.scm (kpmcore)[inputs]: Likewise.
* gnu/packages/kodi.scm (crossguid)[inputs]: Likewise.
* gnu/packages/lighting.scm (ola)[inputs]: Likewise.
* gnu/packages/music.scm (libgig)[inputs]: Likewise.
* gnu/packages/nfs.scm (nfs-utils)[inputs]: Likewise.
* gnu/packages/opencog.scm (opencog)[inputs]: Likewise.
* gnu/packages/package-management.scm (msitools)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/password-utils.scm (pwsafe)[inputs]: Likewise.
* gnu/packages/telephony.scm (pjproject)[propagated-inputs]: Likewise.
* gnu/packages/rdf.scm (rasqal)[inputs]: Likewise.
* gnu/packages/search.scm (xapian)[inputs]: Likewise.
* gnu/packages/sssd.scm (sssd)[native-inputs]: Likewise.
* gnu/packages/storage.scm (ceph)[inputs]: Add UTIL-LINUX:LIB.
* gnu/packages/task-management.scm (taskwarrior)[inputs]: Change to the "lib"
output of UTIL-LINUX.
* gnu/packages/virtualization.scm (libvirt, xen)[inputs]: Likewise.
* gnu/packages/xorg.scm (libsm)[inputs]: Likewise.
2020-01-15 00:24:28 +01:00
Vagrant Cascadian
e39fbd8890
gnu: u-boot-2019.10: Remove obsolete version.
...
* gnu/packages/bootloaders (u-boot-2019.10): Remove variable.
(u-boot-firefly-rk3399): Use default u-boot version.
(u-boot-rockpro64-rk3399): Use default u-boot version.
(u-boot-rock64-rk3328): Use default u-boot version.
[arguments]: Remove add-u-boot-itb phase.
2020-01-08 22:24:22 -08:00
Vagrant Cascadian
634b0e28de
gnu: u-boot: Update to 2020.01.
...
* gnu/packages/bootloaders (u-boot): Update to 2020.01.
[source]: Remove patch u-boot-fix-mkimage-header-verification.
[native-inputs]: Update to use python 3 and add perl.
(u-boot-tools)[configure]: Use tools-only_defconfig.
[arguments]: Update phase updating python-coverage to work with python 3.
Drop obsolete substitution for test_ofplatdata.
Disable code coverage tests and binman tests.
* gnu/packages/patches/u-boot-fix-mkimage-header-verification.patch: Remove file.
* gnu/local.mk [dist_patch_DATA]: Update accordingly.
2020-01-08 22:24:20 -08:00
Björn Höfling
5664a4712c
gnu: dtc: Use Python 3 instead of Python 2.
...
* gnu/packages/bootloaders.scm (dtc)[inputs]: Use python instead of python-2.
2020-01-05 02:41:29 +01:00
Ludovic Courtès
178e550034
gnu: bootloaders: Avoid #:select on (gnu packages …) module.
...
* gnu/packages/bootloaders.scm: Remove use of #:select.
2019-12-15 00:34:05 +01:00
Mathieu Othacehe
db78fc0679
gnu: bootloaders: Fix make-u-boot-sunxi64-package cross-compilation.
...
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package)[arguments]:
Search in native-inputs to fix cross-compilation.
2019-12-14 17:41:10 +01:00
Mathieu Othacehe
af58b275c9
gnu: Add u-boot-pine64-lts.
...
* gnu/packages/bootloaders.scm (u-boot-pine64-lts): New variable.
2019-12-14 17:41:09 +01:00
Marius Bakke
b8806e13dc
gnu: u-boot: Remove redundant GCC input.
...
* gnu/packages/bootloaders.scm (make-u-boot-package)[native-inputs]: Do not
explicitly add GCC 7.
2019-10-31 01:03:27 +01:00
Vagrant Cascadian
545ff7b784
gnu: Add u-boot-firefly-rk3399.
...
* gnu/packages/bootloaders (u-boot-firefly-rk3399): New variable.
* gnu/bootloader/u-boot (install-firefly-rk3399-u-boot): New variable.
(u-boot-firefly-rk3399-bootloader): New variable.
* gnu/system/install (define firefly-rk3399-installation-os): New variable.
2019-10-18 15:48:18 -07:00
Vagrant Cascadian
2fce14af24
gnu: Add u-boot-rock64-rk3328.
...
* gnu/packages/bootloaders (u-boot-rock64-rk3328): New variable.
* gnu/bootloader/u-boot (install-rock64-rk3328-u-boot): New variable.
(u-boot-rock64-rk3328-bootloader): New variable.
* gnu/system/install (define rock64-installation-os): New variable.
2019-10-18 13:32:25 -07:00
Caliph Nomble
fa7470189e
gnu: Add u-boot-rockpro64-rk3399
...
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399): New exported
variable.
(u-boot-2019.10): New variable.
* gnu/bootloader/u-boot.scm (u-boot-rockpro64-rk3399-bootloader): New exported
variable.
(install-rockpro64-rk3399-u-boot): New variable.
* gnu/system/install.scm (rockpro64-installation-os): New exported variable.
Adjusted-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Caliph Nomble <nomble@palism.com>
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2019-10-18 13:32:09 -07:00
Tobias Geerinckx-Rice
91af1031e5
gnu: dtc: Update to 1.5.1.
...
* gnu/packages/bootloaders.scm (dtc): Update to 1.5.1.
[arguments]: Add -Wl,-rpath to LDFLAGS #:make-flags.
2019-09-26 06:28:23 +02:00
Mathieu Othacehe
7c35342472
gnu: grub: Fix cross-compilation.
...
* gnu/packages/bootloaders.scm (grub)[arguments]: Search for unifont in both
native-inputs and inputs.
2019-09-04 18:14:25 +02:00
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
Tobias Geerinckx-Rice
35014c402d
gnu: grub: Build ‘grub-mount’.
...
This increases the closure size by a mere 1.8 MiB (0.8%).
* gnu/packages/bootloaders.scm (grub)[inputs]: Add fuse.
2019-07-09 01:43:31 +02:00
Tobias Geerinckx-Rice
069ab3bbfd
gnu: grub: Update to 2.04.
...
* gnu/packages/bootloaders.scm (grub): Update to 2.04.
[source]: Remove upstreamed patches.
[arguments]: Don't require Python. Add a ‘disable-pixel-perfect-test’
phase to skip tests that fail with with our newer Unifont.
* gnu/packages/patches/grub-efi-fat-serial-number.patch: Adjust context.
* gnu/packages/patches/grub-binutils-compat.patch,
gnu/packages/patches/grub-check-error-efibootmgr.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2019-07-09 01:28:11 +02:00