Packaging Xen 4.2.0
Hi all,
I'm trying to update my RPMs of 4.1.3 to work with 4.2.0, but I'm having some interesting problems with the packaging side of things.
in 4.1.3, xenpaging was being built as /usr/sbin/xenpaging, however in 4.2.0 it is being built as /usr/lib/xen/bin/xenpaging.
I'm currently using the following configure options in my .spec:
./configure --libdir=/%{_libdir} --prefix=/usr --bindir=/%{_bindir} --sbindir=/%{_sbindir}
This is expanding to:
./configure --libdir=/usr/lib64 --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
So, I'm wondering how xenpaging is getting that path info - however I do see a lot of what seem to be hard coded references to /usr/lib/xen/bin/xenpaging with a quick grep around the source.
A penny for peoples thoughts?
Signature · 6 lines
Steven Haigh Email: [email protected] Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Quoted 1 line · Steven Haigh
A penny for peoples thoughts?
xenpaging is a private helper, similar to qemu-dm. Its currently not integrated into xend or libxl.
Olaf
Quoted 6 lines · Olaf Hering
Quoted 1 line · Steven Haigh
A penny for peoples thoughts?
xenpaging is a private helper, similar to qemu-dm. Its currently not integrated into xend or libxl.
Thanks, but shouldn't it be installed under --libdir? In my case, /usr/lib64 as per the configure? I'm still a bit confused as to why it ended up in /usr/lib/xen/bin.
Especially when configure is called with:
--libdir=/usr/lib64 --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
Signature · 6 lines
Steven Haigh Email: [email protected] Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 Fax: (03) 8338 0299
Quoted 6 lines · Steven Haigh
Thanks, but shouldn't it be installed under --libdir? In my case,
/usr/lib64as per the configure? I'm still a bit confused as to why it ended up in/usr/lib/xen/bin.Especially when configure is called with:
--libdir=/usr/lib64 --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
tools/xenpaging/Makefile uses LIBEXEC.
libexec defaults to /usr/lib/xen/bin, --libexec=/usr/lib64/xen/bin or similar may work.
Olaf