mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
skopeo: fix native skopeo failed if no libdevmapper.so.1.02 on host
If host does not install libdevmapper.so.1.02, run native skopeo failed: ... $ tmp-glibc/sysroots/x86_64/usr/sbin/skopeo -h |tmp-glibc/sysroots/x86_64/usr/sbin/skopeo.real: error while loading shared libraries: libdevmapper.so.1.02: cannot open shared object file: No such file or directory ... Create wrapper to set LD_LIBRARY_PATH which using native libdevmapper.so.1.02 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
6459b6544b
commit
c1bd680e12
|
@ -84,6 +84,9 @@ do_install() {
|
||||||
do_install_append_class-native() {
|
do_install_append_class-native() {
|
||||||
create_cmdline_wrapper ${D}/${sbindir}/skopeo \
|
create_cmdline_wrapper ${D}/${sbindir}/skopeo \
|
||||||
--policy ${sysconfdir}/containers/policy.json
|
--policy ${sysconfdir}/containers/policy.json
|
||||||
|
|
||||||
|
create_wrapper ${D}/${sbindir}/skopeo.real \
|
||||||
|
LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_class-nativesdk() {
|
do_install_append_class-nativesdk() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user