imx8dx yocto close some systemd service

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

imx8dx yocto close some systemd service

1,664 次查看
songhongliang
Contributor II

HI 

I am using imx8dx, but my memory is only 512M, and I need to use QT.
The memory is very tight, I want to close some unnecessary services, what should I do, such as closing ntpdate.service

thanks

0 项奖励
回复
5 回复数

1,660 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

 

$ sudo systemctl stop ntpdate.service
$ sudo systemctl disable ntpdate.service

 

BR

Zhiming

0 项奖励
回复

1,655 次查看
songhongliang
Contributor II

hi

Is there any other way? I want to close unneeded services before compiling.

For example, if there are any files, I only need to add unneeded services to close it before compiling.

thanks;

0 项奖励
回复

1,653 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You mean delete it?

PACKAGECONFIG_remove = "xxxx"

 

0 项奖励
回复

1,645 次查看
songhongliang
Contributor II

HI 

What I mean is to prohibit the service during recompilation, so that no service will start when the system starts

 

thanks

0 项奖励
回复

1,299 次查看
jackk
Contributor I

hi,

I am also trying to remove unused services before build in yocto.can you please help me?

0 项奖励
回复