# HG changeset patch # User Pascal Bellard # Date 1242223419 -7200 # Node ID 0e7625344392ea2cbd9a364973fe38a972057f9e # Parent b9b88d293001308e7581f1c6619f51a400271e04 Add linux-ext4 linux-hfs linux-minix diff -r b9b88d293001 -r 0e7625344392 linux-btrfs/receipt --- a/linux-btrfs/receipt Wed May 13 15:56:54 2009 +0200 +++ b/linux-btrfs/receipt Wed May 13 16:03:39 2009 +0200 @@ -3,7 +3,7 @@ PACKAGE="linux-btrfs" VERSION="2.6.29.3" CATEGORY="base-system" -SHORT_DESC="The Linux kernel reiserfs module." +SHORT_DESC="The Linux kernel btrfs module." MAINTAINER="pascal.bellard@slitaz.org" DEPENDS="linux" WANTED="linux" diff -r b9b88d293001 -r 0e7625344392 linux-ext4/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-ext4/receipt Wed May 13 16:03:39 2009 +0200 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="linux-ext4" +VERSION="2.6.29.3" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel ext4 module." +MAINTAINER="pascal.bellard@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 + $src/list_modules.sh fs/${PACKAGE#*-} | 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 +} + +# 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 + depmod -a $VERSION-slitaz +} + diff -r b9b88d293001 -r 0e7625344392 linux-hfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-hfs/receipt Wed May 13 16:03:39 2009 +0200 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="linux-hfs" +VERSION="2.6.29.3" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel hfs module." +MAINTAINER="pascal.bellard@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 + $src/list_modules.sh fs/${PACKAGE#*-} | 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 +} + +# 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 + depmod -a $VERSION-slitaz +} + diff -r b9b88d293001 -r 0e7625344392 linux-minix/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-minix/receipt Wed May 13 16:03:39 2009 +0200 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="linux-minix" +VERSION="2.6.29.3" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel minix module." +MAINTAINER="pascal.bellard@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 + $src/list_modules.sh fs/${PACKAGE#*-} | 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 +} + +# 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 + depmod -a $VERSION-slitaz +} + diff -r b9b88d293001 -r 0e7625344392 linux-usbip/receipt --- a/linux-usbip/receipt Wed May 13 15:56:54 2009 +0200 +++ b/linux-usbip/receipt Wed May 13 16:03:39 2009 +0200 @@ -3,7 +3,7 @@ PACKAGE="linux-usbip" VERSION="2.6.29.3" CATEGORY="base-system" -SHORT_DESC="The Linux kernel squashfs module." +SHORT_DESC="The Linux kernel usbip module." MAINTAINER="pascal.bellard@slitaz.org" DEPENDS="linux" WANTED="linux"