Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRMLBASE/15-initsetup: mask ldconfig.service #203

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

zeha
Copy link
Member

@zeha zeha commented Dec 10, 2024

ldconfig.service is mostly useful if the OS image can change its composition during boot. This is not the case for us.

As ldconfig.service can be quite slow, lets mask it.

Closes: #200

ldconfig.service is mostly useful if the OS image can change its composition
during boot. This is not the case for us.

As ldconfig.service can be quite slow, lets mask it.
@zeha zeha self-assigned this Dec 10, 2024
@zeha zeha marked this pull request as ready for review December 10, 2024 17:31
@zeha zeha requested a review from mika December 10, 2024 17:31
@zeha
Copy link
Member Author

zeha commented Dec 10, 2024

I don't have hard numbers on how much time this saves, but it seems better to me.

For verification purposes, I've manually run ldconfig -X on an ISO with this change, and the resulting ld.so.cache is bit-identical to the one already in the squashfs.

@zeha zeha merged commit a5a8f6f into master Dec 10, 2024
11 checks passed
@zeha zeha deleted the zeha/mask-ldconfig branch December 10, 2024 17:34
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.

Consider masking ldconfig.service
2 participants