Commit graph

159 commits

Author SHA1 Message Date
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
Vagrant Cascadian
6f5be83cd7
gnu: u-boot-tools: Only run full test suite on x86_64.
* gnu/packages/bootloaders (u-boot-tools)[arguments]<#:phases>[check]:
Modify phase.
[check-x86]: New phase.
[patch]: New phase.
2019-04-30 19:49:16 +02:00
Vagrant Cascadian
6b99afeef8
gnu: u-boot: Update to 2019.04.
* gnu/packages/bootloaders.scm (u-boot): Update to 2019.04.
[source]: Add patch.
(u-boot-novena): Update dynamic patch to handle config key rename.
(u-boot-am335x-evm): New variable.
(u-boot-am335x-boneblack): Build with modified am335x-evm config.
(u-boot-novena): Fix typo in description.
* gnu/bootloader/u-boot.scm (u-boot-beaglebone-black-bootloader): Use
u-boot-am335x-boneblack.
* gnu/packages/patches/u-boot-fix-mkimage-header-verification.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2019-04-29 12:35:04 +02:00
Ludovic Courtès
52b5fe5bcf
gnu: grub: 'grub-mkrescue' honors 'GRUB_FAT_SERIAL_NUMBER'.
* gnu/packages/patches/grub-efi-fat-serial-number.patch: New file.
* gnu/packages/bootloaders.scm (grub)[source](patches): Add it.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-04-21 00:51:18 +02:00
Vagrant Cascadian
8cd10b22f9
gnu: Update dtc to 1.5.0.
* gnu/packages/bootloaders (dtc): Update to 1.5.0.
[native-inputs]: Add libyaml and pkg-config.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-03-14 11:02:40 +01:00
Vagrant Cascadian
fb0aeaacea
gnu: u-boot: Remove openssl input.
Fixes <https://bugs.gnu.org/34717>.

* gnu/packages/bootloaders (u-boot): Remove openssl from native-inputs.
  (u-boot-tools): Disable FIT_SIGNATURES in tests.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-03-08 12:31:37 +01:00
Tobias Geerinckx-Rice
e9bdef5fb4
gnu: os-prober: Update to 1.77.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.77.
2019-02-12 17:38:21 +01:00
Vagrant Cascadian
6e2bad000f
gnu: u-boot-novena: Allow booting from raw device offset.
* gnu/packages/bootloaders.scm (u-boot-novena): Disable loading u-boot.img
from a partition.
2019-02-11 10:59:23 +01:00
Vagrant Cascadian
4da4e952dd
gnu: u-boot: Update to 2019.01.
* gnu/packages/bootloaders.scm (u-boot): Update to 2019.01.
(u-boot-tools): Disable CONFIG_SOUND in sandbox configs.
(u-boot-pinebook)[source]: Remove patches.
* gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch,
gnu/packages/patches/u-boot-pinebook-dts.patch,
gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch,
gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch,
gnu/packages/patches/u-boot-pinebook-syscon-node.patch,
gnu/packages/patches/u-boot-pinebook-video-bridge.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust as necessary.
2019-02-04 00:21:48 +01:00
Ricardo Wurmus
8f43bdd9fb
gnu: make-u-boot-package: Use INVOKE.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Use INVOKE in
"configure" phase.
2019-01-26 14:44:32 +01:00
Kei Kebreau
71f2b4b8f3
gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
2019-01-20 01:51:39 -05:00