Commit Graph

291 Commits

Author SHA1 Message Date
Ludovic Courtès
d468a03a00
gnu: Use 'search-input-directory' and 'search-input-file' where appropriate.
This changes some of the remaining uses of this idiom:

  (string-append (assoc-ref inputs "LABEL") "FILE")

to one of:

  (search-input-file inputs "FILE")
  (search-input-directory inputs "FILE")

* gnu/packages/axoloti.scm (axoloti-patcher): Use
'search-input-directory'.
(axoloti-patcher-next): Likewise.
* gnu/packages/bioinformatics.scm (java-picard): Likewise.
* gnu/packages/bootloaders.scm (grub-hybrid): Likewise.
(u-boot-puma-rk3399): Likewise.
(u-boot-rock64-rk3328): Likewise.
(u-boot-firefly-rk3399): Likewise.
(u-boot-rockpro64-rk3399): Likewise.
(u-boot-pinebook-pro-rk3399): Likewise.
* gnu/packages/cran.scm (r-shiny): Likewise.
(r-shinytree): Likewise.
* gnu/packages/education.scm (anki): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-grammalecte): Likewise.
(emacs-rime): Likewise.
* gnu/packages/emulators.scm (dolphin-emu): Likewise.
* gnu/packages/games.scm (bsd-games): Likewise.
(seahorse-adventures): Likewise.
(einstein): Likewise.
* gnu/packages/gimp.scm (gimp-fourier): Likewise.
* gnu/packages/gnome.scm (gspell): Likewise.
* gnu/packages/guile-xyz.scm (guile-libyaml): Likewise.
* gnu/packages/java.scm (icedtea-7): Likewise.
* gnu/packages/language.scm (nimf): Likewise.
* gnu/packages/lxde.scm (spacefm): Likewise.
* gnu/packages/mail.scm (claws-mail): Likewise.
* gnu/packages/netpbm.scm (netpbm): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
* gnu/packages/scheme.scm (scm): Likewise.
* gnu/packages/security-token.scm (python-fido2): Likewise.
* gnu/packages/syndication.scm (rtv): Likewise.
* gnu/packages/tls.scm (acme-client): Likewise.
* gnu/packages/web.scm (netsurf): Likewise.
* gnu/packages/wine.scm (wine-staging): Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets): Likewise.
2021-07-24 16:23:24 +02:00
Ludovic Courtès
bc64d9554b
gnu: Use 'search-input-file' when looking for executables.
* gnu/packages/admin.scm (isc-dhcp): Use 'search-input-file' when
looking for executables.
* gnu/packages/audio.scm (ableton-link): Likewise.
* gnu/packages/benchmark.scm (fio): Likewise.
* gnu/packages/bioinformatics.scm (roary): Likewise.
(ngless): Likewise.
* gnu/packages/boost.scm (boost-for-irods): Likewise.
* gnu/packages/bootloaders.scm (grub): Likewise.
(grub-efi): Likewise.
* gnu/packages/chemistry.scm (inchi): Likewise.
* gnu/packages/dictionaries.scm (ding): Likewise.
* gnu/packages/dlang.scm (ldc): Likewise.
* gnu/packages/education.scm (childsplay): Likewise.
* gnu/packages/emacs-xyz.scm (emacs-hyperbole): Likewise.
(emacs-haskell-mode): Likewise.
(emacs-auctex): Likewise.
(emacs-ggtags): Likewise.
(emacs-graphviz-dot-mode): Likewise.
(emacs-flycheck-grammalecte): Likewise.
(emacs-counsel-notmuch): Likewise.
(emacspeak): Likewise.
(emacs-exwm): Likewise.
(emacs-exwm-x): Likewise.
(emacs-treemacs): Likewise.
(emacs-telega): Likewise.
(emacs-exiftool): Likewise.
* gnu/packages/emulators.scm (higan): Likewise.
* gnu/packages/engineering.scm (freehdl): Likewise.
(librepcb): Likewise.
* gnu/packages/entr.scm (entr): Likewise.
* gnu/packages/file-systems.scm (libeatmydata): Likewise.
(xfstests): Likewise.
(mergerfs): Likewise.
(mergerfs-tools): Likewise.
* gnu/packages/finance.scm (monero-gui): Likewise.
* gnu/packages/flashing-tools.scm (flashrom): Likewise.
* gnu/packages/fontutils.scm (fontforge): Likewise.
* gnu/packages/game-development.scm (python2-renpy): Likewise.
* gnu/packages/games.scm (opensurge): Likewise.
(xboard): Likewise.
(hyperrogue): Likewise.
(flare-game): Likewise.
(chessx): Likewise.
* gnu/packages/geo.scm (grass): Likewise.
* gnu/packages/glib.scm (glib): Likewise.
* gnu/packages/gnome.scm (mm-common): Likewise.
(network-manager-openvpn): Likewise.
(network-manager-vpnc): Likewise.
(network-manager-openconnect): Likewise.
(apostrophe): Likewise.
* gnu/packages/gnupg.scm (pius): Likewise.
(jetring): Likewise.
* gnu/packages/gnuzilla.scm (icedove): Likewise.
* gnu/packages/golang.scm (go-1.4): Likewise.
* gnu/packages/graphviz.scm (xdot): Likewise.
* gnu/packages/guile-xyz.scm (jupyter-guile-kernel): Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hindent): Likewise.
* gnu/packages/ibus.scm (ibus): Likewise.
* gnu/packages/image.scm (phockup): Likewise.
* gnu/packages/irc.scm (quassel): Likewise.
* gnu/packages/java.scm (drip): Likewise.
(ant-bootstrap): Likewise.
(tla2tools): Likewise.
* gnu/packages/julia.scm (julia): Likewise.
* gnu/packages/less.scm (lesspipe): Likewise.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/linux.scm (fuse): Likewise.
(lm-sensors): Likewise.
(bluez): Likewise.
(fakeroot): Likewise.
(inputattach): Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-cl-diskspace): Likewise.
* gnu/packages/lisp.scm (lisp-repl-core-dumper): Likewise.
* gnu/packages/lua.scm (fennel): Likewise.
* gnu/packages/lxde.scm (spacefm): Likewise.
* gnu/packages/mail.scm (public-inbox): Likewise.
* gnu/packages/maths.scm (hdf-java): Likewise.
(maxima): Likewise.
(frama-c): Likewise.
* gnu/packages/messaging.scm (libgadu): Likewise.
* gnu/packages/music.scm (denemo): Likewise.
(curseradio): Likewise.
* gnu/packages/netpbm.scm (netpbm): Likewise.
* gnu/packages/networking.scm (blueman): Likewise.
(squid): Likewise.
(aircrack-ng): Likewise.
* gnu/packages/node.scm (node): Likewise.
(node-llparse-frontend-bootstrap): Likewise.
(node-llparse-bootstrap): Likewise.
(llhttp-bootstrap): Likewise.
(node-lts): Likewise.
* gnu/packages/ocaml.scm (ocaml-4.11): Likewise.
(opam): Likewise.
(ocaml-graph): Likewise.
* gnu/packages/orpheus.scm (orpheus): Likewise.
* gnu/packages/password-utils.scm (password-store): Likewise.
* gnu/packages/python.scm (pypy3): Likewise.
* gnu/packages/qt.scm (qt5ct): Likewise.
* gnu/packages/radio.scm (libosmo-dsp): Likewise.
* gnu/packages/ruby.scm (ruby-pandoc-ruby): Likewise.
* gnu/packages/rust.scm (rust-1.30): Likewise.
* gnu/packages/screen.scm (byobu): Likewise.
* gnu/packages/statistics.scm (r-with-tests): Likewise.
* gnu/packages/suckless.scm (surf): Likewise.
* gnu/packages/syndication.scm (gfeeds): Likewise.
* gnu/packages/telephony.scm (mumble): Likewise.
* gnu/packages/terminals.scm (alacritty): Likewise.
* gnu/packages/tex.scm (texlive-bin): Likewise.
* gnu/packages/uml.scm (plantuml): Likewise.
* gnu/packages/version-control.scm (python-git-multimail): Likewise.
(gitolite): Likewise.
(hg-commitsigs): Likewise.
(git-when-merged): Likewise.
(git-imerge): Likewise.
(gita): Likewise.
* gnu/packages/video.scm (you-get): Likewise.
* gnu/packages/vim.scm (eovim): Likewise.
* gnu/packages/virtualization.scm (qemu): Likewise.
(virt-manager): Likewise.
(criu): Likewise.
* gnu/packages/vpn.scm (strongswan): Likewise.
(xl2tpd): Likewise.
* gnu/packages/wm.scm (i3lock-fancy): Likewise.
* gnu/packages/wxwidgets.scm (python-wxpython): Likewise.
(python2-wxpython): Likewise.
* gnu/packages/xdisorg.scm (autorandr): Likewise.
* gnu/packages/xorg.scm (hackneyed-x11-cursors): Likewise.
(v86d): Likewise.
(mkfontdir): Likewise.
(xpra): Likewise.
2021-07-24 16:23:23 +02:00
Christopher Baines
fd549750d9
gnu: grub-efi: Only enable the stack protector on x86_64-linux.
Follow up to 018f950941, as gcc on aarch64-linux
doesn't seem to support -mstack-protector-guard=global.

