summaryrefslogtreecommitdiffstats
path: root/recipes-containers/criu/criu_git.bb
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2022-05-25 20:55:19 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-06-07 10:00:37 -0400
commit2e787b9d75c6fd8efb964b24c6849c3f2dbbd3b6 (patch)
tree7100b8a9621c7154f6df024c32ceeced8c95db70 /recipes-containers/criu/criu_git.bb
parent14427646ae4b4207808274a5e2d285a5760ee9b3 (diff)
downloadmeta-virtualization-2e787b9d75c6fd8efb964b24c6849c3f2dbbd3b6.tar.gz
criu: fix QA issue about shebang too long
There's a QA issue about criu complaining the shebang of crit script is too long. We should replace it with '#!/usr/bin/env python3'. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/criu/criu_git.bb')
-rw-r--r--recipes-containers/criu/criu_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb
index 4b616ccf..77a12abf 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -81,7 +81,7 @@ do_install () {
81 # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the 81 # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the
82 # setup call should fix it, but it is being ignored. So to avoid getting our native 82 # setup call should fix it, but it is being ignored. So to avoid getting our native
83 # intepreter replaced in the script, we'll do an explicit update ourselves. 83 # intepreter replaced in the script, we'll do an explicit update ourselves.
84 sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit 84 sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%' ${D}/usr/bin/crit ${D}${libdir}/python3*/site-packages/crit-0.0.1-py3*.egg/EGG-INFO/scripts/crit
85} 85}
86 86
87FILES:${PN} += "${systemd_unitdir}/ \ 87FILES:${PN} += "${systemd_unitdir}/ \