mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-05 05:15:25 +02:00
openvswitch: Fix INSTALL_MOD_PATH
If the usrmerge DISTRO_FEATURE is enabled, modules should be installed under /usr/lib instead of /lib. We can handle this by using ${root_prefix} in INSTALL_MOD_PATH. Signed-off-by: Paul Barker <paul.barker@sancloud.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
8177e4a6b7
commit
30c3df4c22
|
@ -132,7 +132,7 @@ do_install:append() {
|
|||
install -d ${D}/usr/share/openvswitch/scripts/
|
||||
install -m 755 ${S}/rhel/usr_share_openvswitch_scripts_ovs-systemd-reload ${D}/usr/share/openvswitch/scripts/ovs-systemd-reload
|
||||
|
||||
oe_runmake modules_install INSTALL_MOD_PATH=${D}
|
||||
oe_runmake modules_install INSTALL_MOD_PATH=${D}${root_prefix}
|
||||
install -d ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages
|
||||
cp -r ${S}/python/ovstest/ ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages/
|
||||
}
|
||||
|
|
|
@ -53,5 +53,5 @@ do_install_ptest() {
|
|||
}
|
||||
|
||||
do_install:append() {
|
||||
oe_runmake modules_install INSTALL_MOD_PATH=${D}
|
||||
oe_runmake modules_install INSTALL_MOD_PATH=${D}${root_prefix}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user