Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109596 Details for
Bug 157987
KVM user space (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch tp kvm-12-r1
kvm-12-r1.ebuild.patch (text/plain), 1.48 KB, created by
Sander Sweers
on 2007-02-09 00:54:35 UTC
(
hide
)
Description:
ebuild patch tp kvm-12-r1
Filename:
MIME Type:
Creator:
Sander Sweers
Created:
2007-02-09 00:54:35 UTC
Size:
1.48 KB
patch
obsolete
>--- kvm-12.ebuild 2007-02-09 01:40:51.000000000 +0100 >+++ kvm-12-r1.ebuild 2007-02-09 01:40:10.000000000 +0100 >@@ -22,14 +22,31 @@ > kernel/kvm-amd(extra:)" > BUILD_TARGETS="kernel" > >+pkg_setup() { >+ if [ "$(gcc-major-version)" == "4" ]; then >+ eerror "qemu requires gcc-3 in order to build and work correctly" >+ eerror "please compile it switching to gcc-3." >+ die "gcc 4 cannot build qemu" >+ fi >+} >+ > src_compile() { >- linux-mod_pkg_setup >- conf_opts="--with-patched-kernel" >+ #fix make install to not install modules >+ sed -i '/$(kcmd)/d' ${WORKDIR}/${P}/Makefile >+ >+ linux-mod_pkg_setup >+ conf_opts="--prefix=/usr" >+ > ./configure ${conf_opts} || die "configure failed" >- if ! linux_chkconfig_present KVM; then >+ #Check if kvm is NOT part of the kernel and compile the module >+ if ! linux_chkconfig_present KVM; then > linux-mod_src_compile >+ ./configure ${conf_opts} >+ #If it is we need to disable the build of the module >+ else >+ ./confiure ${conf_opts} --with-patched-kernel || die "Configure failed" > fi >- emake user qemu || die "make fail" >+ make user qemu || die "make failed" > } > > pkg_preinst() { >@@ -37,10 +54,10 @@ > } > > src_install() { >- emake install DESTDIR="${D}" || die >- if ! linux_chkconfig_present KVM; then >+ make install DESTDIR="${D}" || die >+ if ! linux_chkconfig_present KVM; then > linux-mod_src_install > fi >- insinto /etc/udev/rules.d/ >- doins ${WORKDIR}/scripts/65-kvm.rules >+ insinto /etc/udev/rules.d/ >+ doins ${WORKDIR}/${P}/scripts/65-kvm.rules > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 157987
:
108867
|
109180
|
109596
|
109612
|
109613
|
109614
|
109615
|
109929
|
110542
|
110544
|
111591
|
111593
|
111594
|
111721
|
111722
|
111725
|
111726
|
111727
|
111730
|
111731
|
111732
|
117585
|
117587
|
117589
|
117590
|
117592
|
117594
|
117595
|
117596
|
117597
|
119450
|
119452
|
119454
|
120155
|
120283
|
120488
|
121167
|
121170
|
121172
|
121174
|
121176
|
121177
|
121179
|
121181
|
121183
|
124934
|
124936
|
124937
|
124939
|
125905
|
125989
|
125991
|
125993
|
125994
|
125996
|
126072
|
130577
|
131298
|
132381
|
132382
|
132422
|
132486
|
132866
|
132899
|
133157
|
133510
|
133515
|
133859
|
137185
|
137723
|
137946
|
139324
|
139488
|
140913