From c69a6aca8522c7f676953e56191584381adf2c06 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 9 Oct 2018 17:02:34 +0100 Subject: [PATCH] tools/libfsimage: Bump soname to 4.12 This library does not have a stable ABI promise. As far as we know it is used only by pygrub. Bump its soname to the Xen version (and intend to change it each time). Signed-off-by: Ian Jackson Acked-by: Wei Liu --- tools/libfsimage/common/Makefile | 4 ++-- tools/libfsimage/common/fsimage.c | 2 +- tools/libfsimage/common/{fsimage.h => xenfsimage.h} | 0 tools/libfsimage/common/{fsimage_grub.h => xenfsimage_grub.h} | 0 .../common/{fsimage_plugin.h => xenfsimage_plugin.h} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename tools/libfsimage/common/{fsimage.h => xenfsimage.h} (100%) rename tools/libfsimage/common/{fsimage_grub.h => xenfsimage_grub.h} (100%) rename tools/libfsimage/common/{fsimage_plugin.h => xenfsimage_plugin.h} (100%) diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile index a4655c421c..beda8f5f3a 100644 --- a/tools/libfsimage/common/Makefile +++ b/tools/libfsimage/common/Makefile @@ -1,8 +1,8 @@ XEN_ROOT = $(CURDIR)/../../.. include $(XEN_ROOT)/tools/libfsimage/Rules.mk -MAJOR = 1.0 -MINOR = 0 +MAJOR = 0 +MINOR = 4.12 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU diff --git a/tools/libfsimage/common/fsimage.c b/tools/libfsimage/common/fsimage.c index 21d6c38ac6..5cfa56a84d 100644 --- a/tools/libfsimage/common/fsimage.c +++ b/tools/libfsimage/common/fsimage.c @@ -31,7 +31,7 @@ #include #include -#include "fsimage_plugin.h" +#include "xenfsimage_plugin.h" #include "fsimage_priv.h" static pthread_mutex_t fsi_lock = PTHREAD_MUTEX_INITIALIZER; diff --git a/tools/libfsimage/common/fsimage.h b/tools/libfsimage/common/xenfsimage.h similarity index 100% rename from tools/libfsimage/common/fsimage.h rename to tools/libfsimage/common/xenfsimage.h diff --git a/tools/libfsimage/common/fsimage_grub.h b/tools/libfsimage/common/xenfsimage_grub.h similarity index 100% rename from tools/libfsimage/common/fsimage_grub.h rename to tools/libfsimage/common/xenfsimage_grub.h diff --git a/tools/libfsimage/common/fsimage_plugin.h b/tools/libfsimage/common/xenfsimage_plugin.h similarity index 100% rename from tools/libfsimage/common/fsimage_plugin.h rename to tools/libfsimage/common/xenfsimage_plugin.h -- 2.30.2