Update of /cvsroot/leaf/src/bering-uclibc4/buildtool
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv24893

Modified Files:
        buildpacket.pl 
Log Message:
Autodetection of current kernel version


Index: buildpacket.pl
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/buildtool/buildpacket.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** buildpacket.pl      17 Aug 2010 21:29:12 -0000      1.8
--- buildpacket.pl      21 Aug 2010 13:58:43 -0000      1.9
***************
*** 31,35 ****
  my $version = "0.9.30.3";
  # kernel Version
! my $kver = "2.6.35.2";
  # archivers for different package type
  my $initrd_pkr="gzip";
--- 31,36 ----
  my $version = "0.9.30.3";
  # kernel Version
! my $kver = qx(cat source/linux/linux/.config | awk '/version:/ {print \$5}');
! $kver =~ s/\n//;
  # archivers for different package type
  my $initrd_pkr="gzip";


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to