Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53759 Details for
Bug 70161
Ebuild to be used with the source and or binaries of Xen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-kernel/xen-sources/xen-sources-2.6.10-r5.ebuild
xen-sources-2.6.10-r5.ebuild (text/plain), 1.64 KB, created by
Edward Middleton
on 2005-03-17 23:33:57 UTC
(
hide
)
Description:
sys-kernel/xen-sources/xen-sources-2.6.10-r5.ebuild
Filename:
MIME Type:
Creator:
Edward Middleton
Created:
2005-03-17 23:33:57 UTC
Size:
1.64 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >ETYPE="sources" > >OKV=${PV/_/-} >XEN_V=2.0.5 >EXTRAVERSION="-xen0" >KV="${OKV}${EXTRAVERSION}" >S=${WORKDIR}/linux-${KV} > >inherit kernel eutils > >DESCRIPTION="Full sources for the XenLinux kernel" >SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${PV}.tar.bz2 > http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/xen-${XEN_V}-src.tgz" >HOMEPAGE="http://www.kernel.org/ http://xen.sourceforge.net" >SLOT="0" >KEYWORDS="~x86" > >src_unpack() { > unpack linux-${PV}.tar.bz2 > mv ${WORKDIR}/linux-${OKV} ${WORKDIR}/linux-${KV} > > kernel_universal_unpack > > # Force ARCH to xen, to avoid the problems of people forgetting to do so when running make > echo ARCH=xen | cat - ${S}/Makefile >${S}/XenMakefile > mv ${S}/XenMakefile ${S}/Makefile > > cd ${WORKDIR} > unpack xen-${XEN_V}-src.tgz > > # Copy the Xen files into the kernel tree > cp -r xen-2.0/linux-${PV}-xen-sparse/* ${S} > rm ${S}/mkbuildtree > mkdir ${S}/include/asm-xen/xen-public > cp -r xen-2.0/xen/include/public/* ${S}/include/asm-xen/xen-public > > # Use the default domain 0 config file > cp ${S}/arch/xen/configs/xen0_defconfig ${S}/arch/xen/defconfig >} > >pkg_postinst() { > kernel_pkg_postinst > > einfo "The default configuration is for a domain 0 kernel. If you" > einfo "wish to compile an unprivileged kernel (for use with a guest" > einfo "OS), an altered copy of the source can be made:" > einfo " cp -R /usr/src/linux-${KV} /usr/src/linux-${KV/xen0/xenU}" > einfo " cd /usr/src/linux-${KV/xen0/xenU}" > einfo " cp arch/xen/configs/xenU_defconfig arch/xen/defconfig" > einfo " sed -i s/-xen0/-xenU/ Makefile" > echo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 70161
:
43893
|
43894
|
43934
|
44961
|
44962
|
44963
|
44965
|
50718
|
51453
|
52423
|
52424
|
53755
|
53756
|
53757
|
53758
| 53759 |
56536
|
57185
|
57186
|
57187
|
57188
|
57189
|
57231
|
57232
|
57233
|
57234
|
57444
|
59355
|
59688
|
59694
|
59695
|
59703
|
59710
|
59947
|
60478
|
60552
|
60561
|
60562
|
60746
|
61091
|
61951
|
62232
|
62233
|
66585