xen: added grub.d conf file, added python-2.7 support patch.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user