Fixes <https://bugs.gnu.org/49088>.

* gnu/packages/bootloaders.scm (grub-efi)[arguments]: Only add
"--enable-stack-protector" to #:configure-flags when system is x86_64-linux.
2021-07-02 00:01:14 +01:00
Marius Bakke
c87ebc1b31
gnu: QEMU: Update to 6.0.0.
* gnu/packages/patches/qemu-build-info-manual.patch: Adjust for 6.0.
* gnu/packages/virtualization.scm (qemu): Update to 6.0.0.
[source](snippet): Remove obsolete substitution.
[arguments]: Adjust test substitutions for upstream changes.
* gnu/packages/bootloaders.scm (grub)[source](modules, snippet): New fields.
2021-06-13 15:33:57 +02:00
Tobias Geerinckx-Rice
018f950941
gnu: grub-efi: Enable the stack protector.
* gnu/packages/bootloaders.scm (grub-efi)[arguments]:
Add "--enable-stack-protector" to #:configure-flags.
2021-06-12 20:58:16 +02:00
Tobias Geerinckx-Rice
2d115ea7ed
gnu: grub: Update to 2.06.
[source]: Remove upstreamed patches.
* gnu/packages/patches/grub-setup-root.patch: Update patch.
* gnu/packages/patches/grub-verifiers-Blocklist-fallout-cleanup.patch,
gnu/packages/patches/grub-cross-system-i686.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
2021-06-12 20:58:16 +02:00
Tobias Geerinckx-Rice
402f544c29
gnu: dtc: Update to 1.6.1.
* gnu/packages/bootloaders.scm (dtc): Update to 1.6.1.
2021-06-11 00:37:14 +02:00
Efraim Flashner
df3a60d16f
gnu: Add u-boot-sifive-unmatched.
* gnu/packages/bootloaders.scm (u-boot-sifive-unmatched): New variable.
2021-06-08 11:06:42 +03:00
Efraim Flashner
024187c049
gnu: u-boot-2021.07: Update to 2021.07-rc4.
* gnu/packages/bootloaders.scm (u-boot-2021.07): Update to 2021.07-rc4.
2021-06-08 11:06:37 +03:00
Vagrant Cascadian
eb305784bf
gnu: u-boot-pinebook-pro-rk3399: Update to version 2021.07-rc1.
Version 2021.07-rc1 supports video output on the eDP panel.

