* [meta-virtualization][PATCH] criu: fix QA issue about shebang too long
@ 2022-05-26 3:55 Chen Qi
2022-06-07 14:01 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Chen Qi @ 2022-05-26 3:55 UTC (permalink / raw)
To: meta-virtualization
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>
---
recipes-containers/criu/criu_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 () {
# scripts. 'crit' is one of those scripts. The "executable" or "e" option to the
# setup call should fix it, but it is being ignored. So to avoid getting our native
# intepreter replaced in the script, we'll do an explicit update ourselves.
- sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit
+ 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
}
FILES:${PN} += "${systemd_unitdir}/ \
--
2.36.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization][PATCH] criu: fix QA issue about shebang too long
2022-05-26 3:55 [meta-virtualization][PATCH] criu: fix QA issue about shebang too long Chen Qi
@ 2022-06-07 14:01 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2022-06-07 14:01 UTC (permalink / raw)
To: Chen Qi; +Cc: meta-virtualization
merged (to master and kirkstone)
Bruce
In message: [meta-virtualization][PATCH] criu: fix QA issue about shebang too long
on 25/05/2022 Chen Qi wrote:
> 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>
> ---
> recipes-containers/criu/criu_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 () {
> # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the
> # setup call should fix it, but it is being ignored. So to avoid getting our native
> # intepreter replaced in the script, we'll do an explicit update ourselves.
> - sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit
> + 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
> }
>
> FILES:${PN} += "${systemd_unitdir}/ \
> --
> 2.36.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#7325): https://lists.yoctoproject.org/g/meta-virtualization/message/7325
> Mute This Topic: https://lists.yoctoproject.org/mt/91348088/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-07 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26 3:55 [meta-virtualization][PATCH] criu: fix QA issue about shebang too long Chen Qi
2022-06-07 14:01 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.