[Buildroot] makedevs and symbolic links

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 6 16:26:41 UTC 2013

Dear Aras Vaichas,

On Wed, 6 Feb 2013 16:17:26 +0000, Aras Vaichas wrote:
> I use Buildroot with my own custom root fs skeleton. My skeleton contains a
> few symbolic links that I'd like to move out either into
> the BR2_ROOTFS_POST_BUILD_SCRIPT or somewhere else.
> makedevs seemed logical but it doesn't support symbolic link creation.
> Is there a reason for this?
> Would it be useful to add it?

From my point of view, makedevs is here to do the things you can't do
without being root: create device nodes and adjust ownership.

Symbolic links can be created as non-root in a post-build script for
example, so I'm not sure there's really a need to have support for
symbolic links in makedevs.

Or maybe I'm missing the point?

Best regards,

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list