Comments (3)
We could even put it some place like /usr/lib/dracut/rpmostree-dracut-wrapper if we wanted to hide it from the user's PATH, (or even just /usr/lib or some other alternative)
We are gonna have to add a ~2-3 lines to that shell script for initoverlayfs, it's somewhat error-prone converting bash text to a C string literal and not great to read (and it can't be statically analysed either using things like shellcheck if people want to do that).
make sense to my eyes. It helps simplicity and modularity.
from rpm-ostree.
Hmm, I think nowadays we could aim to kill that wrapper actually. It does basically 2 things:
- Forces
--add ostree
: but this same effect can be done by embedding static grub configuration (fcos base example), and I think we should recommend this. - Adds
--reproducible
if available - first we can just hardcode the availability of--reproducible
nowadays, but even that is also configurable
There's also some juggling of writing to a temporary fd but we can do that in callers.
from rpm-ostree.
, it's somewhat error-prone converting bash text to a C string literal and not great to read (and it can't be statically analysed either using things like shellcheck if people want to do that).
This is true; on the Rust side it's trivial to use include_str!
for this type of stuff at least. (There is e.g. GResources with glib but it's comparatively heavyweight)
I don't have a really strong opinion; if you want to both split it to a separate file and install it, that's fine. But porting to Rust or GResources would allow splitting it without also installing it as a separate binary.
from rpm-ostree.
Related Issues (20)
- 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://`
- CoreOS+Zincati+OSTree: `Txn FinalizeDeployment on /org/projectatomic/rpmostree1/fedora_coreos failed: Staged deployment already unlocked` HOT 1
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.