mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
docker-compose: fix installation location for multilib
In case of multilib, the location is /usr/lib64/docker/cli-plugins, which cannot be recognized by docker. We should use nonarch_libdir instead. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
ae22af84a0
commit
03085cfb54
|
@ -70,14 +70,14 @@ do_install() {
|
||||||
#install -m 755 "${S}/src/import/bin/docker-compose" "${D}${BIN_PREFIX}/bin"
|
#install -m 755 "${S}/src/import/bin/docker-compose" "${D}${BIN_PREFIX}/bin"
|
||||||
|
|
||||||
# commonly installed to: /usr/lib/docker/cli-plugins/
|
# commonly installed to: /usr/lib/docker/cli-plugins/
|
||||||
install -d "${D}${libdir}/docker/cli-plugins/"
|
install -d "${D}${nonarch_libdir}/docker/cli-plugins/"
|
||||||
install -m 755 "${S}/src/import/bin/docker-compose" "${D}${libdir}/docker/cli-plugins/"
|
install -m 755 "${S}/src/import/bin/docker-compose" "${D}${nonarch_libdir}/docker/cli-plugins/"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS:${PN} += " docker"
|
RDEPENDS:${PN} += " docker"
|
||||||
|
|
||||||
FILES:${PN} += " ${libdir}/docker/cli-plugins/"
|
FILES:${PN} += " ${nonarch_libdir}/docker/cli-plugins/"
|
||||||
|
|
||||||
INHIBIT_PACKAGE_STRIP = "1"
|
INHIBIT_PACKAGE_STRIP = "1"
|
||||||
INSANE_SKIP:${PN} += "ldflags already-stripped"
|
INSANE_SKIP:${PN} += "ldflags already-stripped"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user