diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2016-06-29 15:52:14 +0200 |
---|---|---|
committer | Enrico Jorns <ejo@pengutronix.de> | 2016-06-29 15:56:11 +0200 |
commit | b3ab9febee0fd08453b60c93cfe3891545166f62 (patch) | |
tree | cf5aa6b47332e16f5d0ce49151ae0d57f750089a /recipes-core | |
parent | 798e205963d61fd1eda1a10902bd7501bcf0894b (diff) | |
download | meta-ptx-b3ab9febee0fd08453b60c93cfe3891545166f62.tar.gz meta-ptx-b3ab9febee0fd08453b60c93cfe3891545166f62.tar.xz |
rauc: enable to build for nativesdk
Service and configuration files are required only on the target, thus
the append was changed to be target class-specific. Same is true for
runtime dependency to barebox-state tool.
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/rauc/rauc.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-core/rauc/rauc.inc b/recipes-core/rauc/rauc.inc index c8a0140..b0b5dbd 100644 --- a/recipes-core/rauc/rauc.inc +++ b/recipes-core/rauc/rauc.inc @@ -7,8 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SRC_URI = "file://rauc.service file://rauc-mark-good.service " DEPENDS = "squashfs-tools-native curl openssl glib-2.0" -RDEPENDS_${PN} = "barebox-state" -RDEPENDS_${PN}_class-native = "" +RDEPENDS_${PN}_class-target = "barebox-state" FILES_${PN}_append = " /mnt/rauc" @@ -19,7 +18,8 @@ RAUC_KEYRING_FILE[doc] = "Path to keyring file to be placed in rauc images" SRC_URI += "file://${RAUC_KEYRING_FILE}" -do_install_append () { +do_install_append_class-target () { + # Create rauc config dir install -d ${D}${sysconfdir}/rauc @@ -72,4 +72,4 @@ SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "rauc.service rauc-mark-good.service" SYSTEMD_AUTO_ENABLE_${PN} = "enable" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" |