imx8dx yocto close some systemd service

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

imx8dx yocto close some systemd service

1,607件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,603件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

 

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

 

BR

Zhiming

0 件の賞賛
返信

1,598件の閲覧回数
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,596件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You mean delete it?

PACKAGECONFIG_remove = "xxxx"

 

0 件の賞賛
返信

1,588件の閲覧回数
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,242件の閲覧回数
jackk
Contributor I

hi,

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

0 件の賞賛
返信