wok-6.x diff linux64/receipt @ rev 17269
Add linux64-exofs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 24 10:25:36 2014 +0200 (2014-10-24) |
parents | 889f25f00105 |
children | 19630aaa1da0 |
line diff
1.1 --- a/linux64/receipt Sat Aug 16 18:54:48 2014 +0200 1.2 +++ b/linux64/receipt Fri Oct 24 10:25:36 2014 +0200 1.3 @@ -24,7 +24,7 @@ 1.4 path=$fs/lib/modules/$VERSION-slitaz64/kernel 1.5 mkdir -p $path 1.6 cp -a $install/lib/modules/$VERSION-slitaz64/mo* \ 1.7 - $fs/lib/modules/$VERSION-slitaz 1.8 + $fs/lib/modules/$VERSION-slitaz64 1.9 1.10 # Get the base modules 1.11 export src 1.12 @@ -41,7 +41,7 @@ 1.13 rm -f $fs/lib/modules/$VERSION-slitaz64/build 1.14 rm -f $fs/lib/modules/$VERSION-slitaz64/source 1.15 # Cook all packages with a kernel module 1.16 - for i in $(cd $WOK; grep -l 'cook linux$' */receipt) 1.17 + for i in $(cd $WOK; grep -l 'cook linux64$' */receipt) 1.18 do 1.19 echo cook ${i%/receipt} 1.20 done 1.21 @@ -58,18 +58,18 @@ 1.22 post_install() 1.23 { 1.24 echo "Processing post-install commands..." 1.25 - chroot "$root/" depmod -a $VERSION-slitaz 1.26 + chroot "$root/" depmod -a $VERSION-slitaz64 1.27 # GRUB stuff. 1.28 if [ -f "$root/boot/grub/menu.lst" ]; then 1.29 root_dev=$(cat $root/boot/grub/menu.lst | grep root= | sed 's/.*root=\([^ ]*\).*/\1/' | head -n 1) 1.30 grub_dev=$(cat $root/boot/grub/menu.lst | grep "root (" | head -n 1) 1.31 # Add new kernel entry in case of upgrade for installed system. 1.32 - if ! grep -q $PACKAGE-$VERSION-slitaz $1/boot/grub/menu.lst; then 1.33 + if ! grep -q $PACKAGE-$VERSION-slitaz64 $1/boot/grub/menu.lst; then 1.34 cat >> $1/boot/grub/menu.lst << EOT 1.35 1.36 -title SliTaz GNU/Linux (Kernel $VERSION-slitaz) 1.37 +title SliTaz GNU/Linux (Kernel $VERSION-slitaz64) 1.38 $grub_dev 1.39 -kernel /boot/vmlinuz-$VERSION-slitaz root=$root_dev 1.40 +kernel /boot/vmlinuz-$VERSION-slitaz64 root=$root_dev 1.41 EOT 1.42 fi 1.43 # Display information message. 1.44 @@ -77,9 +77,9 @@ 1.45 ---- 1.46 GRUB is installed, these tree lines must be in your /boot/grub/menu.lst: 1.47 1.48 -title SliTaz GNU/Linux (Kernel $VERSION-slitaz) 1.49 +title SliTaz GNU/Linux (Kernel $VERSION-slitaz64) 1.50 $grub_dev 1.51 -kernel /boot/vmlinuz-$VERSION-slitaz root=$root_dev 1.52 +kernel /boot/vmlinuz-$VERSION-slitaz64 root=$root_dev 1.53 ---- 1.54 EOT 1.55 fi