[elbe-devel] XML config parsing error

Iurii Mykhalskyi iurii.mykhalskyi at globallogic.com
Thu May 5 14:34:34 CEST 2016


Hello guys,

I'm using own custom XML config with ELBE build system.

When I executes follow command:

./elbe initvm submit --directory=../out_elbe/  /path/to/config.xml

I facing with 2 errors:
*/tmp/tmpUCiuzE:30 error Element 'binary': This element is not expected.
Expected is one of ( grub-install, partition ).*
*/tmp/tmpUCiuzE:53 error Element 't2p_mv': This element is not expected.*

Part of config related to first issue:
*<images>*
*        <msdoshd>*
* <name>sdcard-sina33.img</name>*
* <size>512MiB</size>*
* <binary blocksize="1024" offset="8">u-boot-sunxi-with-spl.bin</binary>
<--- line 30*
* <partition>*
* <size>remain</size>*
* <label>root</label>*
* </partition>*
* </msdoshd>*
*</images>*

According to ELBE XML Scheme reference all should be ok with binary tag.

Part of config related to second issue:
<finetuning>
<ln path="/boot/vmlinuz-4.4.1-g0f84b34">/boot/zImage</ln>
<t2p_mv
path="/boot/u-boot-sunxi-with-spl.bin">u-boot-sunxi-with-spl.bin</t2p_mv>
<-- line 53
         <command>systemctl mask systemd-random-seed.service</command>
.....
</finetuning>

If I comment both lines - build start going as usual.
On reference build system all going fine and there is no issues appeared.

My host config:
OS: Ubuntu 12.04
ELBE version: git, release/v1.1 (but I reproduce same issue on Virtualbox
running Debian Jessie on it).

Do you have any ideas how I can fix this issues?

Thank you.

With the best regards,
Iurii Mykhalskyi

-- 

Iurii Mykhalskyi | Senior Software Engineer
GlobalLogic
P +38.044.492.9695x3664  M +38.096.311.5467  S mad-nemoi
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20160505/6b9d24d0/attachment.html>


More information about the elbe-devel mailing list