Quoting Diane Holt <[EMAIL PROTECTED]>:
Hi,

you are right!!!

regard Michael


Run just 'fakeroot' and do all your commands from "inside" there, or use the
-s and -i flags (see the fakeroot man-page for details).

Diane

On 2/23/07, Claudio Scordino <[EMAIL PROTECTED]> wrote:

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




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to