* gnu/packages/bootloaders.scm (u-boot-2021.07): New variable.
  (u-boot-pinebook-pro-rk3399)[source, version]: Use u-boot-2021.07.
2021-05-01 14:13:50 -07:00
Vagrant Cascadian
3a851d4557
gnu: u-boot: Patch to fix boot regressions for some platforms.
The previous workaround stopped the preboot phase from loading USB
support, which makes it impossible to use a USB keyboard to select a
generation from the boot menu without using a serial console.

* gnu/packages/patches/u-boot-rockchip-inno-usb.patch: New File.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/bootloaders.scm (%u-boot-rockchip-inno-usb-patch): New variable.
  (u-boot)[source]: Add patch.
  (u-boot-rockpro64-rk3399, u-boot-pinebook-pro-rk3399): Remove obsolete phase.
2021-05-01 14:12:08 -07:00
Vagrant Cascadian
084d3cac2b
gnu: ipxe: Fix grammar.
* gnu/packages/bootloaders.scm (ipxe)[description]: Remove gratuitous
  use of "allows to".
2021-04-21 08:32:49 -07:00
Vagrant Cascadian
98067662f6
gnu: u-boot: Update to 2021.04.
* gnu/packages/bootloaders (u-boot): Update to 2021.04.
  [source]: Use https URL.
2021-04-11 01:00:57 -07:00
Tobias Geerinckx-Rice
6900105334
gnu: os-prober: Update to 1.78.
* gnu/packages/bootloaders.scm (os-prober): Update to 1.78.
2021-03-11 00:46:01 +01:00
Vagrant Cascadian
15990546a5
gnu: u-boot-puma-rk3399: Switch to using arm-trusted-firmware-rk3399.
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399)[native-inputs]:
  Add arm-trusted-firmware-rk3399.
  Remove arm-trusted-firmware-puma-rk3399 and rk3399-cortex-m0.
* gnu/packages/firmware.scm (arm-trusted-firmware-puma-rk3399,
  rk3399-cortex-m0): Remove obsolete variables.
* gnu/bootloader/u-boot.scm (install-puma-rk3399-u-boot): Install
  idbloader.img.
2021-02-08 07:18:41 -08:00
Vagrant Cascadian
0424d1fffd
gnu: u-boot: Update to 2021.01.
* gnu/packages/bootloaders (u-boot): Update to 2021.01.
  (u-boot-pinebook-pro-rk3399): Add patch-pinebook-pro-config phase.
