yocto-cooker icon indicating copy to clipboard operation
yocto-cooker copied to clipboard

'init-build-script' was unexpected

Open mtansorier opened this issue 1 year ago • 4 comments

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

mtansorier avatar May 22 '23 09:05 mtansorier

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.

cpb- avatar May 22 '23 11:05 cpb-

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)

mtansorier avatar May 22 '23 11:05 mtansorier

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

cpb- avatar May 22 '23 12:05 cpb-

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

mtansorier avatar May 22 '23 14:05 mtansorier