Skip to contentSkip to conversation

tools/libfsimage: Bump SONAME to 4.17

PATCH In review Andrew Cooper 3 participants 3 messages Dec 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libfsimage: Bump SONAME to 4.17

Fixes a5706b80f42e ("Set version to 4.17: rerun autogen.sh")

---
CC: Wei Liu <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Juergen Gross <[email protected]>

This gets forgotten each release. Any chance we can move libfsimage and/or libacpi into libs/, where this issue would go away.

---
 tools/libfsimage/common/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libfsimage/common/Makefile +1 -1
index 24bc90e73e71..54049ebaae86 100644
@@ -1,7 +1,7 @@
 XEN_ROOT = $(CURDIR)/../../..
 include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
-MAJOR = 4.16
+MAJOR = 4.17
 MINOR = 0
 
 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS
Signature · 1 line
2.11.0
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Andrew Cooper
Fixes a5706b80f42e ("Set version to 4.17: rerun autogen.sh")

---
CC: Wei Liu <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Juergen Gross <[email protected]>

This gets forgotten each release. Any chance we can move libfsimage and/or libacpi into libs/, where this issue would go away.

libfsimage is a weird kind of library, I don't think it's going to sit well in libs/, and I don't think moving it just because MAJOR hasn't been bumped is a good reason...

libacpi isn't a library, not really. It's a collection of source files designed to be embedded into other programmes.

You know, we could simply replace "4.16" by

    $(shell $(XEN_ROOT)/version.sh $(XEN_ROOT)/xen/Makefile)

then we can forget libfsimage exist.

Any any case,

for this patch, or for using version.sh instead.

Quoted 9 lines
---
 tools/libfsimage/common/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libfsimage/common/Makefile +0 -0
index 24bc90e73e71..54049ebaae86 100644

tools/libfsimage/common/Makefile line 7

Quoted 8 lines
tools/libfsimage/common/Makefile +1 -1
@@ -1,7 +1,7 @@
 XEN_ROOT = $(CURDIR)/../../..
 include $(XEN_ROOT)/tools/libfsimage/Rules.mk
 
-MAJOR = 4.16
+MAJOR = 4.17
 MINOR = 0
 
 LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS

Thanks,

Signature · 1 line
Anthony PERARD
#2 lore raw
Quoted 8 lines · Anthony PERARD
Quoted 7 lines · Andrew Cooper
Fixes a5706b80f42e ("Set version to 4.17: rerun autogen.sh")

---
CC: Wei Liu <[email protected]>
CC: Anthony PERARD <[email protected]>
CC: Juergen Gross <[email protected]>

Quoted 5 lines
Quoted 2 lines

This gets forgotten each release. Any chance we can move libfsimage and/or libacpi into libs/, where this issue would go away.

libfsimage is a weird kind of library, I don't think it's going to sit well in libs/, and I don't think moving it just because MAJOR hasn't been bumped is a good reason...

Honestly, the better reasons is "because it's a library, it ought to live in libs/ with the rest of them", but yeah, it is weird.  Perhaps instead we want to tie it to pygrub so people have an easier time of turning the whole lot off.

Quoted 3 lines

libacpi isn't a library, not really. It's a collection of source files designed to be embedded into other programmes.

We'd normally call that libacpi.a, and it's perhaps a worthwhile change to make.

Quoted 8 lines

You know, we could simply replace "4.16" by

    $(shell $(XEN_ROOT)/version.sh $(XEN_ROOT)/xen/Makefile)

then we can forget libfsimage exist.

Any any case,

for this patch, or for using version.sh instead.

Good shout.  I'll double check that

MAJOR := $(shell $(XEN_ROOT)/version.sh $(XEN_ROOT)/xen/Makefile)

does the right thing, and commit that version.  One fewer thing to worry about.

~Andrew