Send CU-Wireless-Commits mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-commits
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CU-Wireless-Commits digest..."


Today's Topics:

   1. r5079 - cuw/trunk/src/boot-image/steps.d ([email protected])
   2. r5080 - cuw/trunk/src/boot-image/steps.d ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Thu, 25 Jun 2009 17:47:49 -0500 (CDT)
From: [email protected]
Subject: [CUWiN-Commits] r5079 - cuw/trunk/src/boot-image/steps.d
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

Author: dyoung
Date: 2009-06-25 17:47:48 -0500 (Thu, 25 Jun 2009)
New Revision: 5079

Modified:
   cuw/trunk/src/boot-image/steps.d/install
Log:
Improve error detection & reporting or, at least, try.



Modified: cuw/trunk/src/boot-image/steps.d/install
===================================================================
--- cuw/trunk/src/boot-image/steps.d/install    2009-06-12 00:07:51 UTC (rev 
5078)
+++ cuw/trunk/src/boot-image/steps.d/install    2009-06-25 22:47:48 UTC (rev 
5079)
@@ -59,18 +59,23 @@
 
 {
        $TOOL_MTREE -N $DESTDIR/etc -C -R mode,uname,gname < $DESTDIR/metalog
-       if [ $? -ne 0 ]; then
-               echo error > $rc1
+       rc=$?
+       if [ $rc -ne 0 ]; then
+               echo "$0: mtree(8) failed" 1>&2
+               echo $rc > $rc1
        fi
 } | {
        $TOOL_PAX -rw -M $INSTDIR
-       if [ $? -ne 0 ]; then
-               echo error > $rc2
+       rc=$?
+       if [ $rc -ne 0 ]; then
+               echo "$0: pax(1) failed" 1>&2
+               echo $rc > $rc2
        fi
 }
 
 if [ -s $rc1 -o -s $rc2 ]; then
        rm -f $rc1 $rc2
+       echo "$0: install step: mtree(8) or pax(1) failed" 1>&2
        exit 1
 fi
 



------------------------------

Message: 2
Date: Thu, 25 Jun 2009 17:59:00 -0500 (CDT)
From: [email protected]
Subject: [CUWiN-Commits] r5080 - cuw/trunk/src/boot-image/steps.d
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

Author: dyoung
Date: 2009-06-25 17:59:00 -0500 (Thu, 25 Jun 2009)
New Revision: 5080

Modified:
   cuw/trunk/src/boot-image/steps.d/modules
Log:
Set MKLINKLIB=no only for the 'install' target, since that's when
it is most important to avoid installing the .a files. 

XXX MKLINKLIB=no should be optional.



Modified: cuw/trunk/src/boot-image/steps.d/modules
===================================================================
--- cuw/trunk/src/boot-image/steps.d/modules    2009-06-25 22:47:48 UTC (rev 
5079)
+++ cuw/trunk/src/boot-image/steps.d/modules    2009-06-25 22:59:00 UTC (rev 
5080)
@@ -40,10 +40,10 @@
                cd $module
 
                case $action in
-               cleandir | obj | install)
+               install)
                        _env="MKLINKLIB=no"
                        ;;
-               dependall)
+               cleandir | obj | dependall)
                        _env=
                        ;;
                *)



------------------------------

_______________________________________________
CU-Wireless-Commits mailing list
[email protected]
http://lists.chambana.net/cgi-bin/listinfo/cu-wireless-commits


End of CU-Wireless-Commits Digest, Vol 47, Issue 2
**************************************************

Reply via email to