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
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
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
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/sbintools/xenpaging/Makefile uses LIBEXEC. libexec defaults to /usr/lib/xen/bin, --libexec=/usr/lib64/xen/bin or similar may work. Olaf