Comments (3)
For the rpm-ostree status
we have to set the label org.opencontainers.image.version
:
$ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-unverified-registry:ghcr.io/aorith/blueconfig:stable
Digest: sha256:cef0856b5a62fc25dabd1a9431cd9527c45f99a5f6254ee074de6450d654c3a1
Version: 37.20230318.17 (2023-03-18T17:58:01Z)
LayeredPackages: langpacks-en
For the grub entries, I think it's generated with /etc/grub.d/15_ostree
, that script seems to parse the bootloader entries (/boot/loader/entries/
) and those entries seem to be generated by ostree.
Everything points towards the PRETTY_NAME
present in /usr/lib/os-release
, but I must be missing something because changing that variable doesn't modify the bootloader entries an hence grub entries :(
from main.
Good idea, I'll investigate this.
from main.
Seems to be working now:
[root@trantor ~]# grep Blueconfig /boot/loader/grub.cfg
menuentry 'Fedora Linux 37.20230319.08 (Blueconfig) (ostree:0)' --class gnu-linux --class gnu --class os --unrestricted 'ostree-0-1aea2add-32c3-490f-a467-e00166635fa6' {
menuentry 'Fedora Linux 37.20230318.17 (Blueconfig) (ostree:1)' --class gnu-linux --class gnu --class os --unrestricted 'ostree-1-1aea2add-32c3-490f-a467-e00166635fa6' {
[root@trantor ~]# grep Blueconfig /boot/loader/entries/*
/boot/loader/entries/ostree-1-fedora.conf:title Fedora Linux 37.20230318.17 (Blueconfig) (ostree:1)
/boot/loader/entries/ostree-2-fedora.conf:title Fedora Linux 37.20230319.08 (Blueconfig) (ostree:0)
I moved the change to the PRETTY_NAME
before the rpm-ostree ex rebuild
command (https://coreos.github.io/rpm-ostree/ex-rebuild/), that might have solved it or maybe a new minor version of the Linux kernel was in the base of the Silverblue image, triggering the rebuild of the menu...
It does work after a clean rebase too but I'm not sure if it will work between rpm-ostree upgrade
's when the update doesn't include a new kernel or something that triggers the rebuild of the grub menu.
from main.
Related Issues (20)
- Tracker: New Universal Blue Installer HOT 5
- Documentation or Functionality for Resetting Root Password HOT 22
- Override default systemd emergency service behavior with coreos-su-login-force.conf HOT 10
- [Membership Request] @noelmiller HOT 3
- Add contributor action HOT 1
- Support Transition of Custom Image Tooling into new Project Organization HOT 20
- modify rpm-ostree module to add a repository with a signature HOT 1
- REISUB/REISUO support HOT 1
- KDE Plasma X11 packages for Fedora 40+ HOT 2
- Add and use CODEOWNERS (or other similar tool) HOT 1
- Discussions is locked HOT 1
- "Get current version" step fails silently for internal failures instead of failing the build HOT 1
- Remove "Maximize build space" step where not needed HOT 4
- Adding support for hardware handhelds HOT 4
- Use better defined buildah techniques HOT 1
- image with hyprland wm HOT 2
- Automated retries? HOT 1
- Snapper + BTRFS Assistant to allow automatic BTRFS snapshots and a GUI to manage it HOT 4
- Approver access for Noel Miller HOT 9
- Add a Cosmic build HOT 7
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 main.