]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kernel-devsrc: fix incorrect python shebang replacement
authorJiaying Song <jiaying.song.cn@windriver.com>
Tue, 28 Oct 2025 10:18:07 +0000 (18:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Oct 2025 11:06:22 +0000 (11:06 +0000)
commitc548259dbf55f2194088e62ad018560286834e49
tree695adcb0884ad972f4d31169a5db7fff4eee127c
parentb1870e588958fa6957278a6c253a70fa30485764
kernel-devsrc: fix incorrect python shebang replacement

Update the sed replacement rule to strictly match '/usr/bin/python'
(with no trailing characters)

The previous sed rule was too broad and could incorrectly change Python
shebangs such as in
/lib/modules/6.16.11-yocto-standard/build/scripts/macro_checker.py from
'#!/usr/bin/python3' to '#!/usr/bin/env python33'.

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/linux/kernel-devsrc.bb