debian-mini-odroid-c1 icon indicating copy to clipboard operation
debian-mini-odroid-c1 copied to clipboard

Use fakeroot instead of requiring root

Open mkesper opened this issue 10 years ago • 3 comments

Hi,

I think it should it be possible to use https://wiki.debian.org/FakeRoot instead of requiring root for building. Building kernels as root is strongly discouraged.

mkesper avatar Feb 17 '15 14:02 mkesper

I agree it is discouraged and I generally don't like the idea of doing stuff as root, either. But I don't think you can mount block devices using fakeroot. Root privileges aren't really needed to build the kernel, all they are needed for are for mounting the image file, formatting it, and copying over the data.

tomuta avatar Feb 18 '15 15:02 tomuta

How about separating make and "make install" (as root) then?

mkesper avatar Feb 18 '15 15:02 mkesper

That would be an option.

tomuta avatar Feb 21 '15 18:02 tomuta