Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'init-build-script' was unexpected #141

Open
mtansorier opened this issue May 22, 2023 · 4 comments
Open

'init-build-script' was unexpected #141

mtansorier opened this issue May 22, 2023 · 4 comments

Comments

@mtansorier
Copy link

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-
Copy link
Owner

cpb- commented May 22, 2023

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
Copy link
Author

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-
Copy link
Owner

cpb- commented May 22, 2023

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

@mtansorier
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants