/dev nodes files
This has been discussed before, but I don't know if there was any result, so I'm asking again.
After each build, the ixnodes in project_build_arm/uclibc/root/dev are regular files rather than inodes, which prevents users from exporting that directory directly as NFS root. Most people run custom scripts to fix that, but I wonder whether there is any change to get that fixed in BR2 directly.
The problem is that mknod can't create the nodes when not run as root, and fakeroot doesn't help much in this case. Would it be an option to
a) move the invocation of makedevs from target/*/*mk to some higher level. Actually, all fs deployment targets do the same thing, and that could be simplified.
b) Let users choose whether to use 'fakeroot' or 'sudo' to create the inodes. The latter would need some augmented system priviledges, but as an option, that shouldn't harm.
Any oppinion about such an approach?
Daniel
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Daniel" == Daniel Mack <[email protected]> writes:
Daniel> This has been discussed before, but I don't know if there was any Daniel> result, so I'm asking again.
Daniel> After each build, the ixnodes in project_build_arm/uclibc/root/dev are Daniel> regular files rather than inodes, which prevents users from exporting Daniel> that directory directly as NFS root. Most people run custom scripts to Daniel> fix that, but I wonder whether there is any change to get that fixed in Daniel> BR2 directly.
Ehh, that's on purpose (E.G. so you don't need root permissions to build). Just select the tarball target and extract it on your nfs server.
Daniel> Any oppinion about such an approach?
What would this buy us that the tarball target doesn't give?
Signature · 1 line
Bye, Peter Korsgaard
Quoted 6 lines · Peter Korsgaard
Daniel> After each build, the ixnodes in project_build_arm/uclibc/root/dev are Daniel> regular files rather than inodes, which prevents users from exporting Daniel> that directory directly as NFS root. Most people run custom scripts to Daniel> fix that, but I wonder whether there is any change to get that fixed in Daniel> BR2 directly.
Quoted 7 lines
Ehh, that's on purpose (E.G. so you don't need root permissions to build). Just select the tarball target and extract it on your nfs server.
Daniel> Any oppinion about such an approach?
What would this buy us that the tarball target doesn't give?
Ok, understood. Thanks :)
Daniel