1. 14 Mar, 2018 15 commits
  2. 13 Mar, 2018 3 commits
  3. 10 Mar, 2018 1 commit
  4. 07 Mar, 2018 4 commits
  5. 06 Mar, 2018 11 commits
  6. 04 Mar, 2018 3 commits
    • Tristan Van Berkom's avatar
      projectconf.rst: Amending documentation for `host-files` · 83370f55
      Tristan Van Berkom authored
      This is now enhanced and an API change was introduced.
    • Tristan Van Berkom's avatar
      tests/integration/shell.py: Updated shell tests · bc0c4b71
      Tristan Van Berkom authored
        o Added new test for `bst shell --mount`
        o Removed the test that a directory is refused in `host-files`,
          this is no longer a requirement
        o Updated names of the `host-files` mount specification members
        o Test the new `optional` feature of the mount specifications
    • Tristan Van Berkom's avatar
      Enhanced bst shell configuration and cli options · 12ca9607
      Tristan Van Berkom authored
      Some changes to the host-files configuration:
        o Dont require `host-files` to not be directories
          We need to specify directories to mount from `project.conf` after all.
        o Added possibility of specifying optional mounts, to avoid
          meaningless warnings where optional files don't exist on
          the host
      Added --mount CLI option to `bst shell`
      This allows users to explicitly mount whatever they want into the
      sandbox environment for `bst shell`.
      This closes issue #274
  7. 02 Mar, 2018 3 commits
    • Tristan Van Berkom's avatar
      _sandboxbwrap.py: Force cleanup when in interactive mode · a3f1a8ef
      Tristan Van Berkom authored
      When running a sandbox in interactive mode (implies `bst shell` was launched
      or an interactive shell for debugging), dont bail out when cleaning up
      directories which are not empty.
      We treat this as a bug, if any of the base sandbox directories (/dev,
      /tmp or /proc) are not empty when tearing down the sandbox, because
      it would indicate something is wrong with bwrap.
      When in interactive mode however, the user/project may have mounted
      additional directories inside these base directories; for which we
      need to create intermediate directories for the mount.
      Instead of keeping track of every intermediate directory, just force
      remove in interactive mode, as this is safe.
      Ideally, we should fix upstream bwrap to cleanup the debris it creates
      when exiting.
    • Tristan Van Berkom's avatar
    • Tristan Van Berkom's avatar