Can we make akshara run 'grub-mkconfig' only if grub is installed?
I have a deep deep seething hatred for grub that started back in the opensolaris days. I run systemd-boot or refind on all my machines. Can we make the exec call to grub-mkconfig in akshara be configurable based on the presence of grub packages in the expanded system.yaml or perhaps run as a hook? I am a python developer and would be happy to code this up and send over an MR.
45 Replies
why ask?
though I'd recommend testing your edit first to see if blend can actually work with other bootloaders
Thanks for the quick reply! I thought I should be polite I suppose. And I know what it's like to have a dev or architect make demands on a project without learning about the people working on it or how things are done.
οΎδΈο½²δΉε°ΊοΎδΈγΊ received a thank you Jao!
I would be happy to write a test for it. Is pytest OK for the units? Maybe serverspec for the build?
not what I meant
I mean get a VM and test your fork
test alternate bootloaders
instructions for testing are in the akshara README
Should I create a login on this instance and fork into my own namespace?
I'm running systemd-boot with refind right now.
yes, if that's possible
on blendOS?
Yep. The EFI partition id needed to be fixed but that's in the installer.
That is up to the gitlab admin. I will send in a request for a login.
that's getting replaced soon anyway
shit he didn't remove that
I thought he did
Excellent.
Rudra isn't very active so it might be a while
@Rudra
in the meantime you can clone and edit locally
then just change the origin later
only gitlab admin :P
No worries. I was a Chef configuration engineer and a gitlab admin in another life as well. I can help with that too if y'all want.
team members only :(
obv wouldn't grant a nobody admin
if that's what you mean by help
That's what I mean and I am glad you wouldn't just give a rando admin access to your gitlab instance. We can talk later if y'all need help and you decide to trust me.
I will request access on gitlab and build/test/deploy locally in my fork for now.
we have CI if you need
however akshara doesn't need building
the speed improvements are minimal
A gitlab-runner would be nice for running automated tests.
we have 2
3 actually, but the third one is exclusively for ISO builds
Excellent. Is there a project with a gitlab-ci.yml I could look at?
Wait. I see one in image-builder.
there's that and https://git.blendos.co/blendOS/website/-/blob/main/.gitlab-ci.yml
Thanks.
You're thanking too much Γ³_Γ²
I'm in. User is 5y1vn. Looks like I need to wait for an admin to allow me to create projects in my namespace.
again, @Rudra
we gotta remove that
gitlab's permission system isn't granular enough for a "trusted" role or allowing people to only fork apparently
No worries. I'll get coding tonight.
Oh I thought I disabled that, I'll have a look at it real quick!
Just updated your project limit, let me know if it doesn't work!
Thanks for your help! I am getting a different error now.
It says:
@Zezengorri, you've gained the level
1
rs2009 received a thank you Jao!fixed I hope
Same error.
I love gitlab
@Zezengorri logout and back in
Then try again
It worked!
OK. Quick question. For testing, do y'all use
blend-inst
with a config.json
to build your VM disk image?that's to install the end distro
the ISO is built with archiso
ISO Building - blendOS
Building a blendOS ISO
gotcha I'll remove the notice
end distro?
USB/DVD -> disk
end user install
we don't have premade VM images
Perfect. That's what I need. I just wanted to make sure I was using the tools that the end users use.
the sample config.json is still outdated I think
from v3
and it'll be replaced with
calamares
in v5I am building one now.
Yeah, I noticed that a few required keys were missing.
Do you know if
blend-postinst
is used as well?
Is this being worked on now? Calamares would be easier to build images.privately yes
not sure what that does
Found some info. I think it saves what you enter in the base gnome setup after initial install.
https://blendos.co/reference/utils/blend-inst/
blend-inst - blendOS
Reference for our installer
I think I'm all set. I will get a MR over soon.
I haven't seen any commits on your fork
My WIP for akshara is in there. I will be happy to remove the debug logger if it comes up in code review. I need to finish testing the changes in my VM.