summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-12-19 14:11:51 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-20 12:47:19 +0000
commit6968e17ae5992fd7948098e5d5221a3e106e3452 (patch)
tree88561be0cda2833b1f981caf038a59599d0df04d
parentc438450bea8e6a9353efa7137b78fa578100cd51 (diff)
downloadpoky-6968e17ae5992fd7948098e5d5221a3e106e3452.tar.gz
expect: cleanup do_install
Clean up the do_install append, and remove a long-standing unused variable that appears to be intending to not install the scripts but would have never actually done that as the relevant override since 2008 has been task-install. As we've been installing the scripts, keep instaling them. (From OE-Core rev: 3171dd16ec1a4a7461d29107b8c4bd29ff9acf42) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb9
1 files changed, 3 insertions, 6 deletions
diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
index 3886a5771a..93ecc3f0d6 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -42,11 +42,9 @@ S = "${WORKDIR}/${BPN}${PV}"
42EXTRA_AUTORECONF += "--exclude=aclocal" 42EXTRA_AUTORECONF += "--exclude=aclocal"
43 43
44do_install:append() { 44do_install:append() {
45 install -d ${D}${libdir} 45 mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/
46 install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ 46 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/
47 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ 47 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
48 rm ${D}${libdir}/expect${PV}/libexpect*.so
49 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl
50} 48}
51 49
52do_install_ptest() { 50do_install_ptest() {
@@ -65,7 +63,6 @@ EXTRA_OECONF += "--with-tcl=${STAGING_LIBDIR} \
65 --disable-rpath \ 63 --disable-rpath \
66 ${TCL_INCLUDE_PATH} \ 64 ${TCL_INCLUDE_PATH} \
67 " 65 "
68EXTRA_OEMAKE_install = " 'SCRIPTS=' "
69 66
70ALTERNATIVE:${PN} = "mkpasswd" 67ALTERNATIVE:${PN} = "mkpasswd"
71ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd" 68ALTERNATIVE_LINK_NAME[mkpasswd] = "${bindir}/mkpasswd"