2021-02-08 07:18:35 -08:00
Vincent Legoll
ca34b6f045
gnu: ipxe: Update to 1.21.1.
* gnu/packages/bootloaders.scm (ipxe): Update to 1.21.1.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2021-01-14 01:31:06 +01:00
Vincent Legoll
aeed7218a9
gnu: Add ipxe.
* gnu/packages/bootloaders.scm (ipxe): New variable.
* gnu/packages/patches/ipxe-reproducible-geniso.patch: New file …
* gnu/local.mk (dist_patch_DATA): … add it.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
Co-authored-by: Brice Waegeneire <brice@waegenei.re>
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2021-01-14 01:17:04 +01:00
Caliph Nomble
219612904c
gnu: u-boot-rockpro64-rk3399: Fix freeze on boot.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases>
[patch-rockpro64-config]: Build with modified config to prevent freeze on boot
due to usb being enabled.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-29 13:28:16 +01:00
Danny Milosavljevic
7d440cdbfd
Revert "gnu: u-boot: Fix freeze on boot with u-boot-rockpro64-rk3399."
because it was applied to the wrong u-boot.

This reverts commit d980e6e275.
2020-12-29 13:25:47 +01:00
Caliph Nomble via Guix-patches via
d980e6e275
gnu: u-boot: Fix freeze on boot with u-boot-rockpro64-rk3399.
* gnu/packages/bootloaders.scm (u-boot-rockpro64-rk3399)[arguments]<#:phases>
[patch-rockpro64-config]: Build with modified config to prevent freeze on boot
due to usb being enabled.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-12-28 19:36:38 +01:00
Marius Bakke
4ed96d6831
gnu: dtc: Update to 1.6.0.
* gnu/packages/bootloaders.scm (dtc): Update to 1.6.0.
2020-12-20 16:30:42 +01:00
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
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
nee
ab100b905f
gnu: grub: Add dependency on console-setup.
* gnu/packages/bootloaders.scm (grub)[arguments]: In 'patch-stuff'
phase, patch 'grub-kbdcomp.in'.
[inputs]: Add CONSOLE-SETUP.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-01-16 14:07:38 +01:00
Kei Kebreau
b634b5c253
gnu: vboot-utils: Fix building on armhf-linux.
* gnu/packages/bootloaders.scm (vboot-utils)[source]: Add patches.
[arguments]: Conditionally add "HOST_ARCH=arm" to #:make-flags.
* gnu/packages/patches/vboot-utils-fix-format-load-address.patch,
gnu/packages/patches/vboot-utils-fix-tests-show-contents.patch,
gnu/packages/patches/vboot-utils-skip-test-workbuf.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
2019-01-03 15:40:27 -05:00
Efraim Flashner
8d3f604d94
gnu: syslinux: Limit the architectures supported.
* gnu/packages/bootloaders.scm (syslinux)[supported-systems}: New field.
2018-12-09 15:43:43 +02:00
Marius Bakke
4d8f4a3f00
Merge branch 'master' into core-updates 2018-11-24 01:58:18 +01:00
Vagrant Cascadian
74e35e8c94
gnu: Add u-boot-pinebook.
* gnu/packages/patches/u-boot-pinebook-a64-update-dts.patch: New file.
* gnu/packages/patches/u-boot-pinebook-syscon-node.patch: New file.
* gnu/packages/patches/u-boot-pinebook-mmc-calibration.patch: New file.
* gnu/packages/patches/u-boot-pinebook-video-bridge.patch: New file.
* gnu/packages/patches/u-boot-pinebook-r_i2c-controller.patch: New file.
* gnu/packages/patches/u-boot-pinebook-dts.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/bootloaders.scm (u-boot-pinebook): New exported variable.
* gnu/bootloader/u-boot.scm (u-boot-pinebook-bootloader): New exported
variable.
* gnu/system/install.scm (pinebook-installation-os): New exported variable.
2018-11-22 21:59:05 +01:00
Efraim Flashner
9cf4ff199c
Merge remote-tracking branch 'origin/master' into core-updates 2018-11-21 19:41:43 +02:00
Vagrant Cascadian
0da3526d58
gnu: u-boot-pine64-plus: Refactor package definition.
* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): New procedure.
(u-boot-pine64-plus): Use it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-11-20 23:39:41 +01:00
Vagrant Cascadian
95d9198606
gnu: arm-trusted-firmware-pine64-plus: Rename variable to arm-trusted-firmware-sun50i-a64.
* gnu/packages/firmware (arm-trusted-firmware-pine64-plus): Rename to...
(arm-trusted-firmware-sun50i-a64): ...this.
* gnu/packages/bootloaders (u-boot-pine64-plus)[native-inputs]: Use it.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-11-20 23:34:31 +01:00
Marius Bakke
4f70db97a0
Merge branch 'master' into core-updates 2018-11-20 01:14:12 +01:00
Vagrant Cascadian
0c7707d53e
gnu: u-boot: Update to 2018.11.
* gnu/packages/bootloaders.scm (u-boot): Update to 2018.11.
(u-boot)[native-inputs]: Add lz4.
2018-11-17 00:16:29 +01:00
Marius Bakke
d02bb02f7d
Merge branch 'master' into core-updates 2018-10-17 20:47:11 +02:00
Vagrant Cascadian
e1d1ec1435
gnu: u-boot: Update to 2018.09.
* gnu/packages/bootloaders.scm (u-boot): Update to 2018.09.
(u-boot-tools)[arguments]: Substitute "coverage" for "python-coverage". Update
workaround for only 99% test coverage.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-10-11 17:28:53 -04:00
Marius Bakke
2817ac3c18
Merge branch 'master' into core-updates 2018-09-20 13:37:58 +02:00
Tobias Geerinckx-Rice
3e63a83c0f
gnu: u-boot: Use HTTPS home page.
* gnu/packages/bootloaders.scm (u-boot)[home-page]: Use HTTPS.
2018-09-20 04:50:34 +02:00
Danny Milosavljevic
e830c9d0b0
gnu: Rename "banana-pi" to "bananapi".
* gnu/bootloader/u-boot.scm (u-boot-banana-pi-m2-ultra-bootloader): Rename
to...
(u-boot-bananapi-m2-ultra-bootloader): ...this.
* gnu/packages/bootloaders.scm (u-boot-banana-pi-m2-ultra): Rename to...
(u-boot-bananapi-m2-ultra): ...this.
* gnu/system/install.scm (banana-pi-m2-ultra-installation-os): Rename to...
(bananapi-m2-ultra-installation-os): ...this.
2018-09-14 21:31:24 +02:00
Leo Famulari
d763940711
Merge branch 'master' into core-updates 2018-09-13 13:32:39 -04:00
Tobias Geerinckx-Rice
0f304ba73e
gnu: syslinux: Use HTTPS home page.
* gnu/packages/bootloaders.scm (syslinux)[home-page]: Use HTTPS.
2018-09-12 16:09:38 +02:00
Tobias Geerinckx-Rice
60d8db74c6
gnu: syslinux: Use INVOKE.
* gnu/packages/bootloaders.scm (syslinux)[arguments]: Substitute INVOKE
for SYSTEM*.
2018-09-12 16:09:38 +02:00
Marius Bakke
d9362003b6
gnu: GRUB: Adjust to recent binutils changes.
* gnu/packages/patches/grub-binutils-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[source](patches): Add it.
2018-08-28 01:23:12 +02:00
Marius Bakke
526ce41930
gnu: GRUB: Check for errors from efibootmgr.
* gnu/packages/patches/grub-check-error-efibootmgr.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[source](patches): New field.
2018-08-28 01:19:28 +02:00
Vagrant Cascadian
5d706f1898
gnu: dtc: Update to 1.4.7.
* gnu/packages/bootloaders.scm (dtc): Update to 1.4.7.
[native-inputs]: Add valgrind.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-08-16 18:47:58 -04:00
Efraim Flashner
3729767418
gnu: make-u-boot-package: Add missing module.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Add
missing 'srfi srfi-1' module.
2018-07-29 20:49:42 +03:00
Danny Milosavljevic
a9446dde2b
gnu: make-u-boot-package: Don't install "sunxi-spl-with-ecc.bin".
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
[install]: Don't install "sunxi-spl-with-ecc.bin".
2018-07-26 15:54:52 +02:00
Julien Lepiller
a7d5ce94ba
gnu: Add u-boot-cubietruck.
* gnu/packages/bootloaders.scm (u-boot-cubietruck): New variable.
2018-07-22 09:52:15 +02:00
Danny Milosavljevic
9e84a4d6a5
gnu: u-boot-tools: Simplify build.
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Modify.
2018-07-11 22:23:26 +02:00
Danny Milosavljevic
10186ee2d3
gnu: u-boot-tools: Install "sunxi-spl-image-builder".
* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Build sunxi-spl-image-builder.
(u-boot-tools)[arguments]<#:phases>[install]: Install sunxi-spl-image-builder.
2018-07-11 22:23:22 +02:00
Danny Milosavljevic
d1af9a8c22
gnu: make-u-boot-package: Return #t from "install" phase.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]<#:phases>
[install]: Return #t.
2018-07-11 22:23:04 +02:00
Vagrant Cascadian
336c4a4baa
gnu: u-boot: Update to 2018.07.
--=-=-=
Content-Type: text/plain

