1. 28 Mar, 2018 6 commits
  2. 27 Mar, 2018 12 commits
  3. 26 Mar, 2018 1 commit
    • Phillip Smyth's avatar
      Generate unique subdirs for built elements · b0e6a45e
      Phillip Smyth authored
      Based on issue 89 (#89)
      Ensuring that elements are staged into unique subdirs while building.
      This patch supports that by doing the following:
      
      * Modify project config to add 2 new variables ("project-name" and "element-name")
      * Changed the default install-root from "/buildstream/install" to "/buildstream-install"
      * Update the tests to accommodate these changes
      * Update the expected cache keys in the tests
      
      This fixes #89
      b0e6a45e
  4. 25 Mar, 2018 10 commits
  5. 23 Mar, 2018 6 commits
    • Jim MacArthur's avatar
      3ea2297b
    • Jim MacArthur's avatar
      Increase BST_FORMAT_VERSION to 6 · e302baf5
      Jim MacArthur authored
      e302baf5
    • Jim MacArthur's avatar
      Add documentation on sandbox option · cd7d0641
      Jim MacArthur authored
      cd7d0641
    • Jim MacArthur's avatar
      Add simple tests of builder UID. · 7d61e8c1
      Jim MacArthur authored
      tests/integration/build-uid: Add tests.
      tests/integration/project/elements/build-uid/build-uid-default.bst:
          A test for the default uid/gid of 0 in the sandbox.
      tests/integration/project/elements/build-uid/build-uid.bst:
          Tests for nonzero uid/gid values supplied in the element.
      tests/integration/project/elements/build-uid/build-uid-1023.bst:
          Tests for nonzero uid/gid values supplied in project.conf.
      7d61e8c1
    • Jim MacArthur's avatar
      Add 'sandbox' configuration key and build-uid/build-gid elements · f4d3892e
      Jim MacArthur authored
      This only affects SandboxBWrap at the moment.
      
      buildstream/_loader.py: Add Symbol.SANDBOX and allow it in validation
      buildstream/_metaelement.py: Add 'sandbox' variable and store it in the object
      buildstream/_project.py: Add 'sandbox' configuration key and load it from
          project.conf.
      buildstream/data/projectconfig.yaml: Default build-uid/build-gid values of 0
          for 'sandbox'.
      buildstream/element.py: Add __extract_sandbox_config to find the final sandbox
          configuration. Pass this to the sandbox constructor.
      buildstream/sandbox/_sandboxbwrap.py: If sandbox configuration was supplied,
          use it for uid and gid instead of the default 0.
      buildstream/sandbox/_sandboxchroot.py: Throw exception if non-0 uid/gid were
          supplied.
      buildstream/sandbox/__init__.py: Import SandboxConfig.
      buildstream/sandbox/_private.py: New file, containing SandboxConfig. Made private
      to avoid documentation for this class.
      f4d3892e
    • Phillip Smyth's avatar
      Created deb Source plugin for Issue #10 · 7d92ef0f
      Phillip Smyth authored
      added tests
      7d92ef0f
  6. 22 Mar, 2018 5 commits