[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40083] [PATCH] gnu: Add blktrace.
From: |
Ludovic Courtès |
Subject: |
[bug#40083] [PATCH] gnu: Add blktrace. |
Date: |
Thu, 19 Mar 2020 15:04:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi!
Vincent Legoll <address@hidden> skribis:
> Dunno what to do about the packaged .py scripts, Should I patch the
> shebang ? ("#! /usr/bin/env python") after adding python to inputs ?
Just do something like this:
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d19c20d056..0822748968 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4036,7 +4036,8 @@ applications.")
#:phases
(modify-phases %standard-phases (delete 'configure)))) ; no configure
script
(inputs
- `(("libaio" ,libaio)))
+ `(("libaio" ,libaio)
+ ("python" ,python-wrapper))) ;for 'bno_plot.py'
(synopsis "Block layer IO tracing mechanism")
(description "Blktrace is a block layer IO tracing mechanism which
provides
detailed information about request queue operations to user space. It extracts
and the .py files will be automatically patched.
However, ‘bno_plot.py’ refers to /bin/rm and gnuplot, and these
references should probably be replaced with absolute file names.
Could you take a look and send an updated patch?
Thanks,
Ludo’.
- [bug#40083] [PATCH] gnu: Add blktrace., Vincent Legoll, 2020/03/15
- [bug#40083] [PATCH] gnu: Add blktrace., Vincent Legoll, 2020/03/15
- [bug#40083] [PATCH] gnu: Add blktrace., Vincent Legoll, 2020/03/15
- [bug#40083] [PATCH] gnu: Add blktrace.,
Ludovic Courtès <=
- [bug#40083] [PATCH] gnu: Add blktrace., Vincent Legoll, 2020/03/19
- [bug#40083] [PATCH] gnu: Add blktrace., Marius Bakke, 2020/03/19
- [bug#40083] [PATCH] gnu: Add blktrace., Vincent Legoll, 2020/03/19
- [bug#40083] [PATCH] gnu: Add blktrace., Vincent Legoll, 2020/03/19
- bug#40083: [PATCH] gnu: Add blktrace., Marius Bakke, 2020/03/20
[bug#40083] cleanups submitted upstream, Vincent Legoll, 2020/03/20