19 lines
654 B
BlitzBasic
19 lines
654 B
BlitzBasic
require rauc.bb
|
|
|
|
DEPENDS = "squashfs-tools-native curl-native openssl-native glib-2.0-native"
|
|
|
|
inherit native deploy
|
|
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
|
|
|
|
do_deploy() {
|
|
install -d ${DEPLOY_DIR_TOOLS}
|
|
install -m 0755 rauc ${DEPLOY_DIR_TOOLS}/rauc-${PV}
|
|
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
|
|
}
|
|
|
|
addtask deploy before do_package after do_install
|