wok-next diff linux64/receipt @ rev 19712
Up backuppc (3.3.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 12 11:26:54 2017 +0200 (2017-05-12) |
parents | 6fab3264ba87 |
children |
line diff
1.1 --- a/linux64/receipt Fri Dec 25 15:23:46 2015 +0200 1.2 +++ b/linux64/receipt Fri May 12 11:26:54 2017 +0200 1.3 @@ -1,20 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux64" 1.7 -VERSION="3.2.71" 1.8 +VERSION="4.9.0" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="The Linux 64 bits kernel and modules." 1.11 +SHORT_DESC="The Linux 64 bits Kernel and modules" 1.12 MAINTAINER="devel@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="http://www.kernel.org/" 1.15 +WEB_SITE="https://www.kernel.org/" 1.16 +PROVIDE="linux" 1.17 + 1.18 WANTED="linux" 1.19 -PROVIDE="linux" 1.20 +DEPENDS="depmod" 1.21 1.22 # We want it regenerated on each kernel/module install 1.23 #CONFIG_FILES="/lib/modules/$VERSION-slitaz64/modules.dep" 1.24 1.25 -DEPENDS="depmod" 1.26 - 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 @@ -38,18 +38,22 @@ 1.31 [ -d $path/$dir ] || mkdir -p $path/$dir 1.32 cp -a $install/lib/modules/$VERSION-slitaz64/kernel/$module $path/$dir 1.33 done < $WOK/$PACKAGE/source/tmp/modules.list 1.34 + 1.35 # Remove unresolved links 1.36 rm -f $fs/lib/modules/$VERSION-slitaz64/build 1.37 rm -f $fs/lib/modules/$VERSION-slitaz64/source 1.38 + 1.39 # Cook all packages with a kernel module 1.40 for i in $(cd $WOK; grep -l 'cook linux64$' */receipt); do 1.41 echo cook ${i%/receipt} 1.42 done 1.43 + 1.44 # Fixed modules.dep to use right path 1.45 # saves 100kb of space too 1.46 sed -i "s|$install||g" $fs/lib/modules/$VERSION-slitaz64/modules.dep 1.47 sed -i "s|99.98.$VERSION-slitaz|$VERSION-slitaz|g" $fs/lib/modules/$VERSION-slitaz64/modules.dep 1.48 - # Check and echo any module in kernel .config that's not added to 1.49 + 1.50 + # Check and echo any module in kernel .config that's not added to 1.51 # one of linux-* pkgs 1.52 $wanted_stuff/check_modules.sh 2>&1 | grep -v files.list 1.53 } 1.54 @@ -57,7 +61,6 @@ 1.55 # Pre and post install commands for Tazpkg. 1.56 post_install() 1.57 { 1.58 - chroot "$root/" depmod -a $VERSION-slitaz64 1.59 # GRUB stuff. 1.60 if [ -f "$root/boot/grub/menu.lst" ]; then 1.61 root_dev=$(cat $root/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1)