Ability to control the set of "batteries"? #214
Replies: 4 comments 11 replies
-
It's hard to answer this without specifics, what are you trying to build? |
Beta Was this translation helpful? Give feedback.
-
It's definitely possible to remove packages from the base you're building from. See the recipe in startingpoint as an example You could alternatively (if you're not using startingpoint) throw something like this in your containerfile
Building from main, you'll inherit all the packages in main, or from any base you may choose to use |
Beta Was this translation helpful? Give feedback.
-
Thanks for confirming, that was my understanding
Let me know if I've misunderstood or am missing some context, but I feel like my question is more general to the process/capabilities and independent of specifics. Essentially, I like the Universal Blue model. There are a handful of packages I'd want in my Silverblue environment that aren't readily available/viable as Flatpaks, but I'd like to avoid having to deal all the ostree layering activities myself; hence my interest is quite piqued by uBlue. I understand the reasoning behind the most foundational uBlue image (which I understand to be Given that, I don't think there's any existing images I could just use out of the box, so I've been contemplating using your tooling to create my own. However, even if I go that way, I feel like I'd be looking at some manual overhead to maintain my desired list of packages. For example, if I were to use some of the existing techniques that @EyeCantCU noted above, I fear I'd be perpetually having to manually adjust things to skip "upstream" package changes coming from Ultimately, I'd like to be able to more easily control the set of packages in a custom image, and be able to do so without having to constantly keep tabs on and react to package changes in the base image Does that help clarify my question/use case? |
Beta Was this translation helpful? Give feedback.
-
Yeah I think it's totally feasible, this is the pattern Fedora is already heading in so we're more here to see how well it works. Most of the stuff here will become redundant when Fedora eventually gets there, it'll (hopefully) just be part of the distro tooling upstream. We purposely don't call it the "uBlue paradigm" since it's not new. It's a cloud-native pattern, we talk about it a bit on the website: https://universal-blue.org/ under "Why would I use these". We're just reusing a common pattern from application developers but the container happens to have the rest of the OS in there (with the kernel) already. Which is way cool! |
Beta Was this translation helpful? Give feedback.
-
Hi there 👋
I'll preface first by saying that uBlue seems like an absolutely fascinating project that's already achieved some impressive results, and secondly issue a preemptive apology if I'm asking in the wrong place (and/or if this has already been asked and answered, my GitHub search skills didn't turn anything up).
In short, I'm trying to understand if making a custom DIY image will result in inheriting the packages added as part of the
main
image, the so-called 🔋 😄, and if so:*whether that's something that can be readily controlled by the custom image producer (i.e. assume I wanted to skip/remove one of the batteries added to
main
, is that possible, and if so, how deterministic/maintainable is that? could I define my own include/allow list of such battery packages, or if/when new packages are added tomain
would they automatically flow into my custom image unless/until I took some specific action to exclude them?main
?Beta Was this translation helpful? Give feedback.
All reactions