X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=blobdiff_plain;f=recipes-demo-hmi%2Fradio%2Fradio_git.bb;h=52a981f25d0a2488ec10c2fafefdd92c76e07e94;hp=3316176718b37271023202ef2388c0fc3d9cf173;hb=abe2d9282954936e222c2989c1d6bbbbead939fc;hpb=8c8455f86f6ee8e9a40d163b260b60aea250b297 diff --git a/recipes-demo-hmi/radio/radio_git.bb b/recipes-demo-hmi/radio/radio_git.bb index 331617671..52a981f25 100644 --- a/recipes-demo-hmi/radio/radio_git.bb +++ b/recipes-demo-hmi/radio/radio_git.bb @@ -25,18 +25,14 @@ inherit qmake5 aglwgt # ALS, CES, FOSDEM available AGL_RADIO_PRESETS_LOCALE ?= "CES" - do_install_append() { - install -d ${D}${ROOT_HOME}/app-data/radio - install -m 0644 ${WORKDIR}/presets-CES.conf ${D}${ROOT_HOME}/app-data/radio/ - install -m 0644 ${WORKDIR}/presets-ALS.conf ${D}${ROOT_HOME}/app-data/radio/ - install -m 0644 ${WORKDIR}/presets-FOSDEM.conf ${D}${ROOT_HOME}/app-data/radio/ - install -m 0644 ${WORKDIR}/presets-${AGL_RADIO_PRESETS_LOCALE}.conf ${D}${ROOT_HOME}/app-data/radio/presets.conf + install -d ${D}${sysconfdir}/xdg/AGL + install -m 0644 ${WORKDIR}/presets-CES.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-CES.conf + install -m 0644 ${WORKDIR}/presets-ALS.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-ALS.conf + install -m 0644 ${WORKDIR}/presets-FOSDEM.conf ${D}${sysconfdir}/xdg/AGL/radio-presets-FOSDEM.conf + install -m 0644 ${WORKDIR}/presets-${AGL_RADIO_PRESETS_LOCALE}.conf ${D}${sysconfdir}/xdg/AGL/radio-presets.conf } -FILES_${PN} += " \ - ${ROOT_HOME}/app-data/radio/presets-*.conf \ - ${ROOT_HOME}/app-data/radio/presets.conf \ -" +FILES_${PN} += "${sysconfdir}/xdg/AGL/*" RDEPENDS_${PN} += "agl-service-radio"