Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 162026 Details for
Bug 253814
FEAT: honor kernel's INSTALL_MOD_PATH environment variable
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch
mkinitrd.patch (text/plain), 1.58 KB, created by
Glauber Costa
on 2007-08-22 03:08:34 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Glauber Costa
Created:
2007-08-22 03:08:34 UTC
Size:
1.58 KB
patch
obsolete
>diff -Naurp mkinitrd-old/mkinitrd mkinitrd/mkinitrd >--- mkinitrd-old/mkinitrd 2007-04-16 18:55:39.000000000 -0300 >+++ mkinitrd/mkinitrd 2007-08-21 23:42:24.000000000 -0300 >@@ -23,6 +23,7 @@ > # Bill Nottingham <notting@redhat.com> > # Guillaume Cottenceau <gc@mandrakesoft.com> > # Peter Jones <pjones@redhat.com> >+# Glauber de Oliveira Costa <gcosta@redhat.com> > > if [ $UID != 0 ]; then > error "mkinitrd must be run as root." >@@ -131,7 +132,7 @@ locatemodule() { > return 0 > fi > for modExt in o.gz o ko ; do >- for modDir in /lib/modules/$kernel/updates /lib/modules/$kernel ; do >+ for modDir in $INSTALL_MOD_PATH/lib/modules/$kernel/updates $INSTALL_MOD_PATH/lib/modules/$kernel ; do > if [ -d $modDir ]; then > fmPath=$(findone $modDir -name $1.$modExt) > if [ -n "$fmPath" -a -f "$fmPath" ]; then >@@ -933,7 +934,7 @@ if [ -n "$forcelvm" -a -n "$nolvm" ]; th > exit 1 > fi > >-if [ ! -d /lib/modules/$kernel ]; then >+if [ ! -d $INSTALL_MOD_PATH/lib/modules/$kernel ]; then > error 'No modules available for kernel "'${kernel}'".' > exit 1 > fi >diff -Naurp mkinitrd-old/mkinitrd.8 mkinitrd/mkinitrd.8 >--- mkinitrd-old/mkinitrd.8 2005-12-08 01:00:09.000000000 -0200 >+++ mkinitrd/mkinitrd.8 2007-08-21 23:59:15.000000000 -0300 >@@ -97,6 +97,13 @@ gets loaded after any SCSI modules which > \fI/etc/modprobe.conf\fR. This option may be used as many times as > necessary. > >+.SH ENVIRONMENT >+.PD 0 >+.TP 20 >+ >+\f\INSTALL_MOD_PATH\f >+Specifies the root directory in which to search for modules >+ > .SH FILES > .PD 0 > .TP 20
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 253814
: 162026