The attached patch updates u-boot to 2018.07, which required adding
native-inputs of "bison" and "flex".

live well,
  vagrant

From 74a9561ac07592a5ae15b723d0f2ac7fc05c463c Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Tue, 10 Jul 2018 00:12:05 +0000
Subject: [PATCH] gnu: u-boot: Update to 2018.07.

* gnu/packages/bootloaders.scm (u-boot): Update to 2018.07.
  (u-boot)[native-inputs]: Add "bison" and "flex".
2018-07-10 15:10:32 +02:00
Danny Milosavljevic
bdd235b30b
gnu: make-u-boot-package: Improve error handling.
* gnu/packages/bootloaders.scm (make-u-boot-package): Improve error handling.
2018-06-22 23:40:54 +02:00
Mark H Weaver
a7c8716928
gnu: grub: Fix build on i686.
Fixes <https://bugs.gnu.org/31380>.

* gnu/packages/bootloaders.scm (grub)[native-inputs]: Add "ld-wrapper"
and "binutils".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-06-15 16:41:52 +02:00
Danny Milosavljevic
4ce4fc5010
system: Add os-with-u-boot.
* gnu/system/install.scm (os-with-u-boot): New procedure.
* gnu/packages/bootloaders.scm (make-u-boot-package): Export.
* doc/guix.texi (Building the Installation Image for ARM Boards): New
subsection.
2018-06-15 14:16:37 +02:00
Vagrant Cascadian
6fe1657705
system: Add u-boot-puma-rk3399.
* gnu/packages/bootloaders.scm (u-boot-puma-rk3399): New variable.
(make-u-boot-package)[arguments]: Add '.rksd' files to the files installed
during custom 'install phase.
* gnu/bootloader/u-boot.scm (u-boot-puma-rk3399-bootloader):
New exported variable.
* gnu/system/install.scm (rk3399-puma-installation-os):
New exported variable.
* gnu/packages/firmware.scm (arm-trusted-firmware-puma-rk3399): New variable.
(rk3399-cortex-m0): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-05-29 10:46:13 +02:00
Danny Milosavljevic
ee3c8fbee2
gnu: make-u-boot-package: Sort printed configurations case-insensitively.
* gnu/packages/bootloaders.scm (make-u-boot-package): Sort printed
configurations case-insensitively.
2018-05-29 00:37:10 +02:00
Danny Milosavljevic
65212c42cd
gnu: u-boot-tools: Enable tests.
* gnu/packages/bootloaders.scm (u-boot-tools)[native-inputs]: Add openssl,
python2-coverage, python2-pytest, sdl.
[arguments]<#:make-flags>: Remove NO_SDL.
[arguments]<#:test-target>: Change to "tests".
[arguments]<#:phases>[patch]: New phase.
[arguments]<#:phases>[check]: Replace and move.
2018-05-28 23:52:07 +02:00
Danny Milosavljevic
2676628ffb
gnu: Add u-boot-tools.
* gnu/packages/bootloaders.scm (u-boot-tools): New variable.
2018-05-18 02:55:55 +02:00
Danny Milosavljevic
0fcfed3950
gnu: make-u-boot-package: Install "u-boot".
* gnu/packages/bootloaders.scm (make-u-boot-package): Install "u-boot".
2018-05-12 22:38:58 +02:00
Danny Milosavljevic
dd4fe0c288
gnu: Add u-boot-cubieboard.
* gnu/packages/bootloaders.scm (u-boot-cubieboard): New variable.
2018-05-12 22:38:58 +02:00
Danny Milosavljevic
78ad8db682
gnu: u-boot-versatilepb: Remove package.
* gnu/packages/bootloaders.scm (u-boot-versatilepb): Delete variable.
2018-05-12 11:11:25 +02:00
Danny Milosavljevic
35e427d154
gnu: u-boot-pine64-plus: Use bundled dtc.
* gnu/packages/bootloaders.scm (u-boot-pine64-plus)[arguments]<#:phases>
[set-environment]: Use bundled dtc.
2018-05-12 11:09:42 +02:00
Danny Milosavljevic
ac30d18c0b
gnu: make-u-boot-package: Print errors to (current-error-port).
* gnu/packages/bootloaders.scm (make-u-boot-package): Print errors to
(current-error-port).
2018-05-12 10:56:25 +02:00
Danny Milosavljevic
30ef146c99
gnu: make-u-boot-package: Sort printed configurations.
* gnu/packages/bootloaders.scm (make-u-boot-package): Sort printed
configurations.
2018-05-12 10:54:19 +02:00
Danny Milosavljevic
53e290df57
gnu: u-boot: Add our dtc.
* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Add dtc.
2018-05-12 10:38:51 +02:00
Vagrant Cascadian
3bdb24826e
gnu: u-boot: Update to 2018.05.
* gnu/packages/bootloaders.scm (u-boot): Update to 2018.05.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2018-05-12 10:38:51 +02:00
Vagrant Cascadian
1b960787e2
system: Add u-boot-novena installer.
* gnu/packages/bootloaders.scm (u-boot-novena):
  New variable.
