BlueBuild

B

BlueBuild

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

Join

Is it possible to create distrobox image using bluebuild?

Is that supported? i think the difference between custom image and distrobox/toolbox image is they use mutable base and use dnf/apt/pacman to install package.

i need help to include executable scripts to my images, is there any way i can include them?

i want to include some universal scripts in my distro but i dont wanna go trough the horrible pain of hosting simple scripts with copr

ship image with containers?

I'm curious is there is a way to ship an image that deploys defined containers out-of-the-box? Let me know if there's a simple way to do this...
Solution:
podman quadlets are a good way to do this

BlueBuild failing to run scripts on local rebase

Just started to encounter an issue when trying to build an image locally using bluebuild CLI. Whenever I run the scripts module, the build fails when it tries to run a specified script. I have two scripts, and they both suddenly have this issue. I haven't changed these scripts in a while, but perhaps I missed a note that they need to be relocated? The error I'm getting:...
Solution:
This looks like this is a carriage return character. That's usually inserted when it is being edited on a Windows based machine. Try deleting the line and re-adding it in a Linux based environment. That might get rid of that carriage return character in your script.

unable to auth to rebase my image

```podman login ghcr.io Authenticating with existing credentials for ghcr.io Existing credentials are valid. Already logged in to ghcr.io thaleous@bazzite:~$ rpm-ostree rebase ostree-unverified-registry:ghcr.io/m3m3-0s/meme-os Pulling manifest: ostree-unverified-registry:ghcr.io/m3m3-0s/meme-os...

builds failing on module format

All my builds are now failing with this new issue: [18:18:48 ERROR] => Failed: × Improper format for module. Must be in the format like: │ type: module-name...
Solution:
it is not possible to define the top-level key type: twice

"curl: option : blank argument where content is expected" while building

hello, i started getting an issue recently after doing the /etc/ migration where for some reason curl stopped working my script. here's the part where it errors in the github action, and here's the part of the script where i believe it begins to error out. no idea whats happening since this worked fi...
Solution:
Yeah set -x is your friend when it comes to debugging a bash script

support for surface?

I see that ublue is no longer actively supporting surface images, I have a surface and was going to create my own blue-build image specifically for it. How should I go about doing this?
Solution:
-surface images are still available, they are not abandoned

image no longer building, stuck at akmods

My images no longer build, getting stuck on the akmods module, not sure if this is a big or if I did something wrong. here is my repo: https://github.com/nobodywatchin/myOS/actions/runs/10357119514/job/28668480905...

Seem to have lost origin ..

Hi, I hope I am in the right channel. I installed bluefin-dx-nvidia, then built my own image off of that using blue build. I rebased to my build, which kind of worked; the problem I have is that almost all of the base packages and configs from bluefin-dx-nvidia are now gone, and the only things installed are those things I explicitly called to be installed in recipe.yml. I suspect that is because somehow I broke the origin, and I don't know how: dave@dave-xps17:~$ sudo ostree admin status default fa461d3c81640dbf4179cb8aded5ec2765b0805313e7eaf5fe1806213e9941c5.0 origin: <unknown origin type>...

a snippet cloning from a repo is failing

```Running snippet mkdir -p /tmp/orchis-theme/ && cd /tmp/orchis-theme/ && git clone https://github.com/vinceliuice/Orchis-theme.git && cd Orchis-theme && ./install.sh -d /usr/share/themes/ Cloning into 'Orchis-theme'... error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) error: 40 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet...
Solution:
fixed it by adding depth=1

change the system name

let's say im building on top of bazzitee, i dont want the word bazzite in the terminal or any other place, even in boot menu

github failed to build

ERROR: failed to solve: process "/bin/sh -c /tmp/scripts/run_module.sh 'script' '{"type":"script","snippets":["curl -L https://urbit.org/install/linux-x86_64/latest | sudo tar xzk --transform='s/.*/urbit/g' -C /usr/bin && sudo chmod +x /usr/bin/urbit"],"scripts":["initramfs.sh","remove-wp.sh"]}' && ostree container commit" did not complete successfully: exit code: 1 [13:53:14 ERROR] => Failed to build image Error: Process completed with exit code 1. github fails to build even tho it build successfully locally...

