feat: Kiwi-build generates sha256sum now #304
Reference in New Issue
Block a user
Delete Branch "eminguez/suse-edge-factory:kiwi-sha256"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related to https://github.com/suse-edge/suse-edge.github.io/pull/962 and https://suse.slack.com/archives/C02J3PCPV4G/p1763048595297359?thread_ts=1763040641.612619&cid=C02J3PCPV4G
@@ -99,0 +100,4 @@echo -n "INFO: Generating sha256 checksum file... " && {# The container image doesn't have jq, so this is the best way I've found to do this# If it is an iso, it will be on the installation_image sectionFILE_PATH=$(awk '/"installation_image"/ {a=1} a==1 && /"filename":/ {print $2; exit}' /tmp/output/kiwi.result.json | tr -d ',"')The container does have python, so we could do something like
Which would probably be more robust - or we could install jq :)
Don't you prefer using awk then? :P
I'll fix it. Thanks for the suggestion!
Done (I guess). PTAL :)