Toggle navigation
EN
EN
DE
ES
FR
IT
UK
Help
Log In
Help
Log In
EN
EN
DE
ES
FR
IT
UK
Home
Messages
Hashtags
Subgroups
×
×
×
Close
Likes
Yocto
posterid:3618847
Messages
×
Close
Search
Single
Toggle Dropdown
Messages
Topics
Expanded
previous page
#40920
next page
LINUX_VERSION issue in recipe
Damien LEFEVRE
#40920
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
More
All Messages By This Member
×
previous page
View All 4 Messages In Topic
next page
previous page
#40920
next page
Join
yocto@lists.yoctoproject.org to automatically receive all group messages.
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to Yocto Project Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of yocto@lists.yoctoproject.org?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
More Options
More
Home
Hashtags
Subgroups
Terms
Toggle navigation
Terms
©
2023
Groups.io