Re: [yocto] Setting a custom hostname using git revisions?

2018-04-04 Thread Stephano Cetola
On 4/4/18 9:13 AM, Stephano Cetola wrote: > On 4/4/18 8:48 AM, Giordon Stark wrote: >> 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 vari

Re: [yocto] Setting a custom hostname using git revisions?

2018-04-04 Thread Stephano Cetola
On 4/4/18 8:48 AM, Giordon Stark wrote: > 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 v

[yocto] Setting a custom hostname using git revisions?

2018-04-04 Thread Giordon Stark
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_%.bbapp