rename image os
If I wanted to rename from bluefin to something else what how would I do that the image name does not seem to do that. Also how would I create a custom personalized DE just with system files?
Solution:Jump to solution
Here is an example script modifiying /etc/os-release https://github.com/winblues/blue95/blob/main/files/scripts/00-image-info.sh
16 Replies
I believe all of that is handled in
/etc/os-release
Solution
Here is an example script modifiying /etc/os-release https://github.com/winblues/blue95/blob/main/files/scripts/00-image-info.sh
So I would put this in files/scripts?
Yes, and update your recipe to call it
okay let me try that rq if you don't mind
okay that built fine will it update in the fastfetch the os name or is it better I create a fastfetch config file
nvm it updates just fine now time to create a fastfetch logo 🙂 thanks
I hope ya'll don't mind me reviving this, but I have a couple of related questions.
- The linked script from blue95 looks like it'd make for a great BlueBuild module. Has that work already been done somewhere, or would it make a good contribution?
- What specific var in the os-release file would change the text in my boot menu, and
rpm-ostree status
? I get confused when the images say (Silverblue) after the version number, because I also sometimes try vanilla Silverblue images which at this point are quite different than my BlueBuild image.
Thanks in advance.I think I'll experiment and see what I can come up with
Thanks @gmpinder, I don't mean to create work for you, just wanted to see what the status of things are 🙂
EU OS and all national images that we plan for would also benefit from such a module. 🙂
GitHub
feat: OS Release Module by gmpinder · Pull Request #417 · blue-bu...
This is a simple module designed to update the /etc/os-release variables. It's as easy as:
type: os-release
properties:
NAME: WunkerOS
ID: wunker_os
PRETTY_NAME: Wunker OS for Nvidia
...
You can try it with
You can specify any key/value (string) pair and it will add/update the value in
/etc/os-release
crying on using nushell
nushell good
For those finding this thread in the future: check out this docs page https://blue-build.org/reference/modules/os-release/
BlueBuild
os-release
The
os-release
module offers a way to modify and set values in the /etc/os-release file in your image.Thanks @Luke Skywunker, just tested this out and it works like a charm.
the schema was fucked initially for os-release