# HG changeset patch # User Pascal Bellard # Date 1207730976 0 # Node ID cd99ec38193815b9dcac4700b5ee66d879b2c7b0 # Parent 51851b822bbb358c0fd953aa647dc14fcded6f97 Linux: split to linux, linux-acpi, linux-ieee1394, linux-sound. Add: linux-reiserfs, linux-wireless Fix modules post_install diff -r 51851b822bbb -r cd99ec381938 kqemu/receipt --- a/kqemu/receipt Wed Apr 09 00:36:02 2008 +0200 +++ b/kqemu/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -39,7 +39,7 @@ # Post install/remove commands for Tazpkg. post_install() { - depmod -a + depmod -a -b "$(dirname $1/lib/modules/*/modules.dep)" } post_remove() diff -r 51851b822bbb -r cd99ec381938 linux-acpi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-acpi/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="linux-acpi" +VERSION="2.6.24.2" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel acpi modules." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done < stuff/modules-$VERSION.list +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + depmod -a -b "$1/lib/modules/$VERSION-slitaz" +} + +post_remove() +{ + depmod -a +} + diff -r 51851b822bbb -r cd99ec381938 linux-acpi/stuff/modules-2.6.24.2.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-acpi/stuff/modules-2.6.24.2.list Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,2 @@ +drivers/acpi/ac.ko.gz +drivers/acpi/battery.ko.gz diff -r 51851b822bbb -r cd99ec381938 linux-ieee1394/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-ieee1394/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="linux-ieee1394" +VERSION="2.6.24.2" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel ieee1394 modules." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done < stuff/modules-$VERSION.list +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + depmod -a -b "$1/lib/modules/$VERSION-slitaz" +} + +post_remove() +{ + depmod -a +} + diff -r 51851b822bbb -r cd99ec381938 linux-ieee1394/stuff/modules-2.6.24.2.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-ieee1394/stuff/modules-2.6.24.2.list Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,3 @@ +drivers/ieee1394/raw1394.ko.gz +drivers/ieee1394/ieee1394.ko.gz +drivers/ieee1394/ohci1394.ko.gz diff -r 51851b822bbb -r cd99ec381938 linux-reiserfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-reiserfs/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="linux-reiserfs" +VERSION="2.6.24.2" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel reiserfs module." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done < stuff/modules-$VERSION.list +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + depmod -a -b "$1/lib/modules/$VERSION-slitaz" +} + +post_remove() +{ + depmod -a +} + diff -r 51851b822bbb -r cd99ec381938 linux-reiserfs/stuff/modules-2.6.24.2.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-reiserfs/stuff/modules-2.6.24.2.list Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,1 @@ +fs/reiserfs/reiserfs.ko.gz diff -r 51851b822bbb -r cd99ec381938 linux-sound/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-sound/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="linux-sound" +VERSION="2.6.24.2" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel sound modules." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + ( cd $_pkg/$path ; tar cf - sound ) | ( cd $fs/$path ; tar xf - ) + +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + depmod -a -b "$1/lib/modules/$VERSION-slitaz" +} + +post_remove() +{ + depmod -a +} + diff -r 51851b822bbb -r cd99ec381938 linux-wireless/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-wireless/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="linux-wireless" +VERSION="2.6.24.2" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel wireless modules." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="linux" +WEB_SITE="http://www.kernel.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path + while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$path/$module $fs/$dir + done < stuff/modules-$VERSION.list +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + depmod -a -b "$1/lib/modules/$VERSION-slitaz" +} + +post_remove() +{ + depmod -a +} + diff -r 51851b822bbb -r cd99ec381938 linux-wireless/stuff/modules-2.6.24.2.list --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-wireless/stuff/modules-2.6.24.2.list Wed Apr 09 08:49:36 2008 +0000 @@ -0,0 +1,25 @@ +crypto/arc4.ko.gz +crypto/ecb.ko.gz +crypto/aes_generic.ko.gz +crypto/michael_mic.ko.gz +drivers/misc/eeprom_93cx6.ko.gz +drivers/net/wireless/b43/b43.ko.gz +drivers/net/wireless/b43legacy/b43legacy.ko.gz +drivers/net/wireless/bcm43xx/bcm43xx.ko.gz +drivers/net/wireless/rt2x00/rt2500usb.ko.gz +drivers/net/wireless/rt2x00/rt2x00lib.ko.gz +drivers/net/wireless/rt2x00/rt2x00pci.ko.gz +drivers/net/wireless/rt2x00/rt2x00usb.ko.gz +drivers/net/wireless/rt2x00/rt2400pci.ko.gz +drivers/net/wireless/rt2x00/rt2500pci.ko.gz +drivers/net/wireless/zd1211rw/zd1211rw.ko.gz +drivers/net/wireless/ipw2100.ko.gz +drivers/net/wireless/ipw2200.ko.gz +net/ieee80211/ieee80211_crypt_ccmp.ko.gz +net/ieee80211/ieee80211_crypt_tkip.ko.gz +net/ieee80211/ieee80211_crypt_wep.ko.gz +net/ieee80211/softmac/ieee80211softmac.ko.gz +net/ieee80211/ieee80211.ko.gz +net/ieee80211/ieee80211_crypt.ko.gz +net/mac80211/mac80211.ko.gz +net/wireless/cfg80211.ko.gz diff -r 51851b822bbb -r cd99ec381938 linux/receipt --- a/linux/receipt Wed Apr 09 00:36:02 2008 +0200 +++ b/linux/receipt Wed Apr 09 08:49:36 2008 +0000 @@ -14,16 +14,28 @@ { cd $src # lzma and boot patch from pascal - patch -p1 < ../stuff/boot-kernel.u - patch -p1 < ../stuff/$PACKAGE-lzma-$VERSION.u - patch -p1 < ../stuff/decompress_unlzma.u + while read patch_file; do + echo "Apply $patch_file" + patch -p1 < ../stuff/$patch_file + done <