summaryrefslogtreecommitdiffstats
path: root/recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb')
-rw-r--r--recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb b/recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb
index 48b7965e4..48cc26dc6 100644
--- a/recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb
+++ b/recipes-config/cluster-demo-config/cluster-demo-config_1.0.bb
@@ -2,16 +2,19 @@ SUMMARY = "AGL cluster demo configuration file"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-SRC_URI += " \
+SRC_URI = " \
file://AGL.conf.default \
file://AGL.conf.flutter \
"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
+
inherit allarch update-alternatives
do_install() {
- install -D -m 0644 ${WORKDIR}/AGL.conf.default ${D}${sysconfdir}/xdg/AGL.conf.default
- install -m 0644 ${WORKDIR}/AGL.conf.flutter ${D}${sysconfdir}/xdg/
+ install -D -m 0644 ${UNPACKDIR}/AGL.conf.default ${D}${sysconfdir}/xdg/AGL.conf.default
+ install -m 0644 ${UNPACKDIR}/AGL.conf.flutter ${D}${sysconfdir}/xdg/
}
ALTERNATIVE_LINK_NAME[AGL.conf] = "${sysconfdir}/xdg/AGL.conf"