<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY LINK="#0000ff">
On Tue, 2014-04-01 at 18:44 +0100, Phil Blundell wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
On Wed, 2014-02-26 at 11:11 +0000, Matthieu CRAPET wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
Setting IMAGE_DEVICE_TABLE or IMAGE_DEVICE_TABLES to empty string in an image recipe works (makedevs is not called)<BR>
<BR>
<BR>
<BR>
Should be we drop USE_DEVFS variable (meta/classes/image.bbclass) or (re)add check in meta/lib/oe/rootfs.py?<BR>
</BLOCKQUOTE>
<BR>
Having just tripped over this myself, I think we should re-add the check. I was going to post a reply to the original patch submission email but for some reason I can't find it in either my inbox or the web archive.<BR>
</BLOCKQUOTE>
<BR>
Also note that the default for USE_DEVFS was (and is) 1, so the lack of this check is actually causing a difference in the default behaviour. If there's no appetite for reinstating the USE_DEVFS mechanism per se then it seems like it would be a good idea to make the default IMAGE_DEVICE_TABLE be blank in order to restore the previous default of no /dev in the rootfs. <BR>
<BR>
At present you get a somewhat arbitrary-seeming smattering of devices from meta/files/device_table-minimal.txt, including such anachronisms as /dev/ttySA0 and /dev/apm_bios. It's hard to imagine that anybody actually wants this stuff in their rootfs in this day and age.<BR>
<BR>
p.<BR>
<BR>
</BODY>
</HTML>