-
Notifications
You must be signed in to change notification settings - Fork 185
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
Some mkosi fixes #1032
base: master
Are you sure you want to change the base?
Some mkosi fixes #1032
Conversation
Otherwise image builds which use %v fail, sometimes in weird ways.
It would conflict between separate builds in the same repo.
Any chance publishing the recipe can be salvaged? It is very nice to be able to reproduce them. Can they be in a directory named after the image or so? |
To make them unique, they would have to be named after the package + multibuild flavor. What's the use case you have in mind? |
I don't have a specific use case in mind, just that I remember from when we added livebuild support, the fact that you could download images but not recipes without an account was an issue, and I didn't want a repeat. It's not a huge issue, if there's no alternative that's fine. |
Your sha256 files contain the full path, which is probably not intended. How about something simpler like:
(untested) |
Just do it for all files in OTHER.
Indeed, fixed. Slightly differently though, with just a single chroot still |
IMO the repo shouldn't be used for publishing sources as-is, there are better ways for distribution. IMO the current state doesn't really make sense anyway as the recipe file on its own is incomplete without the other source files. We can also keep the recipe file as build result and just ignore it during publishing. I'm wondering what we need it for, maybe for image build dependencies? |
The manifest is used for build dependencies, at least that was the intention in 1bead5d so yeah this should be fine to drop |
With the .sha256 file generation,
Repotype: checksumsfile
should work.CC @bluca