Skip to content
Browse files

Misread variable definition. Use correct variable in openvz-rhel6-stable

  • Loading branch information...
1 parent 5f9468a commit 60c5a056666cbd23a6271c8dc37f426338b9b224 Ryan Harris committed Jul 15, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 sys-kernel/openvz-rhel6-stable/openvz-rhel6-stable-2.6.32.042.078.26-r1.ebuild
View
14 sys-kernel/openvz-rhel6-stable/openvz-rhel6-stable-2.6.32.042.078.26-r1.ebuild
@@ -141,8 +141,8 @@ src_compile() {
src_install() {
# copy sources into place:
dodir /usr/src
- cp -a ${S} ${D}/usr/src/linux-${PVR} || die
- cd ${D}/usr/src/linux-${PVR}
+ cp -a ${S} ${D}/usr/src/linux-${PF} || die
+ cd ${D}/usr/src/linux-${PF}
# prepare for real-world use and 3rd-party module building:
make mrproper || die
cp $defconfig_src .config || die
@@ -164,12 +164,12 @@ src_install() {
find -iname *.ko -exec strip --strip-debug {} \;
# back to the symlink fixup:
local moddir="$(ls -d 2*)"
- ln -s /usr/src/linux-${PVR} ${D}/lib/modules/${moddir}/source || die
- ln -s /usr/src/linux-${PVR} ${D}/lib/modules/${moddir}/build || die
+ ln -s /usr/src/linux-${PF} ${D}/lib/modules/${moddir}/source || die
+ ln -s /usr/src/linux-${PF} ${D}/lib/modules/${moddir}/build || die
# Fixes FL-14
- cp "${WORKDIR}/build/System.map" "${D}/usr/src/linux-${PVR}/" || die
- cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/linux-${PVR}/" || die
+ cp "${WORKDIR}/build/System.map" "${D}/usr/src/linux-${PF}/" || die
+ cp "${WORKDIR}/build/Module.symvers" "${D}/usr/src/linux-${PF}/" || die
}
pkg_postinst() {
@@ -180,6 +180,6 @@ pkg_postinst() {
fi
if [ ! -e ${ROOT}usr/src/linux ]
then
- ln -s linux-${PVR} ${ROOT}usr/src/linux
+ ln -s linux-${PF} ${ROOT}usr/src/linux
fi
}

0 comments on commit 60c5a05

Please sign in to comment.
Something went wrong with that request. Please try again.