wok-next rev 5939

mplayer-svn: fix kernel version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 02 11:23:10 2010 +0200 (2010-08-02)
parents b67661853cc9
children a041e4f77d18
files linux/stuff/bootloader.sh mplayer-svn/receipt
line diff
     1.1 --- a/linux/stuff/bootloader.sh	Mon Aug 02 10:14:49 2010 +0200
     1.2 +++ b/linux/stuff/bootloader.sh	Mon Aug 02 11:23:10 2010 +0200
     1.3 @@ -70,7 +70,7 @@
     1.4  	bs=/tmp/bs$$
     1.5  
     1.6  	# Get and patch boot sector
     1.7 -	# See http://hg.slitaz.org/wok/raw-file/tip/linux/stuff/linux-header-2.6.30.6.u
     1.8 +	# See  http://hg.slitaz.org/wok/raw-file/711d076b277c/linux/stuff/linux-header-2.6.34.u
     1.9  	dd if=$KERNEL bs=512 count=1 of=$bs 2> /dev/null
    1.10  	uudecode <<EOT | dd of=$bs conv=notrunc 2> /dev/null
    1.11  begin-base64 644 -
     2.1 --- a/mplayer-svn/receipt	Mon Aug 02 10:14:49 2010 +0200
     2.2 +++ b/mplayer-svn/receipt	Mon Aug 02 11:23:10 2010 +0200
     2.3 @@ -38,6 +38,8 @@
     2.4  		tar czf $TARBALL $PACKAGE-$VERSION
     2.5  	fi
     2.6  	cd $src
     2.7 +	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
     2.8 +	sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/" configure
     2.9  	# disable unwanted features, remote control, streaming, networking, unwanted codecs, 
    2.10  	# disable video outputs, audio outputs, some advanced options
    2.11  	./configure \