libkmod: move new weak API to separate section

Add the new weak API, to a separate section in the version script. These
will be exposed with the upcoming v33 release and not with v5 as the
symbol tag implies.

Cc: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Fixes: 05828b4 ("libkmod: add weak dependecies")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20240719-abi-fixes-v1-3-1e6d99a2846b@gmail.com
This commit is contained in:
Emil Velikov 2024-07-19 17:12:43 +01:00 committed by Lucas De Marchi
parent a5b7ac3ee1
commit 7d72b22385

View File

@ -21,7 +21,6 @@ global:
kmod_config_get_aliases;
kmod_config_get_options;
kmod_config_get_softdeps;
kmod_config_get_weakdeps;
kmod_config_iter_get_key;
kmod_config_iter_get_value;
kmod_config_iter_next;
@ -42,7 +41,6 @@ global:
kmod_module_get_dependencies;
kmod_module_get_softdeps;
kmod_module_get_weakdeps;
kmod_module_get_filtered_blacklist;
kmod_module_get_name;
@ -98,3 +96,9 @@ LIBKMOD_30 {
global:
kmod_module_new_from_name_lookup;
} LIBKMOD_22;
LIBKMOD_33 {
global:
kmod_config_get_weakdeps;
kmod_module_get_weakdeps;
} LIBKMOD_30;