ltib /etc/profile

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ltib /etc/profile

Jump to solution
1,205 Views
michaeldiamond
Contributor III

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.

Labels (2)
0 Kudos
Reply
1 Solution
1,005 Views
jimmychan
NXP TechSupport
NXP TechSupport

After the compiling, the rootfs will be stored in <ltib folder>/rootfs/. so you can change the <ltib folder>/rootfs/etc/profile directly.

View solution in original post

0 Kudos
Reply
3 Replies
1,005 Views
michaeldiamond
Contributor III

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.

0 Kudos
Reply
1,006 Views
jimmychan
NXP TechSupport
NXP TechSupport

After the compiling, the rootfs will be stored in <ltib folder>/rootfs/. so you can change the <ltib folder>/rootfs/etc/profile directly.

0 Kudos
Reply
1,005 Views
michaeldiamond
Contributor III

I was hoping to find a way to do it before compiling but this will work.

Thanks

0 Kudos
Reply