[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Packaging /dev entries as non-root



Axel Thimm wrote :

> I am converting the current atrpms build environment from using root
> to using a non priviledged user for building.
> 
> While assigning ownerships/modes can be done with attr, I now stumbled
> over /dev entries. Is there a method to mknod as non-root (possibly
> not), or to register /dev nodes in the rpm like with attr? Thanks.

Take a look at my alsa spec file. I've created an /etc/makedev.d/ entry to
allow easy recovery of the entries if needed, and put the /dev entries into
the file list of the package using MAKEDEV with the -d switch.

http://freshrpms.net/packages/builds/index.html?build=alsa-driver

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Raw Hide 20030824 running Linux kernel 2.4.21-20.1.2024.2.1.nptl
Load : 0.21 0.36 0.43




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []