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

Internals mkroot #207

Closed
wants to merge 2 commits into from
Closed

Conversation

cgwalters
Copy link
Member

No description provided.

This is preparation for a new `internals mkroot` command which will
look sort of like compose tree except unprivileged, and currently
writes fs roots and not ostree...yet.
Now we're getting a lot closer to what supermin does - we take as
input a yum repo list, do depsolving, etc.  A next step here is to add
ostree hardlink caching.

While my unpacker worked with a few test RPMs, it blew up on other
nontrivial ones with hardlinks, `%ghost` files etc.  Here we
completely redo the logic so that we do a first pass over the header
and gather metadata we need, building up a hash table.  Then we just
walk over CPIO and perform lookups, rather than trying to walk them
both in parallel.

Some RPMs seemed to have different orders.
@cgwalters
Copy link
Member Author

Obsoleted by #209

@cgwalters cgwalters closed this Jan 26, 2016
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