https://blue-build.org/ logo
intended way to slip in a kernel module in bluebui...
# questions
m
I'm curious if bluebuild is better than ublue-template at this, this is what I had to do in ublue-template (you also have to change the containerfile and justfile and build.yml)
Copy code
sh
# Hermes
kver="$(rpm -q --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel-core | sort -V | tail -n1)"
dnf5 -y install "$(curl_gh https://api.github.com/repos/MrOz59/Hermes/releases/latest \
    | jq -r --arg ver "$fedora_ver" '[.assets[].browser_download_url] |
    (map(select(contains(".fc" + $ver))).[0]) // (map(select(contains(".fc"))) | sort[-1])')"
git clone https://github.com/MrOz59/Hermes-KMS.git --single-branch \
    -b "$(curl_gh 'https://api.github.com/repos/MrOz59/Hermes-KMS/tags' | jq -r '.[0].name')" /tmp/hermes-kms
cd /tmp/hermes-kms
make modules KERNELRELEASE="${kver}" KDIR="/usr/lib/modules/${kver}/build" && \
make modules-install KERNELRELEASE="${kver}" DESTDIR=/
"/usr/lib/modules/${kver}/build/scripts/sign-file" sha512 /run/secrets/SB_KEY /run/secrets/SB_CERT \
    /usr/lib/modules/${kver}/extra/hermes-kms/hermes_kms.ko
a
message has been deleted
i
Also interested in this and if there's a specific way to go about it. Bluebuild successfully builds everything else if I remove the steps to installing this driver, but trying to get it to work seems to fail at every single step - even from simply cloning the git or trying to install dkms before even getting to building and installing the module