All of lore.kernel.org
 help / color / mirror / Atom feed
* adding meta-virtualization gives bitbake error
@ 2018-01-26 11:52 Jakob Hasse
  2018-01-26 13:05 ` Bruce Ashfield
  0 siblings, 1 reply; 11+ messages in thread
From: Jakob Hasse @ 2018-01-26 11:52 UTC (permalink / raw)
  To: yocto

Hello,

we're trying to include meta-virtualization in to our project, in 
particular, we want to use docker. However, as soon as I include the 
layer in to our project, bitbake complains:

bitbake -C compile core-image-base
NOTE: Started PRServer with DBfile: 
/home/jakob/workspace/beerstation/cache/prserv.sqlite3, IP: 127.0.0.1, 
PORT: 46136, PID: 5713
ERROR: Execution of event handler 'virt_bbappend_distrocheck' failed
Traceback (most recent call last):
   File 
"/usr/local/dey-2.2/sources/meta-virtualization/classes/sanity-meta-virt.bbclass", 
line 4, in virt_bbappend_distrocheck(e=<bb.event.SanityCheck object at 
0x7f945e05d3c8>):
      python virt_bbappend_distrocheck() {
     >    skip_check = e.data.getVar('SKIP_META_VIRT_SANITY_CHECK') == "1"
          if 'virtualization' not in 
e.data.getVar('DISTRO_FEATURES').split() and not skip_check:
TypeError: getVar() missing 1 required positional argument: 'expand'

ERROR: Command execution failed: Traceback (most recent call last):
   File "/usr/local/dey-2.2/sources/poky/bitbake/lib/bb/command.py", 
line 101, in runAsyncCommand
     self.cooker.updateCache()
   File "/usr/local/dey-2.2/sources/poky/bitbake/lib/bb/cooker.py", line 
1627, in updateCache
     bb.event.fire(bb.event.SanityCheck(False), 
self.databuilder.mcdata[mc])
   File "/usr/local/dey-2.2/sources/poky/bitbake/lib/bb/event.py", line 
201, in fire
     fire_class_handlers(event, d)
   File "/usr/local/dey-2.2/sources/poky/bitbake/lib/bb/event.py", line 
124, in fire_class_handlers
     execute_handler(name, handler, event, d)
   File "/usr/local/dey-2.2/sources/poky/bitbake/lib/bb/event.py", line 
96, in execute_handler
     ret = handler(event)
   File 
"/usr/local/dey-2.2/sources/meta-virtualization/classes/sanity-meta-virt.bbclass", 
line 4, in virt_bbappend_distrocheck
     skip_check = e.data.getVar('SKIP_META_VIRT_SANITY_CHECK') == "1"
TypeError: getVar() missing 1 required positional argument: 'expand'


Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


Do we need to checkout a specific branch or so (though I can't find one 
right now)?
Do we need to change some kernel configuration? I added all 
virtualization drivers in the "drivers" section of the kernel config 
already.

We're using DIGI embedded Yocto 2.2 (poky).

Thanks and all the best,
Jakob

-- 
Jakob Hasse
Software Developement

E: jakob.hasse@smart-home-technology.ch
T: +41 44 552 02 66

Smart Home Technology GmbH
www.smart-home-technology.ch



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-03-01  2:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26 11:52 adding meta-virtualization gives bitbake error Jakob Hasse
2018-01-26 13:05 ` Bruce Ashfield
2018-02-02 15:57   ` Running Docker Jakob Hasse
2018-02-02 16:14     ` Bruce Ashfield
2018-02-02 16:21       ` Jakob Hasse
2018-02-05 18:05         ` Bruce Ashfield
2018-02-05 18:29           ` Khem Raj
2018-02-05 21:58           ` Jakob Hasse
2018-02-06  1:15             ` Bruce Ashfield
2018-02-28 10:05               ` Jakob Hasse
2018-03-01  2:16                 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.