* gnu/bootloader/u-boot.scm (u-boot-novena-bootloader):
  New exported variable.
* gnu/system/install.scm (novena-installation-os):
  New exported variable.
2018-05-11 12:25:43 +02:00
Vagrant Cascadian
adc61d7244
gnu: Add u-boot-mx6cuboxi.
* gnu/packages/bootloaders.scm (u-boot-mx6cuboxi): New variable.
2018-04-29 19:03:05 +02:00
Vagrant Cascadian
95a3422ef1
gnu: Add u-boot-wandboard.
* gnu/packages/bootloaders.scm (u-boot-wandboard): New variable.
2018-04-29 19:03:05 +02:00
Vagrant Cascadian
fd0b21d5f6
gnu: make-u-boot-package: Install 'SPL' files also.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Add 'SPL'
files to the files installed during custom 'install phase.
2018-04-29 19:03:03 +02:00
Rutger Helling
27b52c1f6a
gnu: qemu: Build with Python 3 and SDL2 support.
* gnu/packages/bootloaders.scm (qemu-minimal-2.10): Remove variable.
* gnu/packages/virtualization.scm (qemu)[inputs]: Use sdl2 instead of sdl.
[native-inputs]: Use python-wrapper instead of python@2.
* gnu/packages/virtualization.scm (qemu-minimal)[inputs]: Remove sdl2 instead of
sdl from inherited packages.
* gnu/packages/virtualization.scm (qemu-minimal-2.10): Add variable.
[native-inputs]: Remove python-wrapper from inherited packages and use python@2
instead.
* gnu/packages/debug.scm (american-fuzzy-lop): Inherit from moved hidden-package
qemu-minimal-2.10.
2018-04-26 12:45:57 +02:00
Efraim Flashner
2bb915e679
gnu: u-boot-odroid-c2: Remove variable.
U-boot for this target requires a binary blob to boot correctly.

