ltib /etc/profile

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,205件の閲覧回数
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 解決策
1,005件の閲覧回数
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 返答(返信)
1,005件の閲覧回数
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 件の賞賛
返信
1,006件の閲覧回数
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 件の賞賛
返信
1,005件の閲覧回数
michaeldiamond
Contributor III

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

Thanks

0 件の賞賛
返信