Skip to contentSkip to conversation

Question

Buildroot Joao Pinto 3 participants 4 messages Sep 16, 2015

lore
Share & tools
lore

Joao Pinto

author
#0 lore raw

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

#1 lore raw

Hi Joao,

Quoted 2 lines · Joao Pinto

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

Signature · 3 lines
     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 -
#2 lore raw

Joao, Baruch,

Quoted 8 lines · Baruch Siach

Hi Joao,

Quoted 2 lines · Joao Pinto

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

Signature · 5 lines
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
author
#3 lore raw

Hi Ryan and Baruch!
Thank you for your help!

Joao

Quoted 18 lines · Ryan Barnett

Joao, Baruch,

Quoted 8 lines · Baruch Siach

Hi Joao,

Quoted 2 lines · Joao Pinto

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