me
/
guix
Archived
1
0
Fork 0

gnu: openbios-qemu-ppc: Fix building on aarch64-linux.

* gnu/packages/firmware.scm (openbios-qemu-ppc)[arguments]: When
building from aarch64-linux build for armhf-linux.
master
Efraim Flashner 2023-02-07 13:30:02 +02:00
parent 99c1c7a30c
commit 6598e4c56b
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2017 David Craven <david@craven.ch>
;;; Copyright © 2017, 2018, 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
@ -414,6 +414,11 @@ provide OpenFirmware functionality on top of an already running system.")
(inherit base)
(arguments
(substitute-keyword-arguments (package-arguments base)
((#:system system (%current-system))
(if (string-prefix? "aarch64-linux" (or (%current-system)
(%current-target-system)))
"armhf-linux"
system))
((#:phases phases)
#~(modify-phases #$phases
(add-after 'install 'rename-executable