Building akmod drivers into bootc image with Fedora 44

Hi.

Here is the tl;dr version of the problem:

Starting from Fedora 44 akmod will fail building and installing drivers as root.

Expanded description of the issue:

Inspired by CleoMenezesJr/bootc-fedora-gnome-macbookair I attempted to build my version of Fedora Budgie Atomic (alike) with all drivers included for my old MacBook Air A1466. Unlike Cleo, I decided to install Budgie (by installing the budgie-desktop group) on top of the quay.io/fedora/fedora-bootc:44 base image. I managed building and installing my custom Fedora Budgie Atomic 44 image containing all necessary akmod drivers, but it felt half-cooked. E.g., it lacked other components which comes with “stock“ Fedora Budgie Atomic 44. And because I could not find what the other missing packages are, I decide to try building my custom image off the quay.io/fedora-ostree-desktops/budgie-atomic:44 unofficial image, hoping it will pull in all missing packages of the Fedora Budgie Atomic44. Also, I found that this image is also used by Ublue project in attempt for UniversalBlue variant with Budgie.

And there I have a problem - akmod wont build and install driver packages:

ERROR: Not to be used as root; start as user or 'akmodsbuild' instead.

I tried different approaches with non-root user, but with no success. Could anyone advise on building akmod drivers while building bootc image based on Fedora Atomic desktops ?

Regards

ArtūrasB.