Is sudo truly necessary for mixer?

Hi there. I’m starting to play around with mixer to tweak (and eventually supplement) the stock packages, and I’ve noticed that mixer build doesn’t seem to work without the use of sudo as well. Why is this and is there a way around it?

Thanks!

Because it mocks build under /use/* directory

I thought I had read that it used docker to make the magic happen and on first glance, that’d obviate the need for root privileges, given membership in the docker group, at least. Is that not the case? Where should I be looking for these answers and the like?

Source code and documentation of autospec

It’s unfortunately very complex, and it still relies on tools that require root access. Most importantly, losetup needs to be run with root permissions.