From 20bca3c9718ba9929042d6d167485391513ba30a Mon Sep 17 00:00:00 2001 From: William Edwards Date: Fri, 27 Sep 2024 14:04:32 -0700 Subject: [PATCH] fix(Capability Map): reverse load order to override capability map --- src/config/path.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/path.rs b/src/config/path.rs index b63a447..1bfbb3c 100644 --- a/src/config/path.rs +++ b/src/config/path.rs @@ -46,9 +46,9 @@ pub fn get_devices_paths() -> Vec { /// E.g. ["/etc/inputplumber/capability_maps.d", "/usr/share/inputplumber/capability_maps"] pub fn get_capability_maps_paths() -> Vec { let paths = vec![ - PathBuf::from("./rootfs/usr/share/inputplumber/capability_maps"), - PathBuf::from("/etc/inputplumber/capability_maps.d"), get_base_path().join("capability_maps"), + PathBuf::from("/etc/inputplumber/capability_maps.d"), + PathBuf::from("./rootfs/usr/share/inputplumber/capability_maps"), ]; paths