Comments (5)
I have a WIP branch on this here: https://github.com/cgwalters/rpm-ostree/tree/wip/hawkey-librepo that I'm slowly playing with on the side.
from rpm-ostree.
Using libhif ( https://github.com/hughsie/libhif )
Oriented towards mutating current system
With rpm-ostree, we're going for a model where we always construct a new tree for any system mutation - no changes are applied live. But libhif is pretty oriented towards being a backend for PackageKit which does live system changes.
I kept hitting places in libhif where it would load the system RPM database, such as the keyrings.
And places where it (or hawkey) would bomb out trying to create a new root.
This should all be fixable.
Though actually this gets into an interesting question - for compose tree, where do we find the trusted GPG keyring? And clearly for rpm-ostree, it won't work to store the trusted keys in the system RPM database.
Would like to be able to more easily synthesize configuration passed in
We have hif_context_set_repo_dir() but currently with "rpm-ostree compose tree" I don't have enabled=1 in the .repo files. Though I could.
Need deep control over RPM installation
This is a big one. I can't use HifTransaction as is, because I need to inspect the RPM packages. I'd also like finer grained control over download phase versus installation in general.
I don't need support for removals, because in the rpm-ostree package layering model you can't do that - you instead construct a new tree that doesn't have that package to start with.
Currently not privilege separated
My prototype of using librepo does the fetches as an unprivileged user (default "bin"), communicating over dbus
Need to figure out a concurrency design
This is not a libhif bug, but it'd be really nice if we had an "rpm-ostree compose docker" that could be run multiple times concurrently, and automatically cached metadata and packages shared between the two. (And for that matter, with compose tree and with the host system updates too)
from rpm-ostree.
@hughsie ^
from rpm-ostree.
New (working) branch: https://github.com/cgwalters/rpm-ostree/commits/wip/libhif
from rpm-ostree.
This is done in master.
from rpm-ostree.
Related Issues (20)
- compose image: Enable specify different places for input and output for the change detection logic
- Does not prevent laptop from sleeping HOT 4
- `rpm-ostree cancel` does not work HOT 4
- Rebase to container image without resetting can lead to corrupted ostree commit HOT 2
- fail compose when new users / groups are created HOT 1
- add `copy` equivalent from containerfile HOT 2
- `rpm-ostree compose image` fails with: `error: compose tree failed: ExitStatus(unix_wait_status(256))` HOT 3
- Rebase to container image failed (with local package installed) HOT 2
- Can't reset override with remote repo gone and some dependency issue HOT 1
- "error: No installed package matches 'firefox'", when rebasing on a system without firefox HOT 2
- OCI upgrade fails with `Processing tar via ostree: Failed to commit tar: ExitStatus(unix_wait_status(256))` HOT 7
- Parse Spaces in `kargs` Input HOT 7
- drop rofiles-fuse, start using overlayfs HOT 7
- Add `--version` / equivalent to `--add-metadata-string=version=` to `compose image` path HOT 4
- rpm-ostree upgrade fail (fedora silverblue 40) HOT 2
- FR: support an "only when idle" mode HOT 1
- FR: "silent" mode
- FR: respect "only metered connections" HOT 1
- ostree container fails to do `rpm-ostree install https://`
- How would we feel about just packaging and adding /usr/bin/rpmostree-dracut-wrapper as a separate file in the repo? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpm-ostree.