Changeset 1993


Ignore:
Timestamp:
Jun 27, 2008, 8:03:27 PM (11 years ago)
Author:
bruno
Message:

Fix a problem with 3w_xxx module by using all possible bootbale modules in the CDROM_MODS list, rather than only the loaded one in the SCSI list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.7/mindi/mindi

    r1989 r1993  
    5454PCMCIA_MODS="pcmcia_core ds yenta_socket"
    5555USB_MODS="usb-storage usb-ohci usb-uhci usbcore usb_storage input hid uhci_hcd ehci_hcd uhci-hcd ehci-hcd ohci-hcd ohci_hcd usbkbd usbhid keybdev mousedev libusual scsi_mod"
    56 CDROM_MODS="$TAPE_MODS $IDE_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660 $USB_MODS $PCMCIA_MODS"
    5756NET_MODS="sunrpc nfs nfs_acl lockd fscache loop mii 3c59x e100 bcm5700 bnx2 e1000 eepro100 ne2k-pci tg3 pcnet32 8139cp 8139too 8390 forcedeth vmxnet vmnet"
     57CDROM_MODS="$TAPE_MODS $IDE_MODS $USB_MODS $PCMCIA_MODS $SCSI_MODS $NET_MODS af_packet cdrom isocd isofs inflate_fs nls_iso8859-1 nls_base nls_cp437 nls_utf8 sg sr_mod zlib_inflate iso9660"
     58# Those modules will only go on the backup media, not the boot media.
    5859EXTRA_MODS="$CDROM_MODS vfat fat loop md-mod linear raid0 raid1 xor raid5 raid456 lvm-mod dm-mod dm-snapshot dm-zero dm-mirror jfs xfs xfs_support pagebuf reiserfs ext2 ext3 minix nfs nfs_acl nfsd lockd sunrpc jbd mbcache"
    5960# Replace with that line for HP OCMP e.g.
     
    22142215
    22152216    needed_modules=""
    2216     list_of_groovy_mods="$CDROM_MODS $FORCE_MODS `WhichOfTheseModulesAreLoaded "$SCSI_MODS"`"
     2217    list_of_groovy_mods="$CDROM_MODS $FORCE_MODS"
    22172218
    22182219    if [ -e "$MINDI_TMP/NFS-DEV" ] ; then
     
    23202321    return 0
    23212322}
    2322 
    2323 
    2324 WhichOfTheseModulesAreLoaded() {
    2325     local modname loaded_modules
    2326     loaded_modules="$MODULES"
    2327     for modname in $1 ; do
    2328         [ "`echo "$loaded_modules" | grep -w "$modname"`" ] && echo "$modname"
    2329     done
    2330 }
    2331 
    23322323
    23332324
Note: See TracChangeset for help on using the changeset viewer.