[elbe-devel] elbe validate error on debootstrap tag

ew.foe at nassur.net ew.foe at nassur.net
Fri May 20 13:47:40 CEST 2022


Hello,

I have used
     <debootstrapvariant>minbase</debootstrapvariant>
up to elbe 13.3 to be able to install chrony (instead of systemd-timesyncd).

changing to 14.2 I changed the snippet to
     <debootstrap>minbase</debootstrap>
as per comment in file v14.2/elbepack/xmlpreprocess.py line 56ff
      56 def preprocess_bootstrap(xml):
      57     "Replaces a maybe existing debootstrapvariant element  
with debootstrap"
      58
      59     old_node = xml.find(".//debootstrapvariant")
      60     if old_node is None:
      61         return
      62
      63     print("[WARN] <debootstrapvariant> is deprecated. Use  
<debootstrap> instead.")
      64
      65     bootstrap = Element("debootstrap")


however, elbe validate seems not to like it:

20220520-131341 run validate, just in bloody case
validation faileddevel.xml:73 error Element 'debootstrap': This  
element is not expected.
armhf-zynq-iscp2-devel.xml:73 error Element 'debootstrap': This  
element is not expected.
20220520-131341 WARNING: elbe validate returned error.

Is this a known issue?

Cheers,
Erich



More information about the elbe-devel mailing list