[elbe-devel] Elbe build Ubuntu?

Köry Maincent kory.maincent at bootlin.com
Thu Apr 30 15:47:38 CEST 2020


Hello Olivier,


> The dbschema.xsd is used both on the host and in the initvm.  If you
> change it on the host, you will be able to send your xml file to the
> initvm.  However, the initvm also need its dbschema.xsd to be updated.
> 
> If you have create your initvm without the --devel option, then you need
> to edit "/usr/share/xml/elbe-common/dbsfed.xsd".  If you have create the
> initvm with the --devel option, you need to edit
> "/var/cache/elbe/devel/schema/dbsfed.xsd".  Both of these paths are _in
> the initvm_ not on the host.

Thanks for your answer, It is working.
I can now build an Ubuntu image.


Regards,

> 
> 
> Here's what I get when nothing is changed:
> ----------------------------------------------------------------------
> elbe preprocess failed.
> examples/x86_64-docker.xml:22 error Element 'suite': [facet
> 'enumeration'] The value 'bionic' is not an element of the set
> {'bullseye', 'buster', 'sid', 'stretch'}.
> 
> Giving up
> ----------------------------------------------------------------------
> You can see that the preprocess as failed on the _host side_.
> 
> Here's what I get when I change dbsfed.xsd only on the host side
> ----------------------------------------------------------------------
> elbe control set_xml failed2
> Server returned error:
> 
> Elbe XML Validation Error
> /var/cache/elbe/8522a0ca-d4bc-4c47-a1b8-9297184f474e/source.xml:22 error
> Element 'suite': [facet 'enumeration'] The value 'bionic' is not an
> element of the set {'bullseye', 'buster', 'sid', 'stretch'}.
> /var/cache/elbe/8522a0ca-d4bc-4c47-a1b8-9297184f474e/source.xml:22 error
> Element 'suite': 'bionic' is not a valid value of the atomic type
> '{https://www.linutronix.de/projects/Elbe}suite-proj'.
> 
> 
> Giving up
> ----------------------------------------------------------------------
> You can see that the preprocess as failed on the _initvm side_.
> 
> To change the value on the initvm side, attach to it with either SSH if
> you've enabled it or use 'elbe initvm attach'.
> 

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com



More information about the elbe-devel mailing list