xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Packaging Xen 4.2.0
@ 2012-09-18 14:26 Steven Haigh
  2012-09-18 14:33 ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Haigh @ 2012-09-18 14:26 UTC (permalink / raw)
  To: xen-devel

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?

-- 
Steven Haigh

Email: netwiz@crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Packaging Xen 4.2.0
  2012-09-18 14:26 Packaging Xen 4.2.0 Steven Haigh
@ 2012-09-18 14:33 ` Olaf Hering
  2012-09-18 14:57   ` Steven Haigh
  0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2012-09-18 14:33 UTC (permalink / raw)
  To: Steven Haigh; +Cc: xen-devel

On Wed, Sep 19, Steven Haigh wrote:

> A penny for peoples thoughts?

xenpaging is a private helper, similar to qemu-dm. Its currently not
integrated into xend or libxl.

Olaf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Packaging Xen 4.2.0
  2012-09-18 14:33 ` Olaf Hering
@ 2012-09-18 14:57   ` Steven Haigh
  2012-09-18 15:05     ` Olaf Hering
  0 siblings, 1 reply; 4+ messages in thread
From: Steven Haigh @ 2012-09-18 14:57 UTC (permalink / raw)
  To: xen-devel

On 19/09/2012 12:33 AM, Olaf Hering wrote:
> On Wed, Sep 19, Steven Haigh wrote:
>
>> 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

-- 
Steven Haigh

Email: netwiz@crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Packaging Xen 4.2.0
  2012-09-18 14:57   ` Steven Haigh
@ 2012-09-18 15:05     ` Olaf Hering
  0 siblings, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2012-09-18 15:05 UTC (permalink / raw)
  To: Steven Haigh; +Cc: xen-devel

On Wed, Sep 19, Steven Haigh wrote:

> 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

tools/xenpaging/Makefile uses LIBEXEC.
libexec defaults to /usr/lib/xen/bin, --libexec=/usr/lib64/xen/bin or
similar may work.

Olaf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-18 15:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-18 14:26 Packaging Xen 4.2.0 Steven Haigh
2012-09-18 14:33 ` Olaf Hering
2012-09-18 14:57   ` Steven Haigh
2012-09-18 15:05     ` Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).