wok-6.x rev 13589
Add linux64-aoe, linux64-nbd and remove linux-udf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 16:37:56 2012 +0100 (2012-11-06) |
parents | 12ff59a85054 |
children | ac0701daf97a |
files | linux-udf/receipt linux64-aoe/receipt linux64-dialup/receipt linux64-nbd/receipt |
line diff
1.1 --- a/linux-udf/receipt Tue Nov 06 16:17:41 2012 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,48 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="linux-udf" 1.7 -VERSION="2.6.37" 1.8 -CATEGORY="base-system" 1.9 -SHORT_DESC="The Linux kernel udf module." 1.10 -MAINTAINER="devel@slitaz.org" 1.11 -DEPENDS="linux" 1.12 -WANTED="linux" 1.13 -WEB_SITE="http://www.kernel.org/" 1.14 -CONFIG_FILES="/etc/filesystems" 1.15 - 1.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 -genpkg_rules() 1.18 -{ 1.19 - local path 1.20 - path=lib/modules/$VERSION-slitaz/kernel 1.21 - mkdir -p $fs/$path $fs/etc 1.22 - export src 1.23 - export _pkg 1.24 - $wanted_stuff/list_modules.sh fs/udf | 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 - touch $fs/etc/filesystems 1.30 - 1.31 - for i in $(cat $wanted_stuff/modules-$VERSION.list); do 1.32 - if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then 1.33 - rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i 1.34 - fi 1.35 - done 1.36 -} 1.37 - 1.38 -# Post install/remove commands for Tazpkg. 1.39 -post_install() 1.40 -{ 1.41 - grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \ 1.42 - echo "${PACKAGE#*-}" >> $1/etc/filesystems 1.43 - chroot "$1/" depmod -a $VERSION-slitaz 1.44 -} 1.45 - 1.46 -post_remove() 1.47 -{ 1.48 - sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems 1.49 - chroot "$1/" depmod -a $VERSION-slitaz 1.50 -} 1.51 -
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/linux64-aoe/receipt Tue Nov 06 16:37:56 2012 +0100 2.3 @@ -0,0 +1,41 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="linux64-aoe" 2.7 +VERSION="3.2.14" 2.8 +BASEVER="${VERSION:0:3}" 2.9 +CATEGORY="base-system" 2.10 +SHORT_DESC="The Linux kernel ATA over Ethernet modules." 2.11 +MAINTAINER="devel@slitaz.org" 2.12 +DEPENDS="linux64" 2.13 +WANTED="linux" 2.14 +PROVIDE="linux-aoe" 2.15 +WEB_SITE="http://www.kernel.org/" 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + local path 2.21 + _pkg=$_pkg/linux64 2.22 + path=lib/modules/$BASEVER-slitaz/kernel 2.23 + mkdir -p $fs/$path 2.24 + export src 2.25 + export _pkg 2.26 + $wanted_stuff/list_modules.sh drivers/block/aoe/aoe.ko.xz | \ 2.27 + while read module; do 2.28 + dir=$path/$(dirname $module) 2.29 + [ -d $fs/$dir ] || mkdir -p $fs/$dir 2.30 + cp -a $_pkg/$path/$module $fs/$dir 2.31 + done 2.32 +} 2.33 + 2.34 +# Post install/remove commands for Tazpkg. 2.35 +post_install() 2.36 +{ 2.37 + chroot "$1/" depmod -a $BASEVER-slitaz 2.38 +} 2.39 + 2.40 +post_remove() 2.41 +{ 2.42 + chroot "$1/" depmod -a $BASEVER-slitaz 2.43 +} 2.44 +
3.1 --- a/linux64-dialup/receipt Tue Nov 06 16:17:41 2012 +0100 3.2 +++ b/linux64-dialup/receipt Tue Nov 06 16:37:56 2012 +0100 3.3 @@ -21,7 +21,7 @@ 3.4 export src 3.5 export _pkg 3.6 $wanted_stuff/list_modules.sh drivers/tty/serial/serial_cs.ko.xz \ 3.7 - drivers/usb/serial/option.ko.xz drivers/net/usb/hso.ko.xz | \ 3.8 + drivers/usb/serial drivers/net/usb/hso.ko.xz | \ 3.9 while read module; do 3.10 dir=$path/$(dirname $module) 3.11 [ -d $fs/$dir ] || mkdir -p $fs/$dir
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/linux64-nbd/receipt Tue Nov 06 16:37:56 2012 +0100 4.3 @@ -0,0 +1,42 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="linux64-nbd" 4.7 +VERSION="3.2.14" 4.8 +BASEVER="${VERSION:0:3}" 4.9 +CATEGORY="base-system" 4.10 +SHORT_DESC="The Linux kernel network block device modules." 4.11 +MAINTAINER="devel@slitaz.org" 4.12 +DEPENDS="linux64" 4.13 +WANTED="linux" 4.14 +PROVIDE="linux-nbd" 4.15 +WEB_SITE="http://www.kernel.org/" 4.16 + 4.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 +genpkg_rules() 4.19 +{ 4.20 + local path 4.21 + _pkg=$_pkg/linux64 4.22 + path=lib/modules/$BASEVER-slitaz/kernel 4.23 + mkdir -p $fs/$path 4.24 + export src 4.25 + export _pkg 4.26 + $wanted_stuff/list_modules.sh drivers/block/nbd.ko.xz \ 4.27 + drivers/block/drbd/drbd.ko.xz | \ 4.28 + while read module; do 4.29 + dir=$path/$(dirname $module) 4.30 + [ -d $fs/$dir ] || mkdir -p $fs/$dir 4.31 + cp -a $_pkg/$path/$module $fs/$dir 4.32 + done 4.33 +} 4.34 + 4.35 +# Post install/remove commands for Tazpkg. 4.36 +post_install() 4.37 +{ 4.38 + chroot "$1/" depmod -a $BASEVER-slitaz 4.39 +} 4.40 + 4.41 +post_remove() 4.42 +{ 4.43 + chroot "$1/" depmod -a $BASEVER-slitaz 4.44 +} 4.45 +