MPC8548e LTIB how to remove a binary from init scripts

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

MPC8548e LTIB how to remove a binary from init scripts

Jump to solution
1,550 Views
contributor3
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 Kudos
1 Solution
1,532 Views
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

View solution in original post

0 Kudos
3 Replies
1,533 Views
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 Kudos
1,511 Views
contributor3
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 Kudos
1,516 Views
contributor3
Contributor III

Thanks that worked 

cheers

Tags (1)
0 Kudos