wok rev 7438

Removed linux-iscsi. Changed open-iscsi depend to linux-scsi. No need to 2 packages that same modules in them.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 29 05:33:40 2010 +0000 (2010-11-29)
parents aa2fafc43273
children 89061517e475
files linux-iscsi/receipt open-iscsi/receipt
line diff
     1.1 --- a/linux-iscsi/receipt	Mon Nov 29 05:10:02 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,38 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="linux-iscsi"
     1.7 -VERSION="2.6.36"
     1.8 -CATEGORY="base-system"
     1.9 -SHORT_DESC="The Linux kernel iscsi modules."
    1.10 -MAINTAINER="devel@slitaz.org"
    1.11 -DEPENDS="linux"
    1.12 -WANTED="linux"
    1.13 -WEB_SITE="http://www.kernel.org/"
    1.14 -
    1.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 -genpkg_rules()
    1.17 -{
    1.18 -    local path
    1.19 -    path=lib/modules/$VERSION-slitaz/kernel
    1.20 -    mkdir -p $fs/$path
    1.21 -    export src
    1.22 -    export _pkg
    1.23 -    $src/slitaz/list_modules.sh drivers/scsi/iscsi_tcp.ko.gz \
    1.24 -		drivers/scsi/scsi_transport_iscsi.ko.gz | while read module; do
    1.25 -    	dir=$path/$(dirname $module)
    1.26 -    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.27 -        cp -a $_pkg/$path/$module $fs/$dir
    1.28 -    done
    1.29 -}
    1.30 -
    1.31 -# Post install/remove commands for Tazpkg.
    1.32 -post_install()
    1.33 -{
    1.34 -	chroot "$1/" depmod -a $VERSION-slitaz
    1.35 -}
    1.36 -
    1.37 -post_remove()
    1.38 -{
    1.39 -	depmod -a $VERSION-slitaz
    1.40 -}
    1.41 -
     2.1 --- a/open-iscsi/receipt	Mon Nov 29 05:10:02 2010 +0000
     2.2 +++ b/open-iscsi/receipt	Mon Nov 29 05:33:40 2010 +0000
     2.3 @@ -8,7 +8,7 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://www.open-iscsi.org/"
     2.6  WGET_URL="${WEB_SITE}bits/$TARBALL"
     2.7 -DEPENDS="linux-iscsi"
     2.8 +DEPENDS="linux-scsi"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()