cpb- / yocto-cooker

Meta buildtool for Yocto Project based Linux embedded systems
GNU General Public License v2.0
43 stars 22 forks source link

'init-build-script' was unexpected #141

Open mtansorier opened 1 year ago

mtansorier commented 1 year ago

In README.md there is advanced use with init-build-script option (https://github.com/cpb-/yocto-cooker#advanced-use). But it seems to be not allowed:

FATAL: menu file validation failed: Additional properties are not allowed ('init-build-script' was unexpected)

It's no present in sources code. Is that normal ? Thank's

cpb- commented 1 year ago

I don't use this feature yet. IIRC, the idea is to add in your menu file a section like this (at the same level than "sources"):

   "override_distro": {
      "build-script": "<your-init-script>"
   }

The README.md file is really unclear, it need some complement.

mtansorier commented 1 year ago

Thank you, but there is some problem with override_distro too:

FATAL: menu file validation failed: Additional properties are not allowed ('override_distro' was unexpected)
cpb- commented 1 year ago

Did you use the latest master version? The commit implementing override_distro is from 2023/02/23 (not in latest release)

mtansorier commented 1 year ago

That's right, I use 1.3.0. Thank for this accuracy.