Skip to contentSkip to conversation

Fakeroot issues

Buildroot Daniel Laird 2 participants 2 messages Jan 30, 2007

lore
Share & tools
lore
#0 lore raw

Hi I am trying to use buildroot to generate me a CPIO archive which is then included in my kernel image as a initramfs.

The problem I am having is that is looks like all has worked, no errors etc. However the devices that are created by makedev are not being created as devices but just as files.
(build_mipsel/root/dev/....)

I am presuming this is dues to an issue with fakeroot. As I can run makedev as root user with same parameters and it all works fine.

It there any easy way to debug what is going on with fakeroot as I cant get this to work at the moment.

I am using Redhat EL4 (Unfortunate Work Choice) in case that might trigger anything.

Cheers
Dan

Signature · 2 lines
View this message in context: http://www.nabble.com/Fakeroot-issues-tf3141363.html#a8706461
Sent from the BuildRoot mailing list archive at Nabble.com.
#1 lore raw
Quoted 13 lines · Daniel Laird

Hi I am trying to use buildroot to generate me a CPIO archive which is then included in my kernel image as a initramfs.

The problem I am having is that is looks like all has worked, no errors etc. However the devices that are created by makedev are not being created as devices but just as files.
(build_mipsel/root/dev/....)

I am presuming this is dues to an issue with fakeroot. As I can run makedev as root user with same parameters and it all works fine.

Quoted 9 lines

It there any easy way to debug what is going on with fakeroot as I cant get this to work at the moment.

I am using Redhat EL4 (Unfortunate Work Choice) in case that might trigger anything.

Cheers
Dan

Dan,

Started to look at restoring devices before Xmas ...
is this http://www.openembedded.org/user-manual&dpage=fakeroot any use ? There's a bit about device nodes created by fakeroot not being 'real' ... (or wait for a reply from someone who's actually *done* this !)

Cheers,
MikeW