https://blue-build.org/ logo
rename image os
# questions
n
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?
a
message has been deleted
g
I believe all of that is handled in
/etc/os-release
p
Here is an example script modifiying /etc/os-release https://github.com/winblues/blue95/blob/main/files/scripts/00-image-info.sh
n
So I would put this in files/scripts?
p
Yes, and update your recipe to call it
n
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
j
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.
g
I think I'll experiment and see what I can come up with
j
Thanks @gmpinder, I don't mean to create work for you, just wanted to see what the status of things are 🙂
r
EU OS and all national images that we plan for would also benefit from such a module. 🙂
g
You can try it with
Copy code
yaml
modules:
  - type: os-release
    source: ghcr.io/blue-build/modules/os-release:os-release
    properties:
      NAME: SomeOS
      ID: some_os
      PRETTY_NAME: Some OS
You can specify any key/value (string) pair and it will add/update the value in
/etc/os-release
f
crying on using nushell
x
nushell good
j
For those finding this thread in the future: check out this docs page https://blue-build.org/reference/modules/os-release/
Thanks @gmpinder, just tested this out and it works like a charm.
a
the schema was fucked initially for os-release
3 Views