# HG changeset patch # User Pascal Bellard # Date 1280740990 -7200 # Node ID 85241294b8f89645b71bcf7b0147c90f80576bf6 # Parent b67661853cc98100526e4429e846ca5d5c5cbd4c mplayer-svn: fix kernel version diff -r b67661853cc9 -r 85241294b8f8 linux/stuff/bootloader.sh --- a/linux/stuff/bootloader.sh Mon Aug 02 10:14:49 2010 +0200 +++ b/linux/stuff/bootloader.sh Mon Aug 02 11:23:10 2010 +0200 @@ -70,7 +70,7 @@ bs=/tmp/bs$$ # Get and patch boot sector - # See http://hg.slitaz.org/wok/raw-file/tip/linux/stuff/linux-header-2.6.30.6.u + # See http://hg.slitaz.org/wok/raw-file/711d076b277c/linux/stuff/linux-header-2.6.34.u dd if=$KERNEL bs=512 count=1 of=$bs 2> /dev/null uudecode < /dev/null begin-base64 644 - diff -r b67661853cc9 -r 85241294b8f8 mplayer-svn/receipt --- a/mplayer-svn/receipt Mon Aug 02 10:14:49 2010 +0200 +++ b/mplayer-svn/receipt Mon Aug 02 11:23:10 2010 +0200 @@ -38,6 +38,8 @@ tar czf $TARBALL $PACKAGE-$VERSION fi cd $src + KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` + sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/" configure # disable unwanted features, remote control, streaming, networking, unwanted codecs, # disable video outputs, audio outputs, some advanced options ./configure \