[Buildroot] [pull request v2] Pull request for branch for-2011.11/pkg-device

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 14 10:43:53 UTC 2011


Le Wed, 14 Dec 2011 11:39:42 +0100,
Maxime Ripard <maxime.ripard at free-electrons.com> a écrit :

> Any review on that ?

I don't like the <pkg>_FILES name, because it makes me think that *all*
files installed by the package must be listed in this variable, while
in fact, only files for which special permissions must be applied, or
for device files.

What about having two variables:

 <pkg>_PERMISSIONS

and

 <pkg>_DEVICES

The idea is that by separating permission-modifications (like the one
for Busybox) for device files, it is much easier to use *_PERMISSIONS +
*_DEVICES when static /dev is used, and only *_PERMISSIONS when
dynamic /dev is used.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list