Timo Savola wrote:
On Fri, 2007-02-23 at 15:39 +0100, Michael Trimarchi wrote:
I have installed sudo inside scratchbox and I chage the permissione
outside but I can't use it to create a device using the mknod. Is there
an alternativies?
Fakeroot.
Scratchbox's mknod is magical: it creates the device node
"/targets/TARGET/dev/NODE" when you invoke "mknod /dev/NODE ...", but it
only succeeds with fakeroot. The idea is to create device nodes and
package them up ("mkfs.jffs2 --root /targets/TARGET ...") while in the
same fakeroot session (or by saving+loading the fakeroot database).
timo
What Michael forgot to say, is that he already tried to use
fakeroot mknod
but it didn't work (mknod creates a normal file instead of a device).
Therefore, he tried using sudo...
Any idea of how creating a device /dev/ttyS0 inside Scratchbox ?
Thanks,
Claudio
--
=================================
Claudio Scordino
Software Engineer
Evidence Srl
Embedded Real-Time solutions
http://www.evidence.eu.com
=================================
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users