xen: added grub.d conf file, added python-2.7 support patch.

This commit is contained in:
Juan RP
2011-01-10 14:35:11 +01:00
parent 402bf160d7
commit e3397f4f32
3 changed files with 181 additions and 0 deletions

View File

@@ -63,6 +63,10 @@ do_build()
{
install -d ${DESTDIR}
cd ${DESTDIR} && ln -sf . install
if [ "${xbps_machine}" = "x86_64" ]; then
install -d ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}
fi
cd ${wrksrc} && make ${makejobs} DISTDIR=${DESTDIR} xen tools
}
@@ -78,6 +82,11 @@ do_install()
# Remove upstream xend and use our own.
rm -f ${DESTDIR}/etc/init.d/xend
install -m755 ${FILESDIR}/xend.rc ${DESTDIR}/etc/init.d/xend
# Remove unneeded stuff.
rm -f ${DESTDIR}/install ${DESTDIR}/usr/lib64
# Install grub2 Xen detection.
install -D -m755 ${FILESDIR}/grub.d_09_xen \
${DESTDIR}/etc/grub.d/09_xen
}