Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Question
@ 2015-09-16 14:26 Joao Pinto
  2015-09-16 14:56 ` Baruch Siach
  0 siblings, 1 reply; 4+ messages in thread
From: Joao Pinto @ 2015-09-16 14:26 UTC (permalink / raw)
  To: buildroot

Hello,

Could you please tell me if it is possible to have a patch called automatically
that changes a certain file in the target root filesystem?
Thank you.

Regards,
Joao

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Question
  2015-09-16 14:26 [Buildroot] Question Joao Pinto
@ 2015-09-16 14:56 ` Baruch Siach
  2015-09-16 14:59   ` Ryan Barnett
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2015-09-16 14:56 UTC (permalink / raw)
  To: buildroot

Hi Joao,

On Wed, Sep 16, 2015 at 03:26:38PM +0100, Joao Pinto wrote:
> Could you please tell me if it is possible to have a patch called 
> automatically that changes a certain file in the target root filesystem?

You can use a post build script for that (BR2_ROOTFS_POST_BUILD_SCRIPT). See 
http://nightly.buildroot.org/manual.html#rootfs-custom.

Hope this helps,
baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Question
  2015-09-16 14:56 ` Baruch Siach
@ 2015-09-16 14:59   ` Ryan Barnett
  2015-09-16 15:21     ` Joao Pinto
  0 siblings, 1 reply; 4+ messages in thread
From: Ryan Barnett @ 2015-09-16 14:59 UTC (permalink / raw)
  To: buildroot

Joao, Baruch,

On Wed, Sep 16, 2015 at 9:56 AM, Baruch Siach <baruch@tkos.co.il> wrote:
> Hi Joao,
>
> On Wed, Sep 16, 2015 at 03:26:38PM +0100, Joao Pinto wrote:
>> Could you please tell me if it is possible to have a patch called
>> automatically that changes a certain file in the target root filesystem?
>
> You can use a post build script for that (BR2_ROOTFS_POST_BUILD_SCRIPT). See
> http://nightly.buildroot.org/manual.html#rootfs-custom.

As Baruch suggested or an overlay which contains your modified file
(BR2_ROOTFS_OVERLAY).

Thanks,
-Ryan

-- 
Ryan Barnett / Sr Software Engineer
Airborne Information Systems / Security Systems and Software
MS 131-100, C Ave NE, Cedar Rapids, IA, 52498, USA
ryan.barnett at rockwellcollins.com
www.rockwellcollins.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Question
  2015-09-16 14:59   ` Ryan Barnett
@ 2015-09-16 15:21     ` Joao Pinto
  0 siblings, 0 replies; 4+ messages in thread
From: Joao Pinto @ 2015-09-16 15:21 UTC (permalink / raw)
  To: buildroot


Hi Ryan and Baruch!
Thank you for your help!

Joao

On 9/16/2015 3:59 PM, Ryan Barnett wrote:
> Joao, Baruch,
> 
> On Wed, Sep 16, 2015 at 9:56 AM, Baruch Siach <baruch@tkos.co.il> wrote:
>> Hi Joao,
>>
>> On Wed, Sep 16, 2015 at 03:26:38PM +0100, Joao Pinto wrote:
>>> Could you please tell me if it is possible to have a patch called
>>> automatically that changes a certain file in the target root filesystem?
>>
>> You can use a post build script for that (BR2_ROOTFS_POST_BUILD_SCRIPT). See
>> http://nightly.buildroot.org/manual.html#rootfs-custom.
> 
> As Baruch suggested or an overlay which contains your modified file
> (BR2_ROOTFS_OVERLAY).
> 
> Thanks,
> -Ryan
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-16 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-16 14:26 [Buildroot] Question Joao Pinto
2015-09-16 14:56 ` Baruch Siach
2015-09-16 14:59   ` Ryan Barnett
2015-09-16 15:21     ` Joao Pinto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox