[Buildroot] [PATCH 4/6] package/genimage: new host-only package
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Feb 18 17:01:29 UTC 2013
Jeremy, All,
On Monday 18 February 2013 Jeremy Rosen wrote:
> do you plan to integrate this more tightly into buildroot ?
More tightly, I am not sure. However...
> i.e : for boards that need a particular partition layout have
> them provide a decription file for genimage and have genimage
> called directly from the fakeroot jail when such a file is
> configured ?
... these tools are intended to be used by post-image scripts, so
boards could provide both a genimage layout and a post-image script.
I am not sure we would want to integrate that into buildroot itself.
I am afraid doing so would complexify the infrastructure.
Also, the fakeroot jail is restricted to the filesystem image generation,
and post-image (and post-build) scripts are *not* run in the fakeroot,
although it is trivial to re-enter a new fakeroot from inside such a
post-{build,image} script, a-la:
#!/bin/sh
if [ $(id -u) -ne 0 ]; then
exec fakeroot "${0}" "${@}"
fi
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