1. 18 5月, 2017 2 次提交
  2. 17 5月, 2017 1 次提交
  3. 15 5月, 2017 2 次提交
  4. 14 5月, 2017 4 次提交
  5. 12 5月, 2017 8 次提交
    • 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
      Merge pull request #252 from morphis/f/warn-on-cm-start · a21233cb
      Simon Fels 提交于
      Print warning if user starts container manager manually
      a21233cb
    • S
      Merge pull request #251 from morphis/f/static-network-config · 5c1418b8
      Simon Fels 提交于
      Use a static IP configuration for Android instead of a full blown DHCP setup
      5c1418b8
    • S
      e73ea080
    • S
      Make never change value static and const · dd21e8fa
      Simon Fels 提交于
      dd21e8fa
    • S
      Use geteuid instead of getuid · e83cc1e5
      Simon Fels 提交于
      e83cc1e5
  6. 11 5月, 2017 9 次提交
  7. 09 5月, 2017 4 次提交
  8. 08 5月, 2017 2 次提交
  9. 07 5月, 2017 3 次提交
  10. 06 5月, 2017 3 次提交
  11. 05 5月, 2017 2 次提交