Open justinvreeland opened 5 days ago
Unfortunately we have to bake the image name into the output, otherwise when generating multiple outputs they would clobber each other. You will have to do some post processing after invoking mkosi or maybe you can hack this with a postoutput script.
Ahh I can understand how that causes problem. Were I making a lot of images in the same directory though I'd like have the option to concatenate and re-sign the file for all the images built into that directory. I can see people wanting things either way depending on how much post processing they want to do. I think it'd be ideal for mkosi to be able to produce working output to be consumed by related tools though.
mkosi commit the issue has been seen with
main
Used host distribution
Archlinux
Used target distribution
default
Linux kernel version used
6.10.8-arch1-1
CPU architectures issue was seen on
x86_64
Unexpected behaviour you saw
I expected to see a
SHA256SUMS
file orimage.sha256
file that would be compatible withimportctl
. Instead files with names likeimage.SHA256SUMS
are generated. When using the configuration attached I see:The mkosi docs lead me to believe the file should be created as a standalone file. From the mkosi docs:
The importctl docs seem to agree:
This also applies to the image.SHA256SUMS.gpg file.
Used mkosi config
mkosi output
No response