meta-rockchip/dynamic-layers/rk-rauc-demo/recipes-core/rauc/rauc-conf.bbappend
Trevor Woerner 8936083292 rauc-conf: adjust PACKAGE_ARCH only when using the demo
Make setting the PACKAGE_ARCH occur only when the user has enabled the
rk-rauc-demo feature.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2025-06-03 15:59:26 -04:00

10 lines
244 B
Plaintext

inherit rk-rauc-demo-features-check
PACKAGE_ARCH:rk-rauc-demo = "${MACHINE_ARCH}"
FILESEXTRAPATHS:prepend:rk-rauc-demo := "${THISDIR}/files:"
do_install:prepend:rk-rauc-demo() {
sed -ie 's!@MACHINE@!${MACHINE}!g' ${UNPACKDIR}/system.conf
}