1. 07 6月, 2017 2 次提交
  2. 04 6月, 2017 1 次提交
  3. 03 6月, 2017 1 次提交
  4. 30 5月, 2017 2 次提交
    • S
      Merge pull request #302 from EddieRingle/fix-gcc-7 · 4a5ce925
      Simon Fels 提交于
      Fix build with GCC 7.1
      4a5ce925
    • E
      Fix build with GCC 7.1 · 552d30cf
      Eddie Ringle 提交于
      From the Porting to GCC 7[1] page:
      
      > Several C++ Standard Library headers have been changed to no longer include
      > the `<functional>` header. As such, C++ programs that used components defined
      > in `<functional>` without explicitly including that header will no longer
      > compile.
      
      > Previously components such as std::bind and std::function were
      > implicitly defined after including unrelated headers such as `<memory>`,
      > `<future>`, `<mutex>`, and `<regex>`.
      > Correct code should `#include <functional>` to define them.
      
      [1]: https://gcc.gnu.org/gcc-7/porting_to.htmlSigned-off-by: NEddie Ringle <eddie@ringle.io>
      552d30cf
  5. 28 5月, 2017 9 次提交
  6. 23 5月, 2017 8 次提交
  7. 18 5月, 2017 2 次提交
  8. 17 5月, 2017 1 次提交
  9. 15 5月, 2017 4 次提交
  10. 14 5月, 2017 4 次提交
  11. 12 5月, 2017 6 次提交
    • L
      cmds: session_manager: Handle the Container Client class using pointers · e492cd1a
      Lee Jones 提交于
      We can now start the Session Manager in Stand Alone Mode.  This means
      that the Container Manager is not required, since the assumption is
      that the user will provide their own container.  The issue is that
      the container related calls are spread throughout the Session
      Manager's code base.  So if we attempt to take an instance of the
      Container Client class in one if-ed out area, by the time we reach
      the next, it will be out of scope.
      
      One solution is to take the instance of the Container Client class
      globally, then only make use of it if it's required.  This works
      great if the Container Manager is running in the background.
      However, since a connection is made to the Container Manager
      during the constructor, if the Container Manager is not running,
      the side-effect is the following error:
      
        Failed to connect to socket /run/anbox-container.socket: Connection refused
      
      To solve this problem we will use a global (actually private to
      the Session Manager) pointer which will always be in scope.  It
      will only be initialised and used when required though.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      e492cd1a
    • L
      cmds: session_manager: Introduce an Experimental Mode flag · 157a2f9c
      Lee Jones 提交于
      Some features which Anbox offer may be useful to users, but can not
      be officially supported.  For example, the recently added Stand-Alone
      Mode can be utilised to make use of different types of independent
      containers where Anbox does not control the complete life cycle, but
      since these types of setups can be widely varying and complex, it
      would not be impossible to provide support.  Thus, when running in
      these modes, it's important for the user to show knowledge that they
      are operating in an experimental way.  This functionality provided
      by issuing the --experimental flag when starting the Session Manager.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      157a2f9c
    • L
      cmds: session_manager: Provide an option to use any container · c0393a67
      Lee Jones 提交于
      Normally Anbox will use the default container provided by the
      Anbox Container Manager, but some users may wish to run their
      own container.  Here we're adding a --standalone flag which
      tells the Session Manager not to interact (configure/start)
      the Container Manager.  This allows the user to utilise any
      other bespoke container of their choosing.  For instance,
      this new feature was tested using a Docker container running
      the android.img provided by Anbox.
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      c0393a67
    • S
    • S
    • S
      Merge pull request #252 from morphis/f/warn-on-cm-start · a21233cb
      Simon Fels 提交于
      Print warning if user starts container manager manually
      a21233cb