wok-next rev 4236

tazbb: get KERNEL variable from linux receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 16:26:08 2009 +0200 (2009-09-24)
parents 7d74bf227264
children ad920ce27bf4
files tazbb/stuff/tazbb tazbb/stuff/tazbb.conf
line diff
     1.1 --- a/tazbb/stuff/tazbb	Thu Sep 24 15:52:59 2009 +0200
     1.2 +++ b/tazbb/stuff/tazbb	Thu Sep 24 16:26:08 2009 +0200
     1.3 @@ -36,6 +36,12 @@
     1.4  	touch $LOCK_FILE $DB_DIR/blocked
     1.5  fi
     1.6  
     1.7 +# Set KERNEL variable
     1.8 +if [ -s $BUILD_WOK/linux/receipt ]; then
     1.9 +	. $BUILD_WOK/linux/receipt
    1.10 +	KERNEL=$VERSION
    1.11 +fi
    1.12 +
    1.13  usage()
    1.14  {
    1.15  	echo -e "\nSliTaz developers and build host tool\n
     2.1 --- a/tazbb/stuff/tazbb.conf	Thu Sep 24 15:52:59 2009 +0200
     2.2 +++ b/tazbb/stuff/tazbb.conf	Thu Sep 24 16:26:08 2009 +0200
     2.3 @@ -14,5 +14,3 @@
     2.4  # Path to the online Hg repo.
     2.5  HG_URL="http://hg.slitaz.org/wok"
     2.6  
     2.7 -# Kernel for EXTRAVERSION.
     2.8 -KERNEL="2.6.30.4"