I'd like to build SystemImager 3.8.0 RPMs myself, but the build process bombs
out for a non-root user:

(lines deleted)
# If build OS has /lib64, link it to /lib
test ! -d /lib64 || ( cd 
/tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir && ln -s lib lib64 )
mkdir -p -m 0755 /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/proc
mkdir -p -m 0755 /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/root
mkdir -p -m 0755 /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/sbin
mkdir -p -m 1777 /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/tmp
mkdir -p -m 0755 /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/usr
mkdir -p -m 0755 
/tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/usr/bin
mkdir -p -m 0755 
/tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/usr/sbin
mkdir -p -m 0755 /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/var
mkdir -p -m 0755 
/tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/var/run
cd /tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir/dev && mknod -m 
660tty1 c 4 1
mknod: `tty1': Operation not permitted
make: *** [/tmp/rpmbuild/systemimager-3.8.0/initrd_source/build_dir.prep] Error1
error: Bad exit status from /tmp/rpmbuild/rpm-tmp.64287 (%build)

----

Question: How do I enable a non-root user to build SystemImager RPMs, since
there seems to be restrictions in creating device files for unpriviledged users 
?

-- 
Ole Holm Nielsen
Department of Physics, Technical University of Denmark

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sisuite-users mailing list
sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to