rauc-native: Fix the building of the rauc-native tool

Drop system.conf from the SRC_URI and link the right (current
test certificates) to be used.
This commit is contained in:
Holger Hans Peter Freyther 2015-08-08 13:46:55 +02:00
parent 73d48c807e
commit c0d9e409d9
1 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
require rauc.bb
SRC_URI = "git://github.com/jluebbe/rauc.git;protocol=https \
file://dev-ca.pem \
file://rauc-done.service \
file://rauc-ubi.rules "
DEPENDS = "squashfs-tools-native curl-native openssl-native glib-2.0-native"
inherit native deploy
@ -11,8 +16,8 @@ do_deploy() {
rm -f ${DEPLOY_DIR_TOOLS}/rauc
ln -sf ./rauc-${PV} ${DEPLOY_DIR_TOOLS}/rauc
# allow override from local.conf?
install -m 600 test/openssl-ca/dev/autobuilder-1.cert.pem ${DEPLOY_DIR_TOOLS}/rauc.cert.pem
install -m 600 test/openssl-ca/dev//private/autobuilder-1.pem ${DEPLOY_DIR_TOOLS}/rauc.priv.pem
install -m 600 ${S}/test/openssl-ca/dev/autobuilder-1.cert.pem ${DEPLOY_DIR_TOOLS}/rauc.cert.pem
install -m 600 ${S}/test/openssl-ca/dev//private/autobuilder-1.pem ${DEPLOY_DIR_TOOLS}/rauc.priv.pem
}
addtask deploy before do_package after do_install