]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/mount: comprehensively disable mount unit support if no libmount
authorMike Yuan <me@yhndnzj.com>
Tue, 25 Nov 2025 01:34:08 +0000 (02:34 +0100)
committerMike Yuan <me@yhndnzj.com>
Wed, 26 Nov 2025 01:40:27 +0000 (02:40 +0100)
commit1bee93e6e291b689c307ccf1496a44a73021fc84
treed34802dd5eafdc9833a25367cf93c3bafd55fea6
parentf76f91b7c99574b3e7120f0dd008b2ab703efc47
core/mount: comprehensively disable mount unit support if no libmount

Follow-up for b3243f4beead231e27a4f017f53288a303177cb2
and 5df44d0f6a1ba23b52b0c46a5e720f334f152ae5

Since we now consider this a supported senario, let's hook up
libmount loading with the high-level unit_type_supported() machinery
and gracefully skip the whole unit accordingly.
src/core/automount.c
src/core/mount.c
src/core/unit.c