Commit graph

307 commits

Author SHA1 Message Date
Joey Hess
bf783d141d run system shell for interactive shell
This way PS1 settings etc work.
2013-02-24 14:34:47 -04:00
Joey Hess
61a12ce47f Explicitly run every command as a busybox app
Seems that CONFIG_FEATURE_SH_STANDALONE is not working.
2013-02-24 14:31:43 -04:00
Joey Hess
7711ce5b13 separate targets 2013-02-24 13:52:12 -04:00
Joey Hess
ac0292df95 use C shim to start Android app
This should avoid relying on features of the Android builtin shell,
and so hopefully avoid failures like this one
http://git-annex.branchable.com/design/assistant/blog/day_197__template_haskell/#comment-07f90830f78f6495dcbdf90eb8636129

The C shim sets up busybox, and uses its builtin shell to run runshell.

It's important that busybox be configured with
CONFIG_FEATURE_SH_STANDALONE, so that while runshell is running, it
does not rely on either system utilities, or busybox being already
installed.
2013-02-24 13:27:06 -04:00
Joey Hess
920138d5fb enable ash 2013-02-24 12:33:28 -04:00
Joey Hess
1fbd08db8b remove pause after run
Terminal is configured to pause too.
2013-02-23 14:50:14 -04:00
Joey Hess
e3df7ae212 typo 2013-02-23 14:33:12 -04:00
Joey Hess
acc3c8c157 try to be more robust and allow the user to see most types of failure 2013-02-23 01:08:15 -04:00
Joey Hess
e28016cb0d avoid closing app when terminal exists, to aid crash debugging 2013-02-22 17:19:49 -04:00
Joey Hess
6449e1171b forgot to add this icon 2013-02-22 17:10:41 -04:00
Joey Hess
d9ac5c9ba3 fix 2013-02-22 16:31:10 -04:00
Joey Hess
d8c10929d2 fixes 2013-02-22 16:23:59 -04:00
Joey Hess
98eeb12053 typo 2013-02-22 16:06:21 -04:00
Joey Hess
73c66c480d fixes 2013-02-22 15:49:11 -04:00
Joey Hess
efcc0d8062 add more icons 2013-02-22 15:48:53 -04:00
Joey Hess
fec4efae89 disable vi regex stuff, failed to build 2013-02-22 15:30:02 -04:00
Joey Hess
d868a785a2 make upgrades work
Add a lib.version.so and when it's different, re-install.
2013-02-22 15:03:12 -04:00
Joey Hess
4d4c7c31d7 enable vi 2013-02-22 14:28:13 -04:00
Joey Hess
37423de96c better logo 2013-02-21 17:26:36 -04:00
Joey Hess
fede34ff62 start in HOME 2013-02-21 17:09:03 -04:00
Joey Hess
4f4495838b disable some crazy stuff like powertop; enable find and grep 2013-02-21 16:06:37 -04:00
Joey Hess
c299c60d7e forgot to install ssh 2013-02-21 16:03:00 -04:00
Joey Hess
4fe7f9208f quick icon for Android. Not the best, but acceptable for now. 2013-02-21 16:01:15 -04:00
Joey Hess
a535cb3379 build an apk containing git-annex and a terminal emulator 2013-02-21 15:20:32 -04:00
Joey Hess
00b465e213 shorter directory to external ssh socket
Before it was too long to be used.
2013-02-19 17:31:08 -04:00
Joey Hess
0f4cc559a7 Android: Support ssh connection caching. 2013-02-19 14:57:45 -04:00
Joey Hess
4f41bd6ba6 make ssh honour HOME rather than getpwent 2013-02-19 13:08:30 -04:00
Joey Hess
655f6dc775 update; add openssh and remove dropbox 2013-02-19 12:15:34 -04:00
Joey Hess
15fd867398 add openssh to Android
This build still needs some work to look in $HOME/.ssh
rather than relying on pwent info.
2013-02-18 18:50:28 -04:00
Joey Hess
bff6c9f53f add busybox config file so I can edit it easily 2013-02-18 15:43:40 -04:00
Joey Hess
e80364e19a fix enabling of busybox installer 2013-02-18 15:16:10 -04:00
Joey Hess
0984f3581e build fixes 2013-02-16 13:10:47 -04:00
Joey Hess
6e0f8c343b couple more android build fixes 2013-02-13 17:56:10 -04:00
Joey Hess
f3b7e16293 Makefile and patches for reproducible build of utilities for android 2013-02-13 16:38:03 -04:00
Joey Hess
242c83e66f tweak android runshell after testing 2013-02-13 14:32:02 -04:00
Joey Hess
8c66801c78 updated for android 2013-02-13 14:16:31 -04:00
Joey Hess
2633c704bb runshell for Android 2013-02-13 13:32:15 -04:00
Joey Hess
bcd0c227e6 back to $SHELL for OSX app
This is safe because we no longer mess with LD_PRELOAD equivilants.
Since the linux standalone bundle still does, it continues to run sh.
2012-12-17 12:20:44 -04:00
Joey Hess
dd032bd84c furnish git with an (empty) template directory in standalone builds
This will stop git-init complaining about missing template directory.
2012-12-13 12:27:32 -04:00
Joey Hess
4eee7a9c24 fix PATH 2012-12-10 15:11:25 -04:00
Joey Hess
8c082cda2e remove unused cruft 2012-12-09 12:59:34 -04:00
Joey Hess
6473f8ea33 fix bin paths in osx app 2012-12-08 17:14:09 -04:00
Joey Hess
1dd386903b use install_name_tool to adjust library paths in osx app
Have not yet been able to test this.
2012-12-08 11:07:59 -04:00
Joey Hess
0931ad6be8 runshell: start sh, not $SHELL
$SHELL may need libraries not included in the bundle
2012-12-07 14:44:44 -04:00
Joey Hess
9e8703895c remove some settings that should not be needed 2012-12-07 12:15:24 -04:00
Joey Hess
51aa988a9f Fix broken .config/git-annex/program installed by standalone tarball.
It was doubly broken; both missing a slash, and containing
"runshell git-annex", while some parts of the code expected it to be a
simple path to a program. This appears to include the transfer queue
runner, and the code that starts a new assistant process when switching to
another repository in the webapp.
2012-11-28 16:09:38 -04:00
Joey Hess
2525fefbb9 The standalone builds now unset their special path and library path variables before running the system web browser.
Should fix a crash reported on OSX.
2012-11-27 17:05:29 -04:00
Joey Hess
e14504ce47 also add shim from OSX runshell 2012-10-29 14:48:13 -04:00
Joey Hess
f89d6dd33e The standalone tarball's runshell now takes care of installing a ~/.ssh/git-annex-shell wrapper the first time it's run. 2012-10-29 14:40:28 -04:00
Joey Hess
b30656acea use DYLD_ROOT_PATH
With this, I can use jimmy's autobuilt dmg, which fails with the other two
variables due to containing two versions of libiconv.
2012-10-11 21:42:48 -04:00
Joey Hess
e24ff46f96 move 2012-10-01 13:38:19 -04:00
Joey Hess
e88e3ba85b standalone linux app nearly ready
also made several fixes that apply to the OSX app
2012-09-28 19:08:13 -04:00
Joey Hess
f0d75cd928 content removed from git annex 2012-09-28 18:52:45 -04:00
Joey Hess
ad0d927dba content removed from git annex 2012-09-28 18:52:44 -04:00
Joey Hess
fb31fbb4c9 content removed from git annex 2012-09-28 18:52:44 -04:00
Joey Hess
9142b4feb2 content removed from git annex 2012-09-28 18:52:44 -04:00
Joey Hess
115f05db25 building linux standalone tarballs 2012-09-28 18:21:39 -04:00