[oe] About having a static /dev

Koen Kooi k.kooi at student.utwente.nl
Thu Apr 22 12:34:38 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22-04-10 13:43, Antonio Ospite wrote:
> For my machine (a780) I'd like to have a static /dev whatever image I
> build, I tried setting:
> IMAGE_DEV_MANAGER = ""
> IMAGE_DEVICE_TABLES = "files/device_table-minimal.txt \
>                        files/device_table-ezx.txt"
> 
> But this is still not enough:
>  1. the 'devices' script from initscripts keeps rewriting /dev at each
>     boot, and with a layout different than one would expect by having
>     IMAGE_DEVICE_TABLES set, see also
>     http://bugs.openembedded.org/show_bug.cgi?id=3593

The right answer would be to have image.bbclass create /etc/device_table
from the IMAGE_DEVICE_TABLES vars during do_rootfs.

And of course mark /etc/device_table as CONFFILES in the initscripts
recipe to keep the changes on package upgrades.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL0EJeMkyGM64RGpERAmH7AJ9bEXPhkuaX0Rvo9n8nUE4ds5niNQCfXnVx
cWUbHwV6xcBe5hSoQpGkMIA=
=vw6J
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list