It works:

    chronos@localhost ~/bin $ fossil version
    This is fossil version 1.30 [ee46563cbd] 2014-08-15 12:46:27 UTC

This is on an Asus C200M:

    $ uname -a
    Linux localhost 3.10.18 #1 SMP Thu Aug 7 11:19:20 PDT 2014 x86_64
    Intel(R) Celeron(R) CPU N2830 @ 2.16GHz GenuineIntel GNU/Linux

You have to switch the Chromebook into developer mode at minimum to make this work, since that's the only way to unlock it far enough to get a Bash command shell.

Having done that, unless you can get your binaries from a build machine elsewhere, you then need to get build tools, a package manager, etc. on it. The easiest way to do that is to install Ubuntu via Crouton:

    http://lifehacker.com/509039343

Once that's done, "apt-get install fossil" will get you a copy of 1.27, which you can use to bootstrap yourself onto the trunk.

To run the resulting fossil binary outside the Crouton chroot box, you need to build it as a static binary, since the libssl shipped by Google isn't the same version as in Ubuntu 14.04. (I guess you could instead try and find a Linux distro compatible with Crouton that uses a binary-compatible version of OpenSSL.)

Once you have a fossil binary built inside the Crouton chroot box, you need to start sshd, then scp the binary out, to /usr/local/bin. The destination is important because even in developer mode, there's some sandboxing that prevents other persistently-writable locations from running executables.

"fossil ui" doesn't manage to create a Chrome tab, unfortunately. Running it as

    $ /opt/google/chrome/chrome http://path/to/my/fossil/repo

breaks the Chromebook UI.

"fossil server" does work, though.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to