MPC8548e LTIB how to remove a binary from init scripts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC8548e LTIB how to remove a binary from init scripts

ソリューションへジャンプ
2,686件の閲覧回数
s153022
Contributor III

Hi,

I am building MPC8548CDS_20071214-ltib.iso on Centos 7 x86_64

The build is successful and everything is good

However, I want to remove depmod and settime programs from starting up during boot time

 

Currently, I am mounting the rootfs and manually removing depmod and settime from the init scripts

 

Is there any standard way to do this change before the ltib build so that I don't have to mount it and copy it manually after the build

Best Regards

0 件の賞賛
返信
1 解決策
2,668件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please open recipe dist/lfs-5.1/sysconfig/sysconfig.spec, remove "depmod", "settime" and "$settime" from variables "all_services", "all_services_r", "cfg_services" "and cfg_services_r".

 

Then clean the build of package sysconfig.

./ltib -m clean -p sysconfig

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,669件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please open recipe dist/lfs-5.1/sysconfig/sysconfig.spec, remove "depmod", "settime" and "$settime" from variables "all_services", "all_services_r", "cfg_services" "and cfg_services_r".

 

Then clean the build of package sysconfig.

./ltib -m clean -p sysconfig

0 件の賞賛
返信
2,647件の閲覧回数
s153022
Contributor III

regarding the kernel module issue with depmod, I think the loadable module support is missing in the kernel configuration.  

 

a better fix would be to add the LOADABLE_MODULE support in the kernel configuration.

 

Is there a standard way to patch the kernel configuration in LTIB?

 

0 件の賞賛
返信
2,652件の閲覧回数
s153022
Contributor III

Thanks that worked 

cheers

タグ(1)
0 件の賞賛
返信