Hi Guillermo,

On Monday 05 May 2014 16:41:23 Guillermo Rodriguez Garcia wrote:
> What is the proper / recommended way to modify existing ptx rule/make
> files?
>
> Example:
> I would like to modify rootfs.in/rootfs.make to add an option that installs
> /etc/hosts as a link to /run/hosts (a similar option already exists for
> /etc/resolv.conf).

Copy the rootfs.in/rootfs.make files from the PTXdist installation into your 
BSP rules/ directory and modify them until you're satisfied. PTXdist will 
always prefer local files with the same name from global files.

The order PTXdist searches is:

 <bsp>/rules
 <platform>/rules
 <ptxdist>/rules

And if you think your changes are useful for other users as well, send the diff 
from the PTXdist files to your files to the PTXdist mailing list.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

Reply via email to