Skip to content

ci: performance: enable NM wait-online override#2553

Open
DaizhuangBai wants to merge 1 commit into
qualcomm-linux:masterfrom
DaizhuangBai:enable_NM_wait-online_override
Open

ci: performance: enable NM wait-online override#2553
DaizhuangBai wants to merge 1 commit into
qualcomm-linux:masterfrom
DaizhuangBai:enable_NM_wait-online_override

Conversation

@DaizhuangBai

Copy link
Copy Markdown

Enable the NetworkManager wait-online override only for performance builds by setting:

NETWORKMANAGER_WAIT_ONLINE_WAIT_FOR_STARTUP = "0"

This keeps the generic distro behavior unchanged while applying the boot-time optimization in performance profile.

Enable the NetworkManager wait-online override only for performance
builds by setting:

    NETWORKMANAGER_WAIT_ONLINE_WAIT_FOR_STARTUP = "0"

This keeps the generic distro behavior unchanged while applying the
boot-time optimization in performance profile.

Signed-off-by: Daizhuang Bai <daizhuang.bai@oss.qualcomm.com>
@ricardosalveti

Copy link
Copy Markdown
Contributor

Again, this is the wrong fix, we should fix the services depending on network-online.

https://networkmanager.dev/docs/api/latest/NetworkManager-wait-online.service.html

Optimally, all services on the host react dynamically to network changes and systemd services do not need to be configured to start after reaching the network-online target. In this case, NetworkManager-wait-online.service has no effect and does not delay the boot time. On the other hand, if you encounter a long boot time due to the delay of NetworkManager-wait-online, investigate the services that require network access and fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants