https://blue-build.org/ logo
installing akmod from rpm?
# questions
s
is it possible to install a kmod from provided rpm(s)? (all the coprs for the module i need are dead/404d) when trying to install in the rpm-ostree module, it does not install due to being run as root:
Copy code
[14:03:36 g.i/t/apple-dots:latest] => #44 15.19 Building /usr/src/akmods/macbook12-spi-driver-kmod-0.5-1.fc41.1.src.rpm for kernel 6.12.9-200.fc41.x86_64
[14:03:36 g.i/t/apple-dots:latest] => #44 15.19 ERROR: Not to be used as root; start as user or 'akmodsbuild' instead.
and the akmods module doesn't seem to take rpms regardless -# is using a non-ublue akmod with a ublue kernel even possible considering signing or something? p.s. the module is https://github.com/almas/macbook12-spi-driver , with a .spec i bodged together to build the three rpms -# ( - akmod-macbook12-spi-driver-0.5-1.fc41.1.x86_64.rpm - kmod-macbook12-spi-driver-0.5-1.fc41.1.x86_64.rpm - macbook12-spi-driver-kmod-common-0.5-1.fc41.1.x86_64.rpm )
a
message has been deleted
x
if you don't have an RPM but are trying to build one, i suggest doing it in a separate repo entirely or with stages https://blue-build.org/reference/stages/
s
oh no i know, i'm just testing with prebuilt ones i put in the repo
built them in a fedora container
x
hmm, your log still says
Building ...rpm for kernel
s
isn't that just what kmods do?
x
you can't really install RPMs without being admin
at least i don't believe so
but @fiftydinar might be able to help you more regarding this
s
i was mainly looking at this as a reference for the spec file btw https://rpmfusion.org/Packaging/KernelModules/Kmods2
i can give more info when i get home
can I just copy them into
/tmp/rpms/kmods/
? aha
x
yeah
probably
s
ah probs not cause it's doing
--mount=type=bind,from=stage-akmods-main,src=/rpms,dst=/tmp/rpms,rw \
lol what if i make a local repo
wait but also
--mount=type=bind,from=stage-files,src=/files,dst=/tmp/files,rw \
so sorta nvm ig
3 Views