[leaf-commits] src/bering-uclibc4/buildtool buildimage.pl,1.1,1.2

david M brooke <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/buildtool
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26767

Modified Files:
	buildimage.pl 
Log Message:
Added creation of firmware.tgz and removed redundant code

Index: buildimage.pl
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc4/buildtool/buildimage.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** buildimage.pl	25 Sep 2010 19:52:54 -0000	1.1
--- buildimage.pl	16 Oct 2010 11:12:49 -0000	1.2
***************
*** 111,121 ****
  system_exec( "cd $stagingDir/lib/modules/$kver ; tar -czf $tmpDir/modules.tgz * --exclude=build --exclude=source", "Error building modules.tgz" );
  
! ## Extract name of image to build from config file
! #my @names = keys( %{ $imConfig->value( 'image' ) } );
! #if ( scalar @names < 1 || scalar @names > 1 )
! #{
!     #die "Exactly one Image name required in config file";
! #}
! #my $imgName = $names[0];
  
  # Extract name and type of image to build from config file
--- 111,117 ----
  system_exec( "cd $stagingDir/lib/modules/$kver ; tar -czf $tmpDir/modules.tgz * --exclude=build --exclude=source", "Error building modules.tgz" );
  
! # Always create full firmware.tgz
! print "Creating firmware.tgz...\n" if $verbose;
! system_exec( "cd $stagingDir/lib/firmware ; tar -czf $tmpDir/firmware.tgz *", "Error building firmware.tgz" );
  
  # Extract name and type of image to build from config file


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.