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 296987 Details for
Bug 436248
[PATCH] mkinitrd --without option
[?]
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]
mkinitrd-without.patch
mkinitrd-without.patch (text/plain), 1.13 KB, created by
Warren Togami
on 2008-03-06 03:18:04 UTC
(
hide
)
Description:
mkinitrd-without.patch
Filename:
MIME Type:
Creator:
Warren Togami
Created:
2008-03-06 03:18:04 UTC
Size:
1.13 KB
patch
obsolete
>diff --git a/mkinitrd b/mkinitrd >index 1e6a3c5..8919b97 100755 >--- a/mkinitrd >+++ b/mkinitrd >@@ -873,6 +873,17 @@ while [ $# -gt 0 ]; do > availmodules="$availmodules $modname" > ;; > >+ --without*) >+ if [ "$1" != "${1##--without=}" ]; then >+ modname=${1##--without=} >+ else >+ modname=$2 >+ shift >+ fi >+ >+ excludemodules="$excludemodules $modname" >+ ;; >+ > --with*) > if [ "$1" != "${1##--with=}" ]; then > modname=${1##--with=} >@@ -1425,6 +1436,24 @@ resdeps () { > resolved=$items > } > >+# exclude specific modules >+# (must be done before resolution of deps) >+excludemods() { >+ items="$*" >+ output="" >+ for i in $items; do >+ for x in $excludemodules; do >+ if [ "$i" = "$x" ]; then >+ continue 2 >+ fi >+ done >+ output="$output $i" >+ done >+ echo $output >+} >+ >+MODULES=$(excludemods $MODULES) >+availmodules=$(excludemods $availmodules) > resdeps $MODULES $availmodules > for MODULE in $resolved; do > installmodule $MODULE
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 436248
:
296987
|
296990