I have some questions about how to have ltib adjust the default /etc/profile file. I have a program that is being installed by ltib in /usr/local/sbin. The path that is created by ltib in the profile file is the following.
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
You can see the /usr/local/bin folder is in the path but ltib installed my feature in the sbin folder. I can't find the place to adjust either the program install point or the default PATH. I know I can edit the profile file but if I add a feature using ltib it could get overwritten and I am trying to avoid that.
I am using ltib 9.1.1 revision 1.445.6.1
kernel version 3.0.35
Any help with this would be great.
Solved! Go to Solution.
After the compiling, the rootfs will be stored in <ltib folder>/rootfs/. so you can change the <ltib folder>/rootfs/etc/profile directly.
I have found how the makefile can be updated for my program to show where it is installed. I still need to know where the profile file is updated in ltib.
After the compiling, the rootfs will be stored in <ltib folder>/rootfs/. so you can change the <ltib folder>/rootfs/etc/profile directly.
I was hoping to find a way to do it before compiling but this will work.
Thanks