]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
expect: Replace tclsh with tclsh8 in the scripts used in the Expect
authorJiaying Song <jiaying.song.cn@windriver.com>
Thu, 26 Dec 2024 08:14:51 +0000 (16:14 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Dec 2024 10:56:58 +0000 (10:56 +0000)
commit77c193690fa965fb350aa9c14fb3d20cee97e30c
tree88863142745646e3cde39625fa64ad36fe800be0
parenta2d54fa0c5ade523edf6be9105c6e943824988fa
expect: Replace tclsh with tclsh8 in the scripts used in the Expect

Before upgrading to Tcl 9.0.0, running `tclsh` worked successfully, and
the recipe configuration was as follows: ln -sf ./tclsh${VER}
${D}${bindir}/tclsh

After upgrading to Tcl 9.0.0, to ensure compatibility with Expect, Tcl
8.6.15 was additionally included. To distinguish between the two
versions, the configuration was set as: ln -sf ./tclsh${VER}
${D}${bindir}/tclsh8

Therefore, the input needs to be `tclsh8` to work properly, which means
the `tclsh` references in the Expect-related scripts need to be changed
to `tclsh8`.

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-devtools/expect/expect/0001-Replace-tclsh-with-tclsh8-in-the-scripts-used-in-the.patch [new file with mode: 0644]
meta/recipes-devtools/expect/expect_5.45.4.bb