Reputation: 39
I want to delete unnecessary systemd services. I tried a few method in my custom layer, but nothing is working. Is there another way?
layer.conf
PACKAGECONFIG_remove_pn-systemd = " timesyncd connman nfs-server bluetooth psplash-basic atd"
recipes-core/systemd/systemd_%.bbappend
PACKAGECONFIG_remove = "timesyncd connman nfs-server bluetooth psplash-basic atd"
Upvotes: 1
Views: 5072
Reputation: 1
1: Change
#PACKAGECONFIG[networkd] = "-Dnetworkd=true,-Dnetworkd=false"
To
PACKAGECONFIG[networkd] = "-Dnetworkd=false,-Dnetworkd=true"
please refer to systemd_253.1
I removed networkd from systemd but not audit, so you need to test:
2: werther can be built by "bitbake systemd "
3:bitbake imx-image-core(or full) if above be passed and then find folder or run cmd to test services whether exist.
Upvotes: 0
Reputation: 11
If I understand correctly, these packageconfigs aren't in systemd recipe, you can only remove packageconfig that are in this list systemd_239.bb
Upvotes: 1
Reputation: 643
'bitbake -e systemd' should tell you the final value of PACKAGECONFIG, and how it was formed.
Upvotes: 0