Author Topic: how to make Petalinux replace /etc/profile  (Read 470 times)

bigguiness

  • Jr. Member
  • **
  • Posts: 79
how to make Petalinux replace /etc/profile
« on: January 31, 2023, 07:31:03 PM »
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

M Kirberg

  • Active Member
  • *
  • Posts: 33
Re: how to make Petalinux replace /etc/profile
« Reply #1 on: February 01, 2023, 11:28:35 AM »