MPC8548e LTIB how to remove a binary from init scripts

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

MPC8548e LTIB how to remove a binary from init scripts

跳至解决方案
1,881 次查看
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 解答
1,863 次查看
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 回复数
1,864 次查看
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 项奖励
回复
1,842 次查看
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 项奖励
回复
1,847 次查看
s153022
Contributor III

Thanks that worked 

cheers

标记 (1)
0 项奖励
回复