Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537258 - app-emulation/xen-pvgrub-4.5.0 should install executables into /usr/libexec/xen
Summary: app-emulation/xen-pvgrub-4.5.0 should install executables into /usr/libexec/xen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 16:02 UTC by Spooky Ghost
Modified: 2015-03-09 07:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Spooky Ghost 2015-01-21 16:02:20 UTC
xen-pvgrub installs to /usr/lib/xen but it appears that the rest of xen has been adjusted to install to /usr/libexec/xen for 4.5.0.

Reproducible: Always

Steps to Reproduce:
1. install =app-emulation/xen-tools-4.5.0, creates /usr/libexec/xen
2. install =app-emulation/xen-pvgrub-4.5.0, creates /usr/lib/xen
3.


Expected Results:  
The files from app-emulation/xen-pvgrub are installed to /usr/libexec/xen to maintain a structure comparable with previous xen releases.

Adding a src_configure function based on the one from xen-tools results in the files being installed to /usr/libexec/xen.  (I didn't examine the configure options too closely but it is possible they aren't all necessary.)

src_configure() {
        local myconf="--prefix=${PREFIX}/usr \
                --libdir=${PREFIX}/usr/$(get_libdir) \
                --libexecdir=${PREFIX}/usr/libexec \
                --disable-werror \
                --disable-xen \
                --enable-tools \
                --enable-docs \
                --enable-qemu-traditional  
                "
        econf ${myconf}
}
Comment 1 Yixun Lan archtester gentoo-dev 2015-02-16 06:05:27 UTC
Iā€˜d personally leave it unchanged, since it just works

if really want to change, then we should at least *warn* user to update their xen config file, otherwise break their domU system (fail to boot).
anyway I'll just leave this to @idella4
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-02-27 06:54:07 UTC
*xen-pvgrub-4.5.0-r1 (27 Feb 2015)

  27 Feb 2015; Ian Delaney <idella4@gentoo.org> +xen-pvgrub-4.5.0-r1.ebuild:
  revbump; adjust libexecdir to match other obuilds of xen in version 4.5.0,
  fixes Bug #537258 by S. Ghost

Leave set TEST-REQUEST before closing
Comment 3 Spooky Ghost 2015-03-08 17:49:38 UTC
The -r1 works fine for me and installs the pv-grub files to /usr/libexec/xen/boot to be with consistent with other xen ebuilds.