ALT Linux Bugzilla
– Attachment 1899 Details for
Bug 11375
--with=@listfile
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
mkinitrd-3.0.3-lists.patch
mkinitrd-3.0.3-lists.patch (text/plain), 1.63 KB, created by
led
on 2007-04-10 14:52:00 MSD
(
hide
)
Description:
mkinitrd-3.0.3-lists.patch
Filename:
MIME Type:
Creator:
led
Created:
2007-04-10 14:52:00 MSD
Size:
1.63 KB
patch
obsolete
>diff -urN mkinitrd-3.0.3.orig/mkinitrd mkinitrd-3.0.3/mkinitrd >--- mkinitrd-3.0.3.orig/mkinitrd 2007-03-29 19:51:08 +0300 >+++ mkinitrd-3.0.3/mkinitrd 2007-04-10 13:48:22 +0300 >@@ -1464,7 +1464,7 @@ > --type TYPE select image type (initramfs, romfs, ext2). > --fstab FILENAME use FILENAME instead of /etc/fstab. > --preload MODULENAME load MODULENAME before all found automatically. >---with MODULENAME load MODULENAME after all found automatically. >+--with MODULENAME|@listfile load MODULENAME after all found automatically. > --with-raid enable software RAID (md) support. > --omit-scsi-modules do not load any SCSI modules. > --omit-ide-modules do not load any IDE modules. >@@ -1518,7 +1518,18 @@ > ;; > --after|--with) > shift >- POSTLOAD_MODNAMES="$POSTLOAD_MODNAMES $1" >+ LISTFILE=`echo "$1" | sed 's/^@//'` >+ if [ "$1" != "$LISTFILE" ]; then >+ if [ -f "$LISTFILE" ]; then >+ for m in `grep -v '^[[:blank:]]*#' "$LISTFILE"` ; do >+ POSTLOAD_MODNAMES="$POSTLOAD_MODNAMES $m" >+ done >+ else >+ echo "warning: file $LISTFILE not exist!" >&2 >+ fi >+ else >+ POSTLOAD_MODNAMES="$POSTLOAD_MODNAMES $1" >+ fi > shift > ;; > --strict) >diff -urN mkinitrd-3.0.3.orig/mkinitrd.8 mkinitrd-3.0.3/mkinitrd.8 >--- mkinitrd-3.0.3.orig/mkinitrd.8 2007-03-29 19:51:08 +0300 >+++ mkinitrd-3.0.3/mkinitrd.8 2007-04-10 13:38:47 +0300 >@@ -18,7 +18,7 @@ > .RB [ \-\-preload > .IR modulename ] > .RB [ \-\-with >-.IR modulename ] >+.IR modulename|@listfile ] > .RB [ \-\-add > .IR initramfs_filename = filename ] > .RB [ \-\-omit\-scsi\-modules ]
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 11375
:
1888
| 1899