why when installing rust build fails

sudo: unable to send audit message: Operation not permitted Running snippet curl --proto =https --tlsv1.2 -sSf https://sh.rustup.rs | sh info: downloading installer rustup: Unable to run interactively. Run with -y to accept defaults, --help for additional options Error: building at STEP "RUN --mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw --mount=type=bind,from=stage-modules,src=/modules,dst=/tmp/modules,rw --mount=type=bind,from=ghcr.io/blue-build/cli:4f235be4f7ec2aa1a462565f4ba797554ac62edb-build-scripts,src=/scripts/,dst=/tmp/scripts/ --mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-meme-os-latest,sharing=locked /tmp/scripts/run_module.sh 'script' '{"type":"script","snippets":["curl -L https://urbit.org/install/linux-x86_64/latest | sudo tar xzk --transform='s/.*/urbit/g' -C /usr/bin && sudo chmod +x /usr/bin/urbit","curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh"],"scripts":["initramfs.sh","remove-wp.sh"]}' && ostree container commit": while running runtime: exit status 1...

OS_VERSION in recipe.yml

https://blue-build.org/reference/recipe/ while defining the rpm-ostree module in reciple.yml it refers to %OS_VERSION% in the from section like so ``` - type: rpm-ostree repos:...

Extreme stuttering after rebasing to my blue-build image.

I had to reinstall, but after installing the base Fedora Kinoite, attempting to rebase (unsigned) to my regular image returned with an unusable system. Wiped the drive and tried again with the same result. Despite the stuttering, I somehow managed to get Konsole up and ran the signed rebase command, only to be given an invalid refspec error (I triple-checked to make sure the command was correctly entered). Not really sure how to proceed?...
Solution:
It was a ublue issue and it’s been fixed.

Nvidia version driver miss-match

Reasonably stumped, it appears that I'm running the Nvidia 555 akmods but the userspace tools are still on the 560 versions. Someone in general mentioned they pinned the images to 555, but it appears that the user space tools are still the 560 version https://github.com/iotku/atomic-tiles...
Solution:
looks like they fixed it
No description

What is the `main` image in cli module documentation?

Some modules such as https://blue-build.org/reference/modules/copy/ say that This module is currently only available with the use_unstable_cli option on the GHA or using the main image. When building locally, what does the main image here refer to? Is this tied to using only ublue-main images? I've tried using each of the following 4 images in distrobox.ini, and none of these 4 seems to have any --help option to enable use of type: copy. Building images locally seems to ignore these modules altogether. The four images I've tried and the distrobox.ini configuration: ``` [bluebuild]...
Solution:
it's about the order of your $PATH, i add .local/bin/ in my config.fish so it takes precedence

GCC dependency error failing build

https://github.com/Oakleafknight06/startingleaf/actions/runs/10269043686/job/28413563567#step:2:3461 (This should go to the correct spot, if it doesn't its line 3434.) There is some dependency error with gcc installed by brew. Any ideas where I would fix this?...
Solution:
I've been getting this error for two builds now too, I don't think there's anything we can do about it, just upstream being spotty

16.26 error: No installed package matches 'libglapi-24.1.4-3.fc40.x86_64'

Hi guys, I have trying this over the weekend and was trying to install Steam. I have a feeling I may have been going about it the completely wrong way so I apologise if I have overlooked something simple. I kept getting build errors adding steam because it could not install packages from both the system and I presume the rpmfusion repo. I used removes and installed in the recipie to get the rpmfusion ones to download and am now left with the error in the title. I have tried to find this package and the only play I could find it is the koji website I believe. Am I going about this the wrong way? And feedback will be greatly appreciated. I'll be honest I have not used much rpm-ostree I have a Vanilla (from fedora direct website, non os-blue) install at the moment and have only done a small amount....
Solution:
If you need Steam, Bazzite has it layered