From c0d9e409d9b9a538154414be910194114635ffc3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 8 Aug 2015 13:46:55 +0200 Subject: [PATCH] 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. --- recipes-extra/rauc/rauc-native.bb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/recipes-extra/rauc/rauc-native.bb b/recipes-extra/rauc/rauc-native.bb index d2fc86d..b93d89e 100644 --- a/recipes-extra/rauc/rauc-native.bb +++ b/recipes-extra/rauc/rauc-native.bb @@ -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