BlueBuild

B

BlueBuild

Join the community to ask questions about BlueBuild and get answers from other members.

Join

Access tag/version from script module

Dears, In a container file, I run a command to set the /etc/os-release file. I can do this with the files or script module of blue-build. If I want to set the VERSION to the currently build tag of blue build, I guess I have to use the script module. Can you tell me how I can access in such scripts the version tag? This is how the file looks like for fedora kinoite:...

Booting to Aurora-DX fails but still falls back

I am having trouble booting my Aurora-DX: stable but it I cannot seem to load stable-20250608.1 or any future or past version. I have tried Latest, 42-20250606, and even on that is matching the current working one 42-20250601.1. Is anyone else having or had an issue booting? Here is a link to my image. Can someone please take a look and point me in the right direction or what to look for? Thanks. https://github.com/CITWil/wil-os/blob/main/recipes/recipe-work.yml...
Solution:
This will take a while, but I would start by commenting out one module at a time, build, upgrade and see if removing that module fixes the problem

`loading sysroot: Parsing deployment [...] in stateroot 'fedora': readlinkat: No such file [...]`

i have no idea if this is the right place to ask this type of question but after searching and seeing a lot of people asking the same thing on various different forums but all either have literally no solutions or are a different configuration and since i am using a bluebuild image, might as well ask here. i think yesterday i may have physically mishandled my laptop while it was still shutting down and may have made it crash mid shutdown process, and i woke up to trying to turn it on and being greeted to emergency boot. it took a whole morning and some bits of an afternoon to fix but i did manage to get booted again by directly modifying a grub entry from a live environment (the issue itself is that, i believe rpm-ostree or something was probably doing some background processing stuff while shutting down - i may have somehow managed to interrupt it in between that point, so the system got upgrade but none of the configurations did, so everything is trying to point and use directories such as /ostree/boot.0/fedora/xxx when they don't exist while /ostree/boot.1/fedora/yyy do) which thankfully got me booted, but sadly all rpm-ostree commands don't work at all....
Solution:
This might be what @fiftydinar ran into before. He made a detailed comment on this issue https://github.com/ostreedev/ostree/issues/2283...

bluebuild doesn't like tabs for indentation in recipes?

So, GitHub actions is reporting that apparently from my recipe file, the first column is invalid ``` × Recipe ./recipes/recipe.yml failed to validate ╰─▶ × Failed to deserialize recipe ./recipes/recipe.yml ╰─▶ found character that cannot start any token at line 10 column 1,...
Solution:
The yaml file specification requires the use of spaces instead of tabs when indenting

how can i install custom kernel in my image?

how can i install bazzite kernel (and other kernels) in my image?
Solution:
when you want to do something that bazzite or bluefin does already, usually it's easiest to just check how they do it

Is it possible to use self-hosted runner?

I have a home server and I would like to run my builds on that, I setup a proxmox lxc container, installed docker, and installed github action runner onto it and have it connected to my library. Keep getting errors during build, has anyone else got this setup and have any suggestions?...

nvidia and base image issue

Hello, i've been running into this issue and its very annoying: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/739 . I think I'm using the open kernel modules because modinfo -l nvidia says the license is Dual MIT/GPL. I wanted to switch to the closed source drivers, but I realized that the ublue-os/hwe repo I was using for my base was archived https://github.com/ublue-os/hwe. Is there a recommended way to install the closed source nvidia drivers? I noticed the thread about an nvidia installer module but thats not ready yet. ...

GitHub-Action Issue

Hi, I just wanted to restart my experiments with BlueBuild, today. One month ago, it worked: https://github.com/SteVio89/stevio-os/tree/b0a297007afc3d2ef1c6b03bf405aefb9e5a0f62, but I had some other issues and stopped it. Today I decided to give it another try. Locally, I can build the image, but it did not work with the GH-Action workflow. Always getting the same error: https://github.com/SteVio89/stevio-os/actions/runs/15099470535/job/42438517867 ...
Solution:
fix after I added files/.gitkeep

External Command had a non-0 exit code with dnf module.

When I'm trying to build an image that uses the new dnf module's replace feature, I get the following result from my CI build. ``` [21:34:17 g.i/a/morrigan:latest] => 68.21 Packages for argument 'hyprpaper' available, but not installed. [21:34:17 g.i/a/morrigan:latest] => 68.21 Packages for argument 'hyprlock' available, but not installed. [21:34:17 g.i/a/morrigan:latest] => 68.22 External command had a non-zero exit code...
Solution:
oh hey i think i fixed it

Installing intel vTune issue

Hey everyone, i added the intel vtune repo and installed the package, but its not anywhere on my machine. when i do rpm -qa | grep intel-oneapi-vtune, it shows up, and when i try to do rpm-ostree install intel-oneapi-vtune, it says error: "intel-oneapi-vtune" is already provided by: intel-oneapi-vtune-2025.3.0-15.x86_64. Use --allow-inactive to explicitly require it. But when I try to uninstall it, i get error: Package/capability 'intel-oneapi-vtune' is not currently requested. anyone know how to fix this?...
Solution:
This might be a package that installs into /opt. You'll want to use the optfix part of the dnf or rpm-ostree module

Can scripts ran from the `scripts` module be given arguments?

Scenario is as follows, I have a simple build-script type situation going on for building something with cargo, then installing it and cleaning up build deps I'd like to make it more re-usable, so instead of hard-coding the git repo URL I wanted to take it in as $argv[1] (in fish) But I am unsure, if I do something like:...
Solution:
seems it takes that as one argument, not as script + argument That explains it, should probably be documented...

How do I troubleshoot `bluebuild switch`

I downloaded the blue95 installer and loved it, wanted to try the blue7 module. I ran the just build for blue7 and it ran bluebuild switch -- the script said it was installing the new image but when I rebooted, the old image came back up. How might I go about diagnosing why it failed?

Interest in a nvidia installer module?

Hi there, I've recently run into some issues with the nvidia drivers and realised that because I'm using Ublue's base images I need to install the drivers myself like it's done for Bluefin and other images. My question is: now that I'm working on it, would people find it useful as a module? Can't promise immediate results, but will try to do my best 🥲 Cheers...

black screen after update

I made some adjustments to my image recipe, such as using dnf instead of rpm-ostree, removing and adding some packages and enabling the negativa17 repo, but nothing, beyond that, that would cause boot problems. I'm suspicious of an option that is this: ```yaml install: install-weak-deps: false # Whether to install weak/recommended dependencies....

how to do automated testing of receipts/images in general

while i found the tools for building - i'm wondering if there are any tutorials on doing automated tests for the intended behavior of a image and/or its attended/unattended installation i want to create images for my systems that are accompanied by code that shows they work...

installing packages from a copr repo does not work

``` install: skip-unavailable: true # skip unavailable packages install-weak-deps: false # Whether to install weak/recommended dependencies. packages:...
Solution:
Did you make sure to add solopasha/hyprland in your repos.copr section?

Pulling manifest failed using rpm-ostree update

I generated an ISO from a remote image and installed it onto a VM. I'm running against the below issue. Any idea how I can sort this out? ``` student@fedora:~$ rpm-ostree status State: idle AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot...
Solution:
Okay, I solved it like this:
sudo bootc switch ghcr.io/myUser/myImage
sudo bootc switch ghcr.io/myUser/myImage
...

Generating an ISO from a local image built with Podman

I've built my image with Podman. How can I generate the ISO from the local image? bluebuild generate-iso seems to use the Docker engine....
Solution:
You would use bluebuild generate-iso recipe ./path/to/recipe.yml for that

2 images

Is it possible to build two images in the same repo? (one from bluefin and one from bazzite)? Thank you...
Solution:
then you can reference both recipes in build.yml (if you want to use 1 job) or create a new build.yml file

Asking for advice on building images locally

Hello everyone, I am wanting to build my image locally instead of on the cloud like github. What would be the best way to go about this? I do not have a separate computer for me to use, only the one that is running discord right now...
Solution:
You can install the bluebuild CLI (or, it should already be installed if you are on your custom image)