Hi, This must be a stupid basic question. I have the following recipe append:
keymaps_1.0.bbappend ----------------------------------------------------------------------------- FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append = " file://keymaps.service \ file://keymap.sh \ " do_install_append() { install -d ${D}${sysconfdir} ln -sf /usr/share/keymaps/i386/qwerty/fi.map.gz ${D}${sysconfdir}/keymap-${LINUX_VERSION}.map.gz install -d ${D}${systemd_system_unitdir} install -m 0644 ${WORKDIR}/keymaps.service ${D}${systemd_system_unitdir} } FILES_${PN} += " ${sysconfdir}/* \ ${systemd_system_unitdir}/* \ " inherit systemd SYSTEMD_SERVICE_${PN} = "${PN}.service" ----------------------------------------------------------------------------- The LINUX_VERSION is not expanded and the final symlink name becomes /etc/ keymap-.map.gz. What's correct way to get the linux version in the recipe files? Thanks, -Damien
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto