wok-tiny view module-usb-storage/receipt @ rev 94

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