News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

how to make Petalinux replace /etc/profile

Started by bigguiness, January 31, 2023, 07:31:03 PM

Previous topic - Next topic

bigguiness

Hello,

I have a modified /etc/profile that I have to copy manually to my board very time I do a 'petalinux-package ...'.

This works, but is annoying.

I have a recipe that copies a number of scripts, etc. to /home/root/bin when I do the 'petalinux-build' but when I tried adding the custom profile file and copying it to /etc/profile I get a build error. Something about a package conflict.

Does anyone know the proper way to replace that file during the build?

Thanks