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

Commits on Jan 13, 2016

  1. Move some libhif/console logic into internal libpriv

    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.
    cgwalters committed Jan 13, 2016
    Configuration menu
    Copy the full SHA
    ade34e6 View commit details
    Browse the repository at this point in the history
  2. internals: Introduce mkroot, rewrite unpacker

    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 committed Jan 13, 2016
    Configuration menu
    Copy the full SHA
    0be63f5 View commit details
    Browse the repository at this point in the history