Hi

I'm testing sbox2 using a filesystem build around buildroot. I would like to 
integrate the sbox2 facility in buildroot
project. BTW

Starting from here

commit e7370295b0489a4cdf7d896fc736552649429ced
Author: Lauri Aarnio <lauri.aar...@iki.fi>
Date:   Fri Jun 18 15:28:16 2010 +0300

    Version 2.1

I have applied this patch in order to have the emulation working. The 
SBOX_TOOL_ROOT
is not defined and the default is /. But the system doesn't go in emulation 
mode in the filesystem.
Whit this patch it uses the SBOX_ROOT_DIR instead of TOOLS_DIR. Can you explain 
what happen?

Michael Trimarchi

diff --git a/utils/sb2 b/utils/sb2
index d220d95..2a125d2 100755
--- a/utils/sb2
+++ b/utils/sb2
@@ -973,7 +973,7 @@ END
 	library_interface=`LD_LIBRARY_PATH=$SBOX_DIR/lib/libsb2:$LD_LIBRARY_PATH sb2-show libraryinterface`
 
 	# 1. Exec settings for tools
-	if [ "$SBOX_TOOLS_ROOT" != "" ]; then
+	if [ "$SBOX_TOOLS_ROOT" != "/" ]; then
 		tools_basename=`basename $SBOX_TOOLS_ROOT`
 		write_ld_library_path_replacement_to_exec_config \
 			$SBOX_TOOLS_ROOT conf_tools_ld_so_library_path \
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to