imx8dx yocto close some systemd service

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

imx8dx yocto close some systemd service

1,665 Views
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 Kudos
Reply
5 Replies

1,661 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

 

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

 

BR

Zhiming

0 Kudos
Reply

1,656 Views
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 Kudos
Reply

1,654 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You mean delete it?

PACKAGECONFIG_remove = "xxxx"

 

0 Kudos
Reply

1,646 Views
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 Kudos
Reply

1,300 Views
jackk
Contributor I

hi,

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

0 Kudos
Reply