Skip to content
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

Add CLI for packing and unpacking cpio archive #173

Merged
merged 1 commit into from
Sep 30, 2023
Merged

Add CLI for packing and unpacking cpio archive #173

merged 1 commit into from
Sep 30, 2023

Conversation

chenxiaolong
Copy link
Owner

The new commands behave exactly like the existing avb and boot subcommands. This completes the last piece of the puzzle for exposing useful interfaces to avbroot's internal parsers.

All metadata (permissions, ownership, etc.) is stored in cpio.toml exclusively and is not applied to the extracted files. This makes it a bit annoying to add new files when packing, but it's an intentional decision to ensure that the commands behave identically across all platforms.

@chenxiaolong chenxiaolong self-assigned this Sep 30, 2023
@chenxiaolong chenxiaolong force-pushed the cpio branch 5 times, most recently from 3c22429 to fc55517 Compare September 30, 2023 04:45
The new commands behave exactly like the existing `avb` and `boot`
subcommands. This completes the last piece of the puzzle for exposing
useful interfaces to avbroot's internal parsers.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong merged commit 2f7556b into master Sep 30, 2023
@chenxiaolong chenxiaolong deleted the cpio branch September 30, 2023 21:49
chenxiaolong added a commit that referenced this pull request Sep 30, 2023
Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant