Hello,

I'm trying to create a device node in the generated rootfs image:
/dev/net/tun. It is required for openvpn to work. Adding it in the living
system is as trivial as "mkdir /dev/net; mknod /dev/net/tun c 10 200", but
I want it to be there with no manual intrusion required.

I tried several ways:

* IMAGE_DEVICE_TABLES
* IMAGE_DEVICE_TABLE
* adding /dev/net/tun file to the package
* adding a node file to the IMAGE_ROOTFS in rootfs postprocess script
* using postinst script that creates the node

None of it worked.

What is the way /dev is populated? Where do all those 256 (why so many
btw?) pty* nodes come from? How do I create the new node?

Thanks!

--
Anton
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to