[yocto] Setting a custom hostname using git revisions?
Giordon Stark
kratsg at gmail.com
Wed Apr 4 08:48:41 PDT 2018
Hi all,
I looked at the bitbake manual, but if I have a custom layer that's checked
out at a specific revision, how can I access the variable containing the
revision to embed it into the hostname variable?
I would want to append the hostname variable in:
recipes-core/base-files/base-files_%.bbappend which is currently set to
"${MACHINE}".
Instead, I would like something along the lines of
"${MACHINE}-${LAYER_REV}".
Thanks,
Giordon
--
Giordon Stark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180404/6e5a0966/attachment.html>
More information about the yocto
mailing list