Luke Skywunker
Luke Skywunker
BBlueBuild
Created by LelouBil on 4/23/2025 in #questions
What is the preferred way of editing ostree config files with bluebuild
We don't have any modules for handling something like that
6 replies
BBlueBuild
Created by LelouBil on 4/23/2025 in #questions
What is the preferred way of editing ostree config files with bluebuild
Script would probably be the best way to go about it
6 replies
BBlueBuild
Created by iron on 3/11/2025 in #questions
Build Cache for GitLab.com
Cool, thanks for that!
8 replies
BBlueBuild
Created by iron on 3/11/2025 in #questions
Build Cache for GitLab.com
It looks like we don't have one. I can try to remember to make one later, or you can write it up
8 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
I ended up going with a sh built-in solution to get that information instead so we don't have to worry about external deps
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
I'm pushing out a patch for this
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
That's a flaw I'll have to try to fix
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
Well...
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
OH! The image itself doesn't have awk
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
So the /etc/os-release of the image doesn't appear to have the correct info
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
That script is pretty small too
#!/bin/sh

if [ -f /etc/os-release ]; then
export ID="$(awk -F= '/^ID=/ {gsub(/"/, "", $2); print $2}' /etc/os-release)"

if [ "$ID" = "alpine" ]; then
echo "Setting up Alpine based image to run BlueBuild modules"
apk update
apk add --no-cache bash curl coreutils wget grep jq
elif [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ]; then
echo "Setting up Ubuntu based image to run BlueBuild modules"
apt-get update
apt-get install -y bash curl coreutils wget jq
elif [ "$ID" = "fedora" ]; then
echo "Settig up Fedora based image to run BlueBuild modules"
dnf install -y --refresh bash curl wget coreutils jq
else
echo "OS not detected, proceeding without setup"
fi
fi
#!/bin/sh

if [ -f /etc/os-release ]; then
export ID="$(awk -F= '/^ID=/ {gsub(/"/, "", $2); print $2}' /etc/os-release)"

if [ "$ID" = "alpine" ]; then
echo "Setting up Alpine based image to run BlueBuild modules"
apk update
apk add --no-cache bash curl coreutils wget grep jq
elif [ "$ID" = "ubuntu" ] || [ "$ID" = "debian" ]; then
echo "Setting up Ubuntu based image to run BlueBuild modules"
apt-get update
apt-get install -y bash curl coreutils wget jq
elif [ "$ID" = "fedora" ]; then
echo "Settig up Fedora based image to run BlueBuild modules"
dnf install -y --refresh bash curl wget coreutils jq
else
echo "OS not detected, proceeding without setup"
fi
fi
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
It appears that stage is using the fedora image
[19:27:32 g.i/a/morrigan:latest] => #49 [nwg-dock 1/4] FROM docker.io/library/fedora:latest@sha256:ee88ab8a5c8bf78687ddcecadf824767e845adc19d8cdedb56f48521eb162b43
[19:27:32 g.i/a/morrigan:latest] => #49 [nwg-dock 1/4] FROM docker.io/library/fedora:latest@sha256:ee88ab8a5c8bf78687ddcecadf824767e845adc19d8cdedb56f48521eb162b43
19 replies
BBlueBuild
Created by aboo on 4/15/2025 in #questions
`awk` and `jq` not found.
Interestingly the setup script couldn't detect the OS for that stage
[19:27:36 g.i/a/morrigan:latest] => #52 [nwg-dock 3/4] RUN --mount=type=bind,from=stage-bins,src=/bins/,dst=/tmp/bins/ --mount=type=bind,from=ghcr.io/blue-build/cli/build-scripts:80a768cc49bd7f16a443ef000b0382610c4af32f,src=/scripts/,dst=/tmp/scripts/ /tmp/scripts/setup.sh
[19:27:36 g.i/a/morrigan:latest] => #52 0.069 OS not detected, proceeding without setup
[19:27:36 g.i/a/morrigan:latest] => #52 0.069 /tmp/scripts/setup.sh: line 4: awk: command not found
[19:27:36 g.i/a/morrigan:latest] => #52 DONE 0.2s
[19:27:36 g.i/a/morrigan:latest] => #52 [nwg-dock 3/4] RUN --mount=type=bind,from=stage-bins,src=/bins/,dst=/tmp/bins/ --mount=type=bind,from=ghcr.io/blue-build/cli/build-scripts:80a768cc49bd7f16a443ef000b0382610c4af32f,src=/scripts/,dst=/tmp/scripts/ /tmp/scripts/setup.sh
[19:27:36 g.i/a/morrigan:latest] => #52 0.069 OS not detected, proceeding without setup
[19:27:36 g.i/a/morrigan:latest] => #52 0.069 /tmp/scripts/setup.sh: line 4: awk: command not found
[19:27:36 g.i/a/morrigan:latest] => #52 DONE 0.2s
19 replies
BBlueBuild
Created by RoyalOughtness on 1/23/2025 in #questions
multiarch tags?
I can work on this feature next. I've just been so busy lately
16 replies
BBlueBuild
Created by Makari on 4/8/2025 in #questions
Papirus-folders script fails when the image it's based on bazzite-dx
You might need to chmod +x the file
6 replies
BBlueBuild
Created by Makari on 4/8/2025 in #questions
Papirus-folders script fails when the image it's based on bazzite-dx
Have you checked to make sure that program is executable?
6 replies
BBlueBuild
Created by Nix Eyes on 4/3/2025 in #questions
rename image os
I believe all of that is handled in /etc/os-release
10 replies
BBlueBuild
Created by Nix Eyes on 3/31/2025 in #questions
Where in the recipe do I query post installs?
Yeah. The most that can be done is create an issue for them
10 replies
BBlueBuild
Created by Nix Eyes on 3/31/2025 in #questions
Where in the recipe do I query post installs?
You can't, that's on upstream to change it. I've put in issues about it before for other images but they don't keep it consistent
10 replies