Linutronix / elbe

Embedded Linux Build Environment
https://elbe-rfs.org
GNU General Public License v3.0
170 stars 59 forks source link

elbe preprocess failes due to artificial? limit in https://github.com/Linutronix/elbe/blob/releases/v13.2/schema/dbsfed.xsd #324

Closed danielbisar closed 2 years ago

danielbisar commented 2 years ago

Steps to reproduce:

Result: Error message: ... elbe_rootfs.xml:418 error Element 'url': This element is not expected.

Expected behavior:

  1. better error message
  2. even better: remove the maxOccurs="10" from the url element under xml-list from the schema

Is this expected behavior? What shall I do if i need more repos?

manut commented 2 years ago

The url-list is also used for preseeding the Debian installer during Initvm creation:

https://github.com/Linutronix/elbe/blob/4d0f93be48402e36a040824f9d7d1d72c984e544/elbepack/init/preseed.cfg.mako#L83

And there is a limit:

https://www.debian.org/releases/testing/amd64/apbs04.en.html#preseed-apt

This is why this was limited once..

Manuel

Am 21.03.2022 um 15:46 schrieb bgermann @.***>:

 Closed #324 via b7911ec.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

bgermann commented 2 years ago

Thanks for pointing this out!

danielbisar commented 2 years ago

Thanks for fixing :)

bgermann commented 2 years ago

I think I will revert it again (see @manut's comment).

danielbisar commented 2 years ago

Wouldn't it be possible to use another value for the seeding? I mean it would just need to use another xsd oder update the xml-node of the schema according to the actual limit. As far as i could see the limit mentioned by @manut is system dependend, so there is no actual hard limit to 10. And to make elbe fail when not even using seeding doesn't make sense to me.

@manut also said: "This is why this was limited once...", so is it still really required?