Revision: 6563
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6563&view=rev
Author:   gespinasse
Date:     2012-04-23 20:52:49 +0000 (Mon, 23 Apr 2012)
Log Message:
-----------
Simplify su hack installing manually su under unchanged name following LFS
This is more convenient when reporting coreutils test failure as nobody know 
what su-tools is outside of LFS.

Modified Paths:
--------------
    ipcop/trunk/lfs/coreutils

Modified: ipcop/trunk/lfs/coreutils
===================================================================
--- ipcop/trunk/lfs/coreutils   2012-04-23 20:01:39 UTC (rev 6562)
+++ ipcop/trunk/lfs/coreutils   2012-04-23 20:52:49 UTC (rev 6563)
@@ -93,8 +93,7 @@
        cd $(DIR_APP) && make -j $(PARALLELISM)
        cd $(DIR_APP) && make install-exec
        # su is not installed (because suid root)
-       # install under a different name to run non-root tests later
-       cd $(DIR_APP) && cp -v src/su /$(TOOLS_DIR)/bin/su-tools
+       cd $(DIR_APP) && cp src/su /$(TOOLS_DIR)/bin
 endif
 
 ifeq "$(STAGE)" "base"
@@ -117,7 +116,7 @@
        echo "dummy:x:1000:nobody" >> /etc/group
        # To be able to run non-root tests as nobody
        chown -R nobody $(DIR_APP)
-       cd $(DIR_APP) && su-tools nobody -s /bin/bash -c "make -j 1 -k 
RUN_EXPENSIVE_TESTS=yes check" \
+       cd $(DIR_APP) && su nobody -s /bin/bash -c "make -j 1 -k 
RUN_EXPENSIVE_TESTS=yes check" \
                                        >> 
$(DIR_TEST)/$(THISAPP)-$(STAGE_ORDER).log 2>&1
 endif
        # need to be outside ifeq/endif in case a test fail and you recompile 
without test

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to