81c43e81fb
Allow users to directly specify an RPM file on the command-line. The "packages_added" array of the PkgChange() method can now contain absolute paths to RPM files. Grow the origin format to have a new "requested-local" key. This is similar to the "requested" key, except that the packages are always installed from cache. The "requested-local" array values also embed the SHA-256 of the header we expect. There is now a new "LocalPackages" line in the status. These packages are a subset of the "packages" element (which are printed as "LayeredPackages") and represent the packages that are explicitly marked for installing from cache. Interesting design choices/notes: - Just as before, even with foo-1.0-1.x86_64 installed from RPM, a user can still request "/usr/bin/foo": it will be made dormant. As soon as foo stops being explicitly layered from the RPM, it will try to fulfill the request by going to the repos. This allows users to "pin" a layered package to a certain RPM, and then unpin it. - The strings/NEVRAs in "requested" and "requested-local" are strictly distinct. This allows us to be able to tell what the user means exactly when they do "rpm-ostree uninstall". Closes: #657 Approved by: cgwalters |
||
---|---|---|
.. | ||
libsd-locale-util.c | ||
libsd-locale-util.h | ||
rpmostree-bwrap.c | ||
rpmostree-bwrap.h | ||
rpmostree-core.c | ||
rpmostree-core.h | ||
rpmostree-json-parsing.c | ||
rpmostree-json-parsing.h | ||
rpmostree-kernel.c | ||
rpmostree-kernel.h | ||
rpmostree-origin.c | ||
rpmostree-origin.h | ||
rpmostree-output.c | ||
rpmostree-output.h | ||
rpmostree-passwd-util.c | ||
rpmostree-passwd-util.h | ||
rpmostree-postprocess.c | ||
rpmostree-postprocess.h | ||
rpmostree-refsack.c | ||
rpmostree-refsack.h | ||
rpmostree-refts.c | ||
rpmostree-refts.h | ||
rpmostree-rpm-util.c | ||
rpmostree-rpm-util.h | ||
rpmostree-script-gperf.gperf | ||
rpmostree-scripts.c | ||
rpmostree-scripts.h | ||
rpmostree-unpacker.c | ||
rpmostree-unpacker.h | ||
rpmostree-util.c | ||
rpmostree-util.h |