-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why set CONFIG_LOCALVERSION
to ""?
#533
Comments
I can't remember why we did that but I think we should remove it now. I don't see any use of it anymore. And I agree, it renders |
We did it after switching to linux-yocto include files which sets it to so something like below(untested) might be the way to go. diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc
index ea7f778..6a7df4c 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -99,7 +99,7 @@ do_configure_prepend() {
CONF_SED_SCRIPT=""
# Localversion
- kernel_configure_variable LOCALVERSION "\"\""
+ kernel_configure_variable LOCALVERSION "\"${LINUX_VERSION_EXTENSION}\""
if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then
kernel_configure_variable OVERLAY_FS y |
You can see in
For completeness in
So I still think removing is the best solution. Nothing won by setting it manually. |
Fixes: agherzan#533 Signed-off-by: Michael Baisch <[email protected]>
@michaelbaisch does it append yocto-xxx string if its not set here ? if so then its wrong. |
Not sure why this would be a problem? But I guess also setting
would help. Should I also add this in the pull request? |
because we are not building linux-yocto, so it will not be correct to append default string from linux-yocto. but if thats not happening then i am fine to punt it. |
Fixes: agherzan#533 Signed-off-by: Michael Baisch <[email protected]>
@michaelbaisch I think this looks alright so I've kicked the builders. |
Hello again,
I would really like to set
CONFIG_LOCALVERSION
to something meaningful. But the meta-raspberrypi layer is making it really hard, because it's set inconveniently to "" here:meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi.inc
Line 102 in 3ae288a
Can someone tell me if there is a really good reason to do this, or if we can maybe get rid of this line? It also voids the use of
LINUX_VERSION_EXTENSION
.Greetings,
Michael
The text was updated successfully, but these errors were encountered: