[Buildroot] [RFC PATCH] fs/common.mk: Add support for fakeroot script
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Oct 18 20:49:20 UTC 2013
Andrew, All,
On 2013-10-18 15:23 -0500, Andrew Ruder spake thusly:
> On Tue, Oct 15, 2013 at 04:19:41PM +0200, Thomas Petazzoni wrote:
> > Well, the conventional way would be to have those directories created
> > by packages (and they can use the <pkg>_PERMISSIONS mechanism to get
> > proper ownership or permissions). Or, if they really don't belong to
> > any package, create them in the post build script, and have a device
> > table assign the permission and ownership.
>
> I didn't realize the device table functionality could modify arbitrary
> file/directory ownerships but looking through the makedevs source code
> that DOES appear to be true.
Or you could have had a look at the manual:
http://buildroot.net/downloads/manual/manual.html#makedev-syntax
The first sentence in this section reads:
The makedev syntax is used in several places in Buildroot to define
changes to be made for permissions. [...]
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list