But I build packages in Trixie VM as normal user, so you should be able to do the same.
Unfortunately, I can't. I mean, I need the root privileges both on my VM and on my desktop (both Trixie). The only difference is that on the VM I am using the ./build_module script, which asks for sudo password, whereas on the desktop machine I build with `sudo ./debian/rules binary`. If I don't use sudo in that last call I get a failure saying I need root priviliges.
As you have seen, in debian-based distro building and working on TDE modules is pretty much a breeze.
While I agree that the build scripts help a lot, I would not call the process a breeze. Four weeks in and I still don't have everything I should have in order to fully test my changes. My VM still does not run in graphical mode, which means that for now I can only test changes I make on the r14.1.x branch, because those I can run on my desktop.
Side note: It does not help that kernel shipped with Trixie has a bug [1] that prevents running it under VirtualBox. This means I had to switch to QEmu. In principle, I don't mind that and would love to move away from VirtualBox. VirtualBox does not support DKMS so I have to sign kernel modules manually after every update, which is a pain. QEmu is better in this regard. At the same time, it is a steep learning curve and that slows things down.
Cheers, Janek
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119137