One other idea is to just build debian's fakeroot as part of our build
system, use it to do the mknods and any other root stuff we need, but
not actually include it in any of the packages.
http://fakeroot.alioth.debian.org/
wget
http://mirror.mcs.anl.gov/ubuntu/pool/main/f/fakeroot/fakeroo
Bernard Li wrote:
> Was trying to build SystemImager trunk as a non-root user, can got the
> following error:
>
> cd
> /home/bli/rpmbuild/BUILD/systemimager-3.7.2r3474M_bli/initrd_source/buil
> d_dir/dev && mknod -m 660 console c 5 1
> mknod: `console': Operation not permitted
> make: ***
> [/home
Bernard Li wrote:
> Was trying to build SystemImager trunk as a non-root user, can got the
> following error:
>
> cd
> /home/bli/rpmbuild/BUILD/systemimager-3.7.2r3474M_bli/initrd_source/buil
> d_dir/dev && mknod -m 660 console c 5 1
> mknod: `console': Operation not permitted
> make: ***
> [/home
That is an interesting idea.
I do believe that not needing root to build should be a requirement of
ours. It has, however, been a lower priority problem to solve, and thus
has lingered in our build system for a long time.
Are there any other clever ways of solving this problem? Preferably
wher