-
Notifications
You must be signed in to change notification settings - Fork 186
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
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 |
Sorry for the late response, was on vacation. https://github.com/thkukuk/microos-sysext |
Yeah makes sense, I've already approve this, thanks. BTW in that example, which looks great by the way, you are building both base and extensions in the same build - is anyone working on finishing the image-dependency-handling integration in OBS so that you can build the base and the extension separately? The idea being that for example in the MicroOS case, the base would be built in the MicroOS project itself, and then users can build-depend on it and build their own extensions in their own projects |
I would be already more than happy if we get full basic support for mkosi in OBS, like publishing the images with signed meta data to make it directly usable by |
With the .sha256 file generation,
Repotype: checksumsfile
should work.CC @bluca