mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
dfu-utils-native: fix do_deploy sstate handling
We need to install to the sstate input dir and not the output dir, so sstate handling will work correctly. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
7859c81c0b
commit
1ef92d2423
@@ -8,9 +8,8 @@ SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"
|
||||
|
||||
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
|
||||
do_deploy() {
|
||||
install -d ${DEPLOY_DIR_TOOLS}
|
||||
install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV}
|
||||
rm -f ${DEPLOY_DIR_TOOLS}/dfu-util
|
||||
ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util
|
||||
install -m 0755 src/dfu-util_static ${DEPLOYDIR}/dfu-util-${PV}
|
||||
rm -f ${DEPLOYDIR}/dfu-util
|
||||
ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util
|
||||
}
|
||||
addtask deploy before do_package after do_install
|
||||
|
||||
Reference in New Issue
Block a user