On 2013-03-09 01:10 +0100, Sladjan Ri wrote:

> Hi, I want to create an image for a Nexus7 Android device.
>
> I am following this wiki:
> http://wiki.debian.org/EmDebian/CrossDebootstrap#Generating_cross_images_as_root_user
>
> and this command does not work:
> chroot /armelfs_debian sh -c "cd /dev; ./MAKEDEV ttyS0"
>
> Instead it says:
> /bin/sh: 1: ./MAKEDEV: not found
>
> Up to that point there were no errors, I have no idea, what I should do now.

Install makedev in the chroot, or create the device file with mknod
directly (mentioned later on the wiki page):

mknod /armelfs_debian/dev/ttyS0 c 4 64

> Is it even necessary? I mean could I just copy the install to the device at
> this point and setup apt there?

Usually /dev is mounted as a devtmpfs these days, and the kernel
automatically creates device nodes there, so you only need the /dev
directory which can be empty.  But I don't really know Android.

Cheers,
       Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87d2v9m0v9....@turtle.gmx.de

Reply via email to