# HG changeset patch # User Pascal Bellard # Date 1352216276 -3600 # Node ID a00b16a1dca0a2ccb5bc53fa4279cfaa6019e8a2 # Parent 12ff59a850542a4dd138622c97c86eba149dce14 Add linux64-aoe, linux64-nbd and remove linux-udf diff -r 12ff59a85054 -r a00b16a1dca0 linux-udf/receipt --- a/linux-udf/receipt Tue Nov 06 16:17:41 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="linux-udf" -VERSION="2.6.37" -CATEGORY="base-system" -SHORT_DESC="The Linux kernel udf module." -MAINTAINER="devel@slitaz.org" -DEPENDS="linux" -WANTED="linux" -WEB_SITE="http://www.kernel.org/" -CONFIG_FILES="/etc/filesystems" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - local path - path=lib/modules/$VERSION-slitaz/kernel - mkdir -p $fs/$path $fs/etc - export src - export _pkg - $wanted_stuff/list_modules.sh fs/udf | while read module; do - dir=$path/$(dirname $module) - [ -d $fs/$dir ] || mkdir -p $fs/$dir - cp -a $_pkg/$path/$module $fs/$dir - done - touch $fs/etc/filesystems - - for i in $(cat $wanted_stuff/modules-$VERSION.list); do - if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then - rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i - fi - done -} - -# Post install/remove commands for Tazpkg. -post_install() -{ - grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \ - echo "${PACKAGE#*-}" >> $1/etc/filesystems - chroot "$1/" depmod -a $VERSION-slitaz -} - -post_remove() -{ - sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems - chroot "$1/" depmod -a $VERSION-slitaz -} - diff -r 12ff59a85054 -r a00b16a1dca0 linux64-aoe/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-aoe/receipt Tue Nov 06 16:37:56 2012 +0100 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="linux64-aoe" +VERSION="3.2.14" +BASEVER="${VERSION:0:3}" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel ATA over Ethernet modules." +MAINTAINER="devel@slitaz.org" +DEPENDS="linux64" +WANTED="linux" +PROVIDE="linux-aoe" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + _pkg=$_pkg/linux64 + path=lib/modules/$BASEVER-slitaz/kernel + mkdir -p $fs/$path + export src + export _pkg + $wanted_stuff/list_modules.sh drivers/block/aoe/aoe.ko.xz | \ + while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + chroot "$1/" depmod -a $BASEVER-slitaz +} + +post_remove() +{ + chroot "$1/" depmod -a $BASEVER-slitaz +} + diff -r 12ff59a85054 -r a00b16a1dca0 linux64-dialup/receipt --- a/linux64-dialup/receipt Tue Nov 06 16:17:41 2012 +0100 +++ b/linux64-dialup/receipt Tue Nov 06 16:37:56 2012 +0100 @@ -21,7 +21,7 @@ export src export _pkg $wanted_stuff/list_modules.sh drivers/tty/serial/serial_cs.ko.xz \ - drivers/usb/serial/option.ko.xz drivers/net/usb/hso.ko.xz | \ + drivers/usb/serial drivers/net/usb/hso.ko.xz | \ while read module; do dir=$path/$(dirname $module) [ -d $fs/$dir ] || mkdir -p $fs/$dir diff -r 12ff59a85054 -r a00b16a1dca0 linux64-nbd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-nbd/receipt Tue Nov 06 16:37:56 2012 +0100 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="linux64-nbd" +VERSION="3.2.14" +BASEVER="${VERSION:0:3}" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel network block device modules." +MAINTAINER="devel@slitaz.org" +DEPENDS="linux64" +WANTED="linux" +PROVIDE="linux-nbd" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + _pkg=$_pkg/linux64 + path=lib/modules/$BASEVER-slitaz/kernel + mkdir -p $fs/$path + export src + export _pkg + $wanted_stuff/list_modules.sh drivers/block/nbd.ko.xz \ + drivers/block/drbd/drbd.ko.xz | \ + while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + chroot "$1/" depmod -a $BASEVER-slitaz +} + +post_remove() +{ + chroot "$1/" depmod -a $BASEVER-slitaz +} +