Comments (7)
In GitLab by [Gitlab user @samthursfield] on Jun 6, 2017, 10:36
A few years ago Adam Coldrick implemented this feature for Morph using overlayfs or unionfs-fuse. This never got merged to master.
The proposed changes are here -- long since abandoned but maybe useful as they were tested and working at one point.
- https://gerrit.baserock.org/#/c/290/
- https://gerrit.baserock.org/#/c/289/
- https://gerrit.baserock.org/#/c/288/
from bst-staging.
In GitLab by [Gitlab user @tristanvb] on Jun 7, 2017, 10:29
mentioned in commit 70914c8
from bst-staging.
In GitLab by [Gitlab user @tristanvb] on Jun 11, 2017, 14:00
This is currently implemented in the 'safe-hardlinks' branch and seems to be working well.
Need to just check that everything is working, I think some cases of bst shell
are broken by the API churn so will merge this after a little bit of cleanup.
from bst-staging.
In GitLab by [Gitlab user @tristanvb] on Jun 13, 2017, 13:04
The new SafeHardlinks fuse layer is now implemented in master.
Essentially this means:
- If the sandbox root is read-only, the fuse layer is not used
- If the sandbox root is read-write, it is protected by the fuse layer
- Mount points for staged Sources or build output are not protected by the fuse layer
The SafeHardlinks fuse layer acts as a regular passthrough except that in the cases where:
- File will be modified
- File is going to be opened for writing or
- File is going to change ownership or
- File is going to change mode bits
- And the file is not a directory (which cannot be hardlinked)
- And the file has more than one link (it is a hardlink)
Then the file will first be copied into a temporary directory, and replaced with it's copy, ensuring it is no longer a hardlink into the ostree repository or checkout.
from bst-staging.
In GitLab by [Gitlab user @tristanvb] on Jun 13, 2017, 13:04
closed
from bst-staging.
In GitLab by [Gitlab user @toscalix] on Jul 25, 2018, 14:36
marked this issue as related to #504
from bst-staging.
In GitLab by [Gitlab user @toscalix] on Jul 25, 2018, 14:36
removed the relation with #504
from bst-staging.
Related Issues (20)
- Ensure that all elements include build directory in the cache key HOT 4
- Improve overnight tests for remote-asset based caching HOT 4
- Review typing hints (PEP 484) (especially List)
- Move to a threading scheduler HOT 2
- Source caches loses blobs along the way? HOT 2
- Document how/when to use Cython in the codebase
- Improve logging in sandboxremote for UNAVAILABLE responses HOT 3
- Task name not showing correct element in UI HOT 7
- Build failure message is not printed before user prompt in interactive mode
- Grouped commands are no longer grouped in the UI
- Add a way to force a local build HOT 5
- Incorrect `no-member` linter errors from cython modules
- Junction `overrides` feature does not resolve links HOT 6
- Hardlinks fuse mount breaks when script links files HOT 3
- Missing line number on error
- Buildstream does not work with junctions in subfolder HOT 3
- Buildstream should refuse to build if disk space is too low. HOT 3
- NameError while processing BlobNotFound by bst 1.6.0 HOT 4
- Hang on "Initializing remote caches" HOT 3
- Buildstream should identify if an element moves from `build-depend` to `depend`, and not recompile. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bst-staging.