wok-6.x rev 8616
Added linux-hwmon package. This is we can see how hot cpu's run on slitaz.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 14 15:47:37 2011 +0000 (2011-02-14) |
parents | 0b4cf0d9e1b5 |
children | 7a2eada93b18 |
files | linux-hwmon/receipt linux/receipt linux/stuff/linux-2.6.37-slitaz.config linux/stuff/modules-2.6.37.list |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux-hwmon/receipt Mon Feb 14 15:47:37 2011 +0000 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="linux-hwmon" 1.7 +VERSION="2.6.37" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="The Linux kernel hwmon 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/hwmon | while read module; do 1.24 + dir=$path/$(dirname $module) 1.25 + [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.26 + cp -a $_pkg/$path/$module $fs/$dir 1.27 + done 1.28 + 1.29 + for i in $(cat $WOK/$WANTED/stuff/modules-$VERSION.list); do 1.30 + if [ $fs/lib/modules/$VERSION-slitaz/kernel/$i ]; then 1.31 + rm -f $fs/lib/modules/$VERSION-slitaz/kernel/$i 1.32 + fi 1.33 + done 1.34 +} 1.35 + 1.36 +# Post install/remove commands for Tazpkg. 1.37 +post_install() 1.38 +{ 1.39 + chroot "$1/" depmod -a $VERSION-slitaz 1.40 +} 1.41 + 1.42 +post_remove() 1.43 +{ 1.44 + chroot "$1/" depmod -a $VERSION-slitaz 1.45 +} 1.46 +
2.1 --- a/linux/receipt Mon Feb 14 19:09:46 2011 +0100 2.2 +++ b/linux/receipt Mon Feb 14 15:47:37 2011 +0000 2.3 @@ -5,7 +5,7 @@ 2.4 CATEGORY="base-system" 2.5 SHORT_DESC="The Linux kernel and modules." 2.6 DEPENDS="depmod" 2.7 -BUILD_DEPENDS="slitaz-toolchain perl git lzma" 2.8 +BUILD_DEPENDS="slitaz-toolchain perl git lzma patch" 2.9 MAINTAINER="devel@slitaz.org" 2.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.11 WEB_SITE="http://www.kernel.org/" 2.12 @@ -21,13 +21,13 @@ 2.13 #do 2.14 # sed -i 's|VERSION="OLDVERSION"|VERSION="NEWVERSION"|g' $i 2.15 #done 2.16 - local _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 2.17 - local AUFSDIR="aufs-${_AUFSVER}" 2.18 + report open-bloc 2.19 + 2.20 + report step "Installing aufs source" 2.21 + AUFSDIR=$WOK/$PACKAGE/aufs 2.22 tazwok get-src aufs --target=$AUFSDIR 2.23 cp -a $AUFSDIR/Documentation $AUFSDIR/fs $AUFSDIR/include $src 2.24 cp -a $AUFSDIR/*.patch $WOK/$PACKAGE/stuff 2.25 - # We need the real GNU patch 2.26 - [ -L /usr/bin/patch ] && tazpkg get-install patch --forced 2.27 cd $src 2.28 # SliTaz db 2.29 [ -d slitaz ] && rm -rf slitaz 2> /dev/null 2.30 @@ -36,6 +36,7 @@ 2.31 cp ../stuff/gztazmod.sh ../stuff/list_modules.sh slitaz 2.32 cp ../stuff/bootloader.sh slitaz 2.33 # Apply patches 2.34 + report step "Applying patches" 2.35 while read patch_file; do 2.36 echo "$patch_file" >> slitaz/patches 2.37 cp ../stuff/$patch_file slitaz 2.38 @@ -59,11 +60,13 @@ 2.39 004-squashfs-add-xz-compression-support.patch 2.40 005-squashfs-add-xz-compression-configuration-option.patch 2.41 EOT 2.42 + report step "Make kernel proper and then build lguest" 2.43 make mrproper 2.44 cd Documentation/lguest 2.45 make lguest || return 1 2.46 cd ../.. 2.47 2.48 + report step "Make bzImage without modules first" 2.49 # Build bzImage without modules first 2.50 cp -f ../stuff/$PACKAGE-$VERSION-slitaz.config .config 2.51 sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config 2.52 @@ -77,6 +80,7 @@ 2.53 mv arch/x86/boot/bzImage $PWD/_pkg 2.54 mv System.map System.map-without-modules 2.55 2.56 + report step "Now build bzImage with modules" 2.57 # Build bzImage with modules 2.58 cp -f ../stuff/$PACKAGE-$VERSION-slitaz.config .config 2.59 make oldconfig 2.60 @@ -89,9 +93,11 @@ 2.61 mkdir -p $PWD/_pkg/boot 2> /dev/null 2.62 mv arch/x86/boot/bzImage $PWD/_pkg/boot/vmlinuz-$VERSION-slitaz 2.63 # Compress all modules. 2.64 + report step "Compressing all modules" 2.65 $WOK/$PACKAGE/stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz 2.66 ln System.map System.map-modules 2.67 ln Module.symvers Module.symvers-modules 2.68 + report close-bloc 2.69 } 2.70 2.71 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/linux/stuff/linux-2.6.37-slitaz.config Mon Feb 14 19:09:46 2011 +0100 3.2 +++ b/linux/stuff/linux-2.6.37-slitaz.config Mon Feb 14 15:47:37 2011 +0000 3.3 @@ -2318,90 +2318,99 @@ 3.4 # 3.5 # Native drivers 3.6 # 3.7 -# CONFIG_SENSORS_ABITUGURU is not set 3.8 -# CONFIG_SENSORS_ABITUGURU3 is not set 3.9 -# CONFIG_SENSORS_AD7414 is not set 3.10 -# CONFIG_SENSORS_AD7418 is not set 3.11 -# CONFIG_SENSORS_ADM1021 is not set 3.12 -# CONFIG_SENSORS_ADM1025 is not set 3.13 -# CONFIG_SENSORS_ADM1026 is not set 3.14 -# CONFIG_SENSORS_ADM1029 is not set 3.15 -# CONFIG_SENSORS_ADM1031 is not set 3.16 -# CONFIG_SENSORS_ADM9240 is not set 3.17 -# CONFIG_SENSORS_ADT7411 is not set 3.18 -# CONFIG_SENSORS_ADT7462 is not set 3.19 -# CONFIG_SENSORS_ADT7470 is not set 3.20 -# CONFIG_SENSORS_ADT7475 is not set 3.21 -# CONFIG_SENSORS_ASC7621 is not set 3.22 +CONFIG_SENSORS_ABITUGURU=m 3.23 +CONFIG_SENSORS_ABITUGURU3=m 3.24 +CONFIG_SENSORS_AD7414=m 3.25 +CONFIG_SENSORS_AD7418=m 3.26 +CONFIG_SENSORS_ADCXX=m 3.27 +CONFIG_SENSORS_ADM1021=m 3.28 +CONFIG_SENSORS_ADM1025=m 3.29 +CONFIG_SENSORS_ADM1026=m 3.30 +CONFIG_SENSORS_ADM1029=m 3.31 +CONFIG_SENSORS_ADM1031=m 3.32 +CONFIG_SENSORS_ADM9240=m 3.33 +CONFIG_SENSORS_ADT7411=m 3.34 +CONFIG_SENSORS_ADT7462=m 3.35 +CONFIG_SENSORS_ADT7470=m 3.36 +CONFIG_SENSORS_ADT7475=m 3.37 +CONFIG_SENSORS_ASC7621=m 3.38 CONFIG_SENSORS_K8TEMP=m 3.39 -# CONFIG_SENSORS_K10TEMP is not set 3.40 -# CONFIG_SENSORS_ASB100 is not set 3.41 -# CONFIG_SENSORS_ATXP1 is not set 3.42 -# CONFIG_SENSORS_DS1621 is not set 3.43 -# CONFIG_SENSORS_I5K_AMB is not set 3.44 -# CONFIG_SENSORS_F71805F is not set 3.45 -# CONFIG_SENSORS_F71882FG is not set 3.46 -# CONFIG_SENSORS_F75375S is not set 3.47 -# CONFIG_SENSORS_FSCHMD is not set 3.48 -# CONFIG_SENSORS_G760A is not set 3.49 -# CONFIG_SENSORS_GL518SM is not set 3.50 -# CONFIG_SENSORS_GL520SM is not set 3.51 -# CONFIG_SENSORS_GPIO_FAN is not set 3.52 +CONFIG_SENSORS_K10TEMP=m 3.53 +CONFIG_SENSORS_ASB100=m 3.54 +CONFIG_SENSORS_ATXP1=m 3.55 +CONFIG_SENSORS_DS1621=m 3.56 +CONFIG_SENSORS_I5K_AMB=m 3.57 +CONFIG_SENSORS_F71805F=m 3.58 +CONFIG_SENSORS_F71882FG=m 3.59 +CONFIG_SENSORS_F75375S=m 3.60 +CONFIG_SENSORS_FSCHMD=m 3.61 +CONFIG_SENSORS_G760A=m 3.62 +CONFIG_SENSORS_GL518SM=m 3.63 +CONFIG_SENSORS_GL520SM=m 3.64 +CONFIG_SENSORS_GPIO_FAN=m 3.65 CONFIG_SENSORS_CORETEMP=m 3.66 -# CONFIG_SENSORS_PKGTEMP is not set 3.67 -# CONFIG_SENSORS_IT87 is not set 3.68 -# CONFIG_SENSORS_JC42 is not set 3.69 -# CONFIG_SENSORS_LM63 is not set 3.70 -# CONFIG_SENSORS_LM73 is not set 3.71 -# CONFIG_SENSORS_LM75 is not set 3.72 -# CONFIG_SENSORS_LM77 is not set 3.73 -# CONFIG_SENSORS_LM78 is not set 3.74 -# CONFIG_SENSORS_LM80 is not set 3.75 -# CONFIG_SENSORS_LM83 is not set 3.76 -# CONFIG_SENSORS_LM85 is not set 3.77 -# CONFIG_SENSORS_LM87 is not set 3.78 -# CONFIG_SENSORS_LM90 is not set 3.79 -# CONFIG_SENSORS_LM92 is not set 3.80 -# CONFIG_SENSORS_LM93 is not set 3.81 -# CONFIG_SENSORS_LTC4215 is not set 3.82 -# CONFIG_SENSORS_LTC4245 is not set 3.83 -# CONFIG_SENSORS_LTC4261 is not set 3.84 -# CONFIG_SENSORS_LM95241 is not set 3.85 -# CONFIG_SENSORS_MAX1619 is not set 3.86 -# CONFIG_SENSORS_MAX6650 is not set 3.87 -# CONFIG_SENSORS_PC87360 is not set 3.88 -# CONFIG_SENSORS_PC87427 is not set 3.89 -# CONFIG_SENSORS_PCF8591 is not set 3.90 -# CONFIG_SENSORS_SHT15 is not set 3.91 -# CONFIG_SENSORS_SIS5595 is not set 3.92 -# CONFIG_SENSORS_SMM665 is not set 3.93 -# CONFIG_SENSORS_DME1737 is not set 3.94 -# CONFIG_SENSORS_EMC1403 is not set 3.95 -# CONFIG_SENSORS_EMC2103 is not set 3.96 -# CONFIG_SENSORS_SMSC47M1 is not set 3.97 -# CONFIG_SENSORS_SMSC47M192 is not set 3.98 -# CONFIG_SENSORS_SMSC47B397 is not set 3.99 -# CONFIG_SENSORS_ADS7828 is not set 3.100 -# CONFIG_SENSORS_AMC6821 is not set 3.101 -# CONFIG_SENSORS_THMC50 is not set 3.102 -# CONFIG_SENSORS_TMP102 is not set 3.103 -# CONFIG_SENSORS_TMP401 is not set 3.104 -# CONFIG_SENSORS_TMP421 is not set 3.105 -# CONFIG_SENSORS_VIA_CPUTEMP is not set 3.106 -# CONFIG_SENSORS_VIA686A is not set 3.107 -# CONFIG_SENSORS_VT1211 is not set 3.108 -# CONFIG_SENSORS_VT8231 is not set 3.109 -# CONFIG_SENSORS_W83781D is not set 3.110 -# CONFIG_SENSORS_W83791D is not set 3.111 -# CONFIG_SENSORS_W83792D is not set 3.112 -# CONFIG_SENSORS_W83793 is not set 3.113 -# CONFIG_SENSORS_W83795 is not set 3.114 -# CONFIG_SENSORS_W83L785TS is not set 3.115 -# CONFIG_SENSORS_W83L786NG is not set 3.116 -# CONFIG_SENSORS_W83627HF is not set 3.117 -# CONFIG_SENSORS_W83627EHF is not set 3.118 -# CONFIG_SENSORS_LIS3_I2C is not set 3.119 -# CONFIG_SENSORS_APPLESMC is not set 3.120 +CONFIG_SENSORS_PKGTEMP=m 3.121 +CONFIG_SENSORS_IBMAEM=m 3.122 +CONFIG_SENSORS_IBMPEX=m 3.123 +CONFIG_SENSORS_IT87=m 3.124 +CONFIG_SENSORS_JC42=m 3.125 +CONFIG_SENSORS_LM63=m 3.126 +CONFIG_SENSORS_LM70=m 3.127 +CONFIG_SENSORS_LM73=m 3.128 +CONFIG_SENSORS_LM75=m 3.129 +CONFIG_SENSORS_LM77=m 3.130 +CONFIG_SENSORS_LM78=m 3.131 +CONFIG_SENSORS_LM80=m 3.132 +CONFIG_SENSORS_LM83=m 3.133 +CONFIG_SENSORS_LM85=m 3.134 +CONFIG_SENSORS_LM87=m 3.135 +CONFIG_SENSORS_LM90=m 3.136 +CONFIG_SENSORS_LM92=m 3.137 +CONFIG_SENSORS_LM93=m 3.138 +CONFIG_SENSORS_LTC4215=m 3.139 +CONFIG_SENSORS_LTC4245=m 3.140 +CONFIG_SENSORS_LTC4261=m 3.141 +CONFIG_SENSORS_LM95241=m 3.142 +CONFIG_SENSORS_MAX1111=m 3.143 +CONFIG_SENSORS_MAX1619=m 3.144 +CONFIG_SENSORS_MAX6650=m 3.145 +CONFIG_SENSORS_PC87360=m 3.146 +CONFIG_SENSORS_PC87427=m 3.147 +CONFIG_SENSORS_PCF8591=m 3.148 +CONFIG_SENSORS_SHT15=m 3.149 +CONFIG_SENSORS_SIS5595=m 3.150 +CONFIG_SENSORS_SMM665=m 3.151 +CONFIG_SENSORS_DME1737=m 3.152 +CONFIG_SENSORS_EMC1403=m 3.153 +CONFIG_SENSORS_EMC2103=m 3.154 +CONFIG_SENSORS_SMSC47M1=m 3.155 +CONFIG_SENSORS_SMSC47M192=m 3.156 +CONFIG_SENSORS_SMSC47B397=m 3.157 +CONFIG_SENSORS_ADS7828=m 3.158 +CONFIG_SENSORS_ADS7871=m 3.159 +CONFIG_SENSORS_AMC6821=m 3.160 +CONFIG_SENSORS_THMC50=m 3.161 +CONFIG_SENSORS_TMP102=m 3.162 +CONFIG_SENSORS_TMP401=m 3.163 +CONFIG_SENSORS_TMP421=m 3.164 +CONFIG_SENSORS_VIA_CPUTEMP=m 3.165 +CONFIG_SENSORS_VIA686A=m 3.166 +CONFIG_SENSORS_VT1211=m 3.167 +CONFIG_SENSORS_VT8231=m 3.168 +CONFIG_SENSORS_W83781D=m 3.169 +CONFIG_SENSORS_W83791D=m 3.170 +CONFIG_SENSORS_W83792D=m 3.171 +CONFIG_SENSORS_W83793=m 3.172 +CONFIG_SENSORS_W83795=m 3.173 +# CONFIG_SENSORS_W83795_FANCTRL is not set 3.174 +CONFIG_SENSORS_W83L785TS=m 3.175 +CONFIG_SENSORS_W83L786NG=m 3.176 +CONFIG_SENSORS_W83627HF=m 3.177 +CONFIG_SENSORS_W83627EHF=m 3.178 +CONFIG_SENSORS_WM831X=m 3.179 +CONFIG_SENSORS_LIS3_I2C=m 3.180 +CONFIG_SENSORS_APPLESMC=m 3.181 +CONFIG_SENSORS_MC13783_ADC=m 3.182 3.183 # 3.184 # ACPI drivers
4.1 --- a/linux/stuff/modules-2.6.37.list Mon Feb 14 19:09:46 2011 +0100 4.2 +++ b/linux/stuff/modules-2.6.37.list Mon Feb 14 15:47:37 2011 +0000 4.3 @@ -6,7 +6,6 @@ 4.4 drivers/char/rtc.ko.gz 4.5 drivers/hwmon/coretemp.ko.gz 4.6 drivers/hwmon/hwmon.ko.gz 4.7 -drivers/hwmon/k8temp.ko.gz 4.8 drivers/input/mouse/inport.ko.gz 4.9 drivers/input/mouse/logibm.ko.gz 4.10 drivers/input/mouse/pc110pad.ko.gz