[yocto] setting up autobuilder on local machine
Mirza Krak
mirza.krak at gmail.com
Mon Dec 19 07:20:14 PST 2016
2016-12-19 15:57 GMT+01:00 Jussi Kukkonen <jussi.kukkonen at intel.com>:
> On 19 December 2016 at 15:28, Mirza Krak <mirza.krak at gmail.com> wrote:
>>
>> > Thank you for your fast responses. Generating the htpasswd file my
>> > self did the trick. Now I can login. The full command was (as you
>> > suggested I used the one in autobuilder git repo under ./bin):
>> >
>> > ./htpasswd -b -c <path to htpasswd file> <user name> <secret
>> > password>
>> >
>> > Forced a build of my configuration now and hoping for the best :).
>>
>> And it was not green all the way.
>>
>> I get an error that I do not get how to get around. The error message is:
>>
>> ERROR: Unable to parse
>>
>> /home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf:
>> [Errno 2] file
>> /home/mirzak/project/yocto-autobuilder/yocto-autobuilder-mender-rpi/yocto-worker/nightly-mender-rpi/build/meta-mender/conf/layer.conf
>> not found
>>
>> The error message I understand. But I do not understand why it adds
>> meta-mender to bblayers files. I did not tell it to do that, because
>> meta-mender contains layers that I want to include. Similar to
>> meta-openembedded (which is also added to bblayers).
>>
>
> I'm not an expert but your nightly-mender-rpi.conf contains this:
> 'layerdirs': ['meta-yocto', 'meta-raspberrypi',
> 'meta-mender/meta-mender-core', 'meta-mender/meta-mender-raspberrypi',
> 'oe-meta-go', 'meta-openembedded/meta-oe']
That is correct. I add following:
meta-mender/meta-mender-raspberrypi
meta-mender/meta-mender-core
And they are added to the bblayers.conf correctly.
But I do not add "meta-mender" which is present in my bblayers.conf
and is the cause of my error message. It seems to me like it is picked
up from the "repos" section and hence the "magic" :)
Best Regards
Mirza
More information about the yocto
mailing list