wok-tiny annotate module-usb-storage/receipt @ rev 104
Add ipxe, memtest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 07 14:42:58 2016 +0100 (2016-02-07) |
parents | |
children | 0d8ef9102fc0 |
rev | line source |
---|---|
pascal@94 | 1 # SliTaz package receipt. |
pascal@94 | 2 |
pascal@94 | 3 PACKAGE="module-usb-storage" |
pascal@94 | 4 VERSION="2.6.14" |
pascal@94 | 5 CATEGORY="base-system" |
pascal@94 | 6 SHORT_DESC="Kernel module for the USB storage devices" |
pascal@94 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@94 | 8 LICENSE="GPL2" |
pascal@94 | 9 WEB_SITE="http://tiny.slitaz.org/" |
pascal@94 | 10 WANTED="linux" |
pascal@94 | 11 |
pascal@94 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@94 | 13 genpkg_rules() |
pascal@94 | 14 { |
pascal@94 | 15 local path |
pascal@94 | 16 export src=$WOK/$WANTED/source/linux-$VERSION |
pascal@94 | 17 export _pkg=$WOK/$WANTED/install |
pascal@94 | 18 path=lib/modules/$(ls $_pkg/lib/modules)/kernel |
pascal@94 | 19 mkdir -p $fs/$path |
pascal@94 | 20 $src/slitaz/list_modules.sh drivers/usb/storage/usb-storage.ko | while read module; do |
pascal@94 | 21 dir=$path/$(dirname $module) |
pascal@94 | 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pascal@94 | 23 cp -a $_pkg/$path/$module $fs/$dir |
pascal@94 | 24 done |
pascal@94 | 25 } |
pascal@94 | 26 |
pascal@94 | 27 # Post install/remove commands for Tazpkg. |
pascal@94 | 28 post_install() |
pascal@94 | 29 { |
pascal@94 | 30 echo ${PACKAGE#*-} >> $1/modules |
pascal@94 | 31 } |
pascal@94 | 32 |
pascal@94 | 33 #scsi_mod.ko: |
pascal@94 | 34 #parm=scsi_logging_level:a bit mask of logging levels |
pascal@94 | 35 #parm=max_luns:last scsi LUN (should be between 1 and 2^32-1) |
pascal@94 | 36 #parm=max_report_luns:REPORT LUNS maximum number of LUNS received (should be between 1 and 16384) |
pascal@94 | 37 #parm=inq_timeout:Timeout (in seconds) waiting for devices to answer INQUIRY. Default is 5. Some non-compliant devices need more. |
pascal@94 | 38 #parm=dev_flags:Given scsi_dev_flags=vendor:model:flags[,v:m:f] add black/white list entries for vendor and model with an integer value of flags to the scsi device info list |
pascal@94 | 39 #parm=default_dev_flags:scsi default device flag integer value |
pascal@94 | 40 |
pascal@94 | 41 #usbcore.ko: |
pascal@94 | 42 #parm=blinkenlights:true to cycle leds on hubs |
pascal@94 | 43 #parm=old_scheme_first:start with the old device initialization scheme |
pascal@94 | 44 #parm=use_both_schemes:try the other device initialization scheme if the first one fails |
pascal@94 | 45 #parm=usbfs_snoop:true to log all usbfs traffic |
pascal@94 | 46 |
pascal@94 | 47 #usb-storage.ko: |
pascal@94 | 48 #parm=delay_use:seconds to delay before using a new device |