diff mbox series

[kmod,3/3] libkmod: move new weak API to separate section

Message ID 20240719-abi-fixes-v1-3-1e6d99a2846b@gmail.com (mailing list archive)
State Handled Elsewhere
Headers show
Series libkmod: misc ABI changes | expand

Commit Message

Emil Velikov via B4 Relay July 19, 2024, 4:12 p.m. UTC
From: Emil Velikov <emil.l.velikov@gmail.com>

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>
---
This might be a bit of nuisance for Debian which has a git packages in
unstable.

@Marco I think you'd _really_ want this for unstable.
---
 libkmod/libkmod.sym | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Lucas De Marchi July 19, 2024, 4:52 p.m. UTC | #1
On Fri, Jul 19, 2024 at 05:12:43PM GMT, Emil Velikov via B4 Relay wrote:
>From: Emil Velikov <emil.l.velikov@gmail.com>
>
>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>
>---
>This might be a bit of nuisance for Debian which has a git packages in
>unstable.

FWIW we should really do a release soon... hoping for doing it next
week.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>

thanks
Lucas De Marchi
diff mbox series

Patch

diff --git a/libkmod/libkmod.sym b/libkmod/libkmod.sym
index e71f488..0046300 100644
--- a/libkmod/libkmod.sym
+++ b/libkmod/libkmod.sym
@@ -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;