75 Replies
lets move to a thread actually
then on
build.sh add dnf install -y /tmp/akmods-rpms/*wl*.rpm
@Ⓐ TriVoxel ☭@tulip Does Bluefin use the mainline Fedora kernel or CoreOS?
mainline, its just pinned
I think this line
FROM ghcr.io/ublue-os/akmods:${FEDORA_VERSION} AS akmods is breaking stuff because it should be something like akmods:main-$(FEDORA_VERSION)
But, the FEDORA_VERSION var is unset in this environment, meaning I'd need to hard code ityup, try setting it to 42 or something
Hmm... seems like the files aren't there
/tmp/akmods-rpms/*wl*.rpmthats odd
lemme check actually
which fedora version did you set?
42
I'm gonna try
/tmp/akmods-rpms/kmod/...
Yeah, that should do it:
hmmm
seems that
rpms/kmods/kmod*wl*.rpm is what you wantYeah
what was the repo?
GitHub
bluefin-macbook/Containerfile at main · TriVoxel/bluefin-macbook
Bluefin for Twenty-Teens MacBooks (Includes broadcom-wl/akmods/kmod-wl) - TriVoxel/bluefin-macbook
here, saving it
Yep
See, I cheated and just injected an ls command to print out the files in the log, haha!

this seems to be the issue
maybe
dnf install -y kernel-rpms/kernel*???
but you'll also need another bind on RUN
sec
like thisAlright, trying this out
@tulip Seems to be some kind of error about a package filter?
man you really got the worst thing to ever make an image out of eh
🤦
Guess so lmao
So, seems like it doesn't want me to overwrite the base kernel files
found it!
dnf5 versionlock remove kernel kernel-devel kernel-devel-matched kernel-core kernel-modules kernel-modules-core kernel-modules-extra
@Ⓐ TriVoxel ☭ remove this first, then change kernel stuff
apparently thats why its blowing up
bluefin locks the kernel version after installing the kernel so it doesnt get any problems later in the buildOkay! Thank you, OMG!
I'm testing this out right nw
the suspense is killing me
bruh
Oh, it should be "delete"
GitHub
Update build.sh · TriVoxel/bluefin-macbook@d2319d2
Bluefin for Twenty-Teens MacBooks (Includes broadcom-wl/akmods/kmod-wl) - Update build.sh · TriVoxel/bluefin-macbook@d2319d2
So, it doesn't like the kernel I'm trying to patch in or something
I see, it is trying to install two versions of 3 packages, to satisfy dependencies of some other packages. Yay, dependency hell!
i forgor sorry 💀
nah u good
Hmmm... I think we are installing too many things with kernel*
i wonder if you could literally delete the kernel then re-add it
I mean, I don't need kernel-devel for example
Oh no, don't tell me...
did it work or nah

oh shit its looking like its doin something
I mean... it's further than last time
it removed some other akmods that you probably dont need
Yeah. Don't need any framework or xone stuff I might need to manually re-add some of the stuff
Oh, actually, it is installing those same things again anyway, cool!
[12/32] Installing kmod-wl-0:6.30.223.2 100% | 166.3 KiB/s | 1.4 MiB | 00m09s
@Ⓐ TriVoxel ☭ SUCCESS
LES GOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
you really did get literally the worst thing to do
this thing should update until the end of times now
or at least until ublue-os/akmods drops
kmod-wl
by then we'll have a better solutionOof!
what
My build failed anyway
you dont need that modprobe enable there at the end LOL
you need to do ummm
Because I added a line to enable modprobe wl oof
nono wrong thing
you need to add it to
/etc/modprobe.d🥺 👉 👈
Ah, ok
echo "wl" | tee /etc/modprobe.d/wl.conf
instead of modprobe enableAh, yeah ok
Wouldn't it be
echo "enable wl" | tee /etc/modprobe.d/wl.conf tho?
Or does it not need "enable"?i don know :)
googling it
you might want to just check that directory on your system
Meh, I'll just build the image, update it, and then add whatever
modprobe enable wl spits out
I guess when Bluefin rebases to F43, then F44, etc. I will need to go in and hard code the version numbers which kinda sucks but at least it's minimalseems that you dont need to do it actually
huh?
Can I use
:stable or :latest instead of :main-42bluefin itself seems to be using some dynamic stuff
on the image itself
Huh
NGL, this was a lot of trouble to get working, but it's really really cool!
Really democratizes linux distro creation
The dream is possible, everyone can have their own Linux distro! 😂
instead of doing all that bs we were doing with FROM it seems that you can litearlly just put this on top of ur build.sh
just remove the FROM and put this as your run
this is literally the hardest stuff, everything else is 1000000 thousand times easier than this LOL
this also means you are ready to contribute to bluefin btw
Yippee!
TBH, my only strength is Shell and CSS
My programming skills are weak, but my Shell skills are cracked
we really need help on the website 😭
I literally wrote a multi-threaded and performant bash script that brute force hacked my gas utility using low security web api's so I could figure out if I had a fair rate 💀
It had a lot of features omfg am I a bad person?!
The website is cute tho!
I love the dinos!
Wow! This update removes a LOT of packages 👀
surprisingly enough this seems safe
except for ublue-brew being removed... hmmm...
its aight though
lets see i guess LOL
I mean, I still have desktop...
At least this is an A/B system holy crap
yeah LOL
its techinically not a/b btw
you can have an arbitrarly large amount of images you can use at one time
Ah gotcha
kernel panic! 💀

Dang grandma, the thing isn't touchscreen 😭
@tulip we're cooked!
LOL
did it not even boot?
Yippeeeeeee!
Well, I was able to switch to ostree1
thats impressive ngl
yuh
I have a gift
im guessing it didnt even try loading the wl module
No
Probably not
Didn't even load the kernel
Okay, I got the kernel log
This seems to include both boots? Or, maybe just the most recent successful one? I can't really say.
Getting this one a lot:
[FAILED] Failed to start systemd-remount-fs…mount Root and Kernel File Systems.
Yeah, no. This is just the most recent successful boot. I guess the /var must not be shared between ostree images.
Hmmm... seems like I/O does not work during a panic, so it wouldn't even be logged anyway
I'm going to try this and also switch from bluefin:stable-daily to bluefin:stable and re-build the image
I think it might not work to remove all the kernel stuff and then add the new kernel stuff over top maybe?
@tulip The patch you suggested to keep everything synced seems to not work as expected.
This is some debug output from the Actions run.
It isn't formatted the same way when we download the image through docker.
Instead of getting the folder of RPMs to install like before, we get
This is the ls of that /tmp/akmods/ directory which was unpacked by Docker.