aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bootloaders.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-09 12:22:14 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2023-09-09 12:22:14 +0200
commit94ca5b4357af8f8921f0cb0873a7cf316f13aa69 (patch)
tree6ef30120737f26f298f7f17d86597b0b729517e0 /gnu/packages/bootloaders.scm
parent6750c114e3e988249f4069d0180316c6d0192350 (diff)
parentdb61bdd7f52270a35bd0a3a88650d98276dab20b (diff)
downloadguix-94ca5b4357af8f8921f0cb0873a7cf316f13aa69.tar.gz
guix-94ca5b4357af8f8921f0cb0873a7cf316f13aa69.zip
Merge branch 'master' into emacs-team
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r--gnu/packages/bootloaders.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 069d02b52c..1c47636341 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -881,7 +881,17 @@ commands part of the U-Boot project, such as Patman.")))
(delete 'sanity-check)
(add-after 'unpack 'chdir
(lambda _
- (chdir "tools/patman"))))))
+ (chdir "tools/patman")))
+ (add-after 'chdir 'patch-pyproject.toml
+ ;; There is no 'run_patman' procedure in the __main__.py script,
+ ;; which breaks execution
+ ;; Patch submitted upstream (see:
+ ;; https://patchwork.ozlabs.org/project/uboot/\
+ ;; patch/20230901050532.725-1-maxim.cournoyer@gmail.com/).
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("patman.__main__:run_patman")
+ "patman.__main__")))))))
(inputs (list python-pygit2 python-requests python-u-boot-pylib))
(synopsis "Patch automation tool")
(description "Patman is a patch automation script which: