Update of /cvsroot/leaf/src/bering-uclibc/buildtool/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16773

Modified Files:
        createimage.sh 
Log Message:
uses now filelist found in filelist file in directory image/fd or image/iso
instead of internal list


Index: createimage.sh
===================================================================
RCS file: /cvsroot/leaf/src/bering-uclibc/buildtool/tools/createimage.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** createimage.sh      13 Jul 2005 22:40:10 -0000      1.6
--- createimage.sh      13 Jul 2005 22:56:53 -0000      1.7
***************
*** 15,23 ****
  
  
- FILELISTFD="linux bridge.lrp config.lrp dhcpcd.lrp dnsmasq.lrp dropbear.lrp 
etc.lrp initrd.lrp iptables.lrp keyboard.lrp local.lrp log.lrp modules.lrp 
ppp.lrp pppoe.lrp root.lrp webconf.lrp shorwall.lrp ulogd.lrp mhttpd.lrp 
webconf.lwp dropbear.lwp keyboard.lwp"
- FILELISTISO="linux initrd_ide_cd.lrp:initrd.lrp local.lrp"
- 
- 
- 
  
#######################################################################################################################################################
  
--- 15,18 ----
***************
*** 72,75 ****
--- 67,76 ----
  FDDIR=${TOOLSDIR}/image/$1
  FDBASEDIR=${TOOLSDIR}/image
+ if [ -f "$FDDIR/filelist" ] ; then
+       . $FDDIR/filelist
+ else
+       echo "$FDDIR/filelist is missing"
+       exit 1
+ fi
  # do we get an dir name ?
  if [ "$3" != "" ] ; then
***************
*** 102,107 ****
  set +e
  # copy all files
! filelist=$(eval echo "\$FILELIST$TYPE")
! for name in ${filelist} ; do
        echo $name | grep -q ":"
        if [ $? -eq 0 ] ; then
--- 103,108 ----
  set +e
  # copy all files
! #filelist=$(eval echo "\$FILELIST$TYPE")
! for name in ${FILELIST} ; do
        echo $name | grep -q ":"
        if [ $? -eq 0 ] ; then



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to