[oe] Problem with makedevs

Andrea Adami andrea.adami at gmail.com
Thu Feb 10 09:02:48 UTC 2011


On Wed, Feb 9, 2011 at 10:54 PM, Filip Zyzniewski
<filip.zyzniewski at gmail.com> wrote:
> Hi,
>
> I think there is a problem with makedevs scripts. When I build
> bootstrap-image for jlime-2010.1.conf, the makedevs binary is a
> symlink to busybox.
>
> During bootup it complains about the way it's called from /etc/init.d/devices:
>
> /sbin/makedevs -r / -D /etc/device_table
>
> The proper way for this binary is:
>
> /sbin/makedevs -d /etc/device_table /
>
> It surprises me that nobody has noticed this before - is my
> configuration somehow unique? Jlime config file isn't overriding much
> here...
>
> What is a proper fix for this?
>
> bye,
> Filip Zyzniewski
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Filip,

reading your post I remember now I had a related issue creating initramfs:

[20100624 00:31:46]	<ant___>  	in the rootfs of myimages there is any
/dev/input/event, even though is listed in device-tables-minimal
[20100624 00:32:21]	<ant___>  	I mean before launching udev
[20100624 00:32:37]	<ant___>  	or in my case in an initramfs
[20100624 00:33:02]	<ant___>  	seems an issue with makedevs

[20100624 00:35:42]	<ant___>  	the command in image.bbclass is:
makedevs -r ${IMAGE_ROOTFS} -D $devtable
[20100624 01:09:38]	<ant___>  	I fear makedevs.c cannot create files in subdirs
[20100624 01:11:04]	<ant___>  	there is more: initscripts have their
device-table :(

FYI see related http://bugs.openembedded.net/show_bug.cgi?id=3593


[20100624 01:16:10]	<ant___>  	too late now to inspect makedevs.c
[20100624 01:16:33]	<ant___>  	perhaps tomorrow

...and then I forgot and moved to other things :/
(For our initramfs-kexecboot image, we solved drastically deleting and
recreating the devices one by one with mknod.)

So, yes, maybe it's a new syntax.
I'll test asap.

Regards
Andrea




More information about the Openembedded-devel mailing list