Repository navigation
0.1.3 --- okld bundle --package: an okb from a package mcpp staged - #4
Merged
Merged
Conversation
- `okld bundle <out.okb> --package <tree>` reads mcpp-package.json (mcpp SPEC-014 §4.5): the images are the files of role `image' at lib/<arch>/<file>, each checked against its directory's architecture and its stated sha256; each architecture's entry is launch.entry's; the name and version are the package's. Other roles are not okb v1 members. This is the action of openkal-platform's `okb' package format. - the archive form a program that carries its images holds (no okb.json, images at the root, zipalign's field, bytes between members) is run from memory in CI (examples/package/stage.py, okrun-host archive) - a refusal of a member names the archive once Co-authored-by: speak-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the openkal 0.17.2 round, which mcpp platforms part 2 §5 needs:
okbis the package format openkal-platform 0.17.2's plugin provides. Its artifact action runs:Changes
okld bundle <out.okb> --package <tree>reads the tree'smcpp-package.json(mcpp SPEC-014 §4.5):image, atlib/<arch>/<file>;sha256stated for it;launch.entrygives;--packageon a staged tree, a changed image refused, andokrunrunning the result;okb.json, images at the root, zipalign's field0xD935and bytes between members) run from memory throughokrun_run_okb_bytes(bytes, size, "needed.oke", …), and a changed member refused by its CRC-32.Co-authored-by: speak-agent [email protected]