ltib /etc/profile

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ltib /etc/profile

跳至解决方案
2,247 次查看
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.

标签 (2)
0 项奖励
回复
1 解答
2,047 次查看
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 项奖励
回复
3 回复数
2,047 次查看
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 项奖励
回复
2,048 次查看
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 项奖励
回复
2,047 次查看
michaeldiamond
Contributor III

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

Thanks

0 项奖励
回复