Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195646 Details for
Bug 275151
app-emulation/kqemu-1.4.0_pre1: should install modprobe file /etc/modprobe.d/kqemu.conf
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for kqemu-1.4.0_pre1 ebuild to create /etc/modprobe.d/kqemu.conf
kqemu-1.4.0_pre1-dotconf.patch (text/plain), 914 bytes, created by
Ian Abbott
on 2009-06-24 10:29:23 UTC
(
hide
)
Description:
Patch for kqemu-1.4.0_pre1 ebuild to create /etc/modprobe.d/kqemu.conf
Filename:
MIME Type:
Creator:
Ian Abbott
Created:
2009-06-24 10:29:23 UTC
Size:
914 bytes
patch
obsolete
>--- a/app-emulation/kqemu/kqemu-1.4.0_pre1.ebuild 2009-05-25 11:05:31.000000000 +0100 >+++ b/app-emulation/kqemu/kqemu-1.4.0_pre1.ebuild 2009-06-24 11:23:18.000000000 +0100 >@@ -69,7 +69,24 @@ src_install() { > > # module params > dodir /etc/modprobe.d >- echo "options kqemu major=0" > ${D}/etc/modprobe.d/kqemu >+ echo "options kqemu major=0" > ${D}/etc/modprobe.d/kqemu.conf >+} >+ >+pkg_preinst() { >+ linux-mod_pkg_preinst >+ local old1="${ROOT}/etc/modprobe.d/kqemu" >+ local old2="${ROOT}/etc/modules.d/kqemu" >+ local new="${ROOT}/etc/modprobe.d/kqemu.conf" >+ if [[ ! -a "${new}" ]]; then >+ if [[ -a "${old1}" ]]; then >+ elog "Renaming /etc/modprobe.d/kqemu to /etc/modprobe.d/kqemu.conf" >+ mv "${old1}" "${new}" >+ elif [[ -a "${old2}" ]]; then >+ elog "Moving old kqemu configuration in /etc/modules.d to new" >+ elog "location in /etc/modprobe.d" >+ mv "${old2}" "${new}" >+ fi >+ fi > } > > pkg_postinst() {
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 275151
: 195646