* gnu/packages/bootloaders.scm (u-boot-odroid-c2): Remove variable.
2018-04-19 21:42:12 +03:00
Efraim Flashner
29be6cfb20
gnu: Add u-boot-pine64-plus.
* gnu/packages/bootloaders.scm (u-boot-pine64-plus): New variable.
2018-03-24 22:15:12 +03:00
Efraim Flashner
9a1c4a6cb8
gnu: make-u-boot-package: Install 'itb' and 'dtb' files also.
* gnu/packages/bootloaders.scm (make-u-boot-package)[arguments]: Add
'itb' and 'dtb' files to the files installed during custom 'install phase.
2018-03-24 22:15:11 +03:00
Tobias Geerinckx-Rice
c695fb769c
gnu: Fix common unquote typos.
It's easy to mistype ‘("foo" foo)’ as ‘("foo", foo)’ (which also works).
Fix such typos for the proper edification of our young.

* gnu/packages/android.scm: Move unquotes to their operands.
* gnu/packages/bootloaders.scm: Likewise.
* gnu/packages/build-tools.scm: Likewise.
* gnu/packages/chemistry.scm: Likewise.
* gnu/packages/compression.scm: Likewise.
* gnu/packages/connman.scm: Likewise.
* gnu/packages/django.scm: Likewise.
* gnu/packages/emulators.scm: Likewise.
* gnu/packages/engineering.scm: Likewise.
* gnu/packages/file-systems.scm: Likewise.
* gnu/packages/freedesktop.scm: Likewise.
* gnu/packages/games.scm: Likewise.
* gnu/packages/gimp.scm: Likewise.
* gnu/packages/gl.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/graphics.scm: Likewise.
* gnu/packages/haskell.scm: Likewise.
* gnu/packages/irc.scm: Likewise.
* gnu/packages/julia.scm: Likewise.
* gnu/packages/kde-frameworks.scm: Likewise.
* gnu/packages/linux.scm: Likewise.
* gnu/packages/lua.scm: Likewise.
* gnu/packages/mail.scm: Likewise.
* gnu/packages/make-bootstrap.scm: Likewise.
* gnu/packages/messaging.scm: Likewise.
* gnu/packages/music.scm: Likewise.
* gnu/packages/networking.scm: Likewise.
* gnu/packages/ocaml.scm: Likewise.
* gnu/packages/perl.scm: Likewise.
* gnu/packages/python.scm: Likewise.
* gnu/packages/python-web.scm: Likewise.
* gnu/packages/qt.scm: Likewise.
* gnu/packages/ratpoison.scm: Likewise.
* gnu/packages/sdl.scm: Likewise.
* gnu/packages/sml.scm: Likewise.
* gnu/packages/terminals.scm: Likewise.
* gnu/packages/text-editors.scm: Likewise.
* gnu/packages/video.scm: Likewise.
* gnu/packages/virtualization.scm: Likewise.
* gnu/packages/vulkan.scm: Likewise.
* gnu/packages/wget.scm: Likewise.
* gnu/packages/wine.scm: Likewise.
* gnu/packages/wm.scm: Likewise.
* gnu/packages/xdisorg.scm: Likewise.
* gnu/packages/xml.scm: Likewise.
* gnu/packages/xorg.scm: Likewise.
2018-03-17 16:37:27 +01:00
Efraim Flashner
5c213d1bee
gnu: american-fuzzy-lop: Change custom qemu input.
* gnu/packages/debug.scm (american-fuzzy-lop)[inputs]: Custom-qemu now
inherits from private qemu-minimal-2.10.
* gnu/packages/bootloaders.scm (qemu-minimal-2.10): Add note to move
variable to gnu/packages/debug.scm when no longer needed in
bootloaders.scm.
2018-02-22 22:15:21 +02:00
Marius Bakke
d64bcccf43
gnu: grub: Run tests against Qemu 2.10.
* gnu/packages/bootloaders.scm (qemu-minimal-2.10): New variable.
(grub)[native-inputs]: Replace QEMU-MINIMAL with QEMU-MINIMAL-2.10.
2018-02-20 18:23:14 +01:00
Mark H Weaver
932c98326d
Merge branch 'master' into core-updates 2018-02-14 03:40:08 -05:00
Danny Milosavljevic
a32f9b59ab
system: make-u-boot-package: Install configuration file.
* gnu/packages/bootloaders.scm (make-u-boot-package): Install configuration
file.
2018-02-13 23:23:25 +01:00
Mark H Weaver
e7ca634912
Merge branch 'master' into core-updates 2018-02-03 22:46:07 -05:00
Efraim Flashner
9b94ced45c
gnu: u-boot: Remove surplus flag in 'install phase.
* gnu/packages/bootloaders.scm (u-boot)[arguments]: Remove 'make-flags
key from custom 'install phase.
2018-02-02 12:18:22 +02:00
Marius Bakke
bee7bb315c
Merge branch 'master' into core-updates 2018-02-01 13:18:47 +01:00
Mark H Weaver
0a2a70539b
gnu: grub: Add pkg-config to native-inputs.
* gnu/packages/bootloaders.scm (grub)[native-inputs]: Add pkg-config.
2018-01-29 06:46:46 -05:00
Efraim Flashner
a1f531273c
gnu: u-boot: Use newer GCC even during native compiles.
* gnu/packages/bootloaders.scm (u-boot)[native-inputs]: Add gcc-7 even
when not cross-compiling.
2018-01-28 22:37:20 +02:00
Danny Milosavljevic
c55c698594
system: Add A20 OLinuXino LIME installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-lime-bootloader):
New exported variable.
* gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-lime):
New exported variable.
* gnu/system/install.scm (a20-olinuxino-lime-installation-os):
New exported variable.
2018-01-22 22:53:08 +01:00
Danny Milosavljevic
84ee33787e
system: Add Nintendo NES Classic Edition installer.
* gnu/bootloader/u-boot.scm (u-boot-nintendo-nes-classic-edition-bootloader):
New exported variable.
* gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition):
New exported variable.
* gnu/system/install.scm (nintendo-nes-classic-edition-installation-os):
New exported variable.
2018-01-20 22:50:56 +01:00
Danny Milosavljevic
df8a909660
system: make-u-boot-package: Replace underscores by dashes in package name.
* gnu/packages/bootloaders.scm (make-u-boot-package): Replace underscores by
dashes in package name.
2018-01-20 22:50:56 +01:00
Danny Milosavljevic
a7bb327e3c
system: Add A20 OLinuXino MICRO installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-micro-bootloader): New
exported variable.
* gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-micro): New exported
variable.
* gnu/system/install.scm (a20-olinuxino-micro-installation-os): New exported
variable.
2018-01-20 22:50:55 +01:00
Danny Milosavljevic
4b9e9abb36
system: Add A20 OLinuXino LIME2 installer.
* gnu/bootloader/u-boot.scm (u-boot-a20-olinuxino-lime2-bootloader): New
exported variable.
* gnu/packages/bootloaders.scm (u-boot-a20-olinuxino-lime2): New exported
variable.
* gnu/system/install.scm (a20-olinuxino-lime2-emmc-installation-os): New exported
variable.
2018-01-20 22:50:55 +01:00
Danny Milosavljevic
f074f5e88c
gnu: u-boot: Update to 2018.01.
* gnu/packages/bootloaders.scm (define-module): Import (gnu packages gcc).
(u-boot): Update to 2018.01.
[native-inputs]: Add swig.  Remove dtc.
(make-u-boot-package): Use gcc-7.
2018-01-20 20:33:10 +01:00
Danny Milosavljevic
30aeb846d7
system: Add Banana Pi M2 Ultra installer.
* gnu/bootloader/u-boot.scm (u-boot-banana-pi-m2-ultra-bootloader): New
exported variable.
(install-allwinner-u-boot): New variable.
(u-boot-allwinner-bootloader): New variable.
* gnu/packages/bootloaders.scm (u-boot-banana-pi-m2-ultra): New exported
variable.
* gnu/system/install.scm (banana-pi-m2-ultra-installation-os): New exported
variable.
2018-01-20 20:33:10 +01:00