Bug 798392 - get a version of execsu working, update doc; r=mcote

This commit is contained in:
Malini Das 2012-10-09 12:59:19 -04:00
Родитель f3cfa1ccdc
Коммит 5d5288e7be
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -30,9 +30,9 @@ Just `./run.sh`.
# Including this in B2G # Including this in B2G
Just clone this repo inside `$B2G_REPO/system/`. Build and flash B2G as usual Once you have the prerequisites and export the environment variables,
and then you will be able to run the agent using `sutagent`. It will be just clone this repo inside `$B2G_REPO/system/`. Build and flash B2G as usual.
in the `$PATH`. You will be able to run the agent using `sutagent`. It will be in the `$PATH`.
You do need to set the `LD` path for this to work: You do need to set the `LD` path for this to work:

Просмотреть файл

@ -178,6 +178,8 @@ CommandEventHandler::handleLine(std::string line)
result = dirw(cl.args); result = dirw(cl.args);
else if (cl.cmd.compare("exec") == 0) else if (cl.cmd.compare("exec") == 0)
result = exec(cl.args); result = exec(cl.args);
else if (cl.cmd.compare("execsu") == 0)
result = exec(cl.args);
else if (cl.cmd.compare("hash") == 0) else if (cl.cmd.compare("hash") == 0)
result = hash(cl.args); result = hash(cl.args);
else if (cl.cmd.compare("info") == 0) else if (cl.cmd.compare("info") == 0)