Copy packages to pool if hardlinking is not supported#91
Copy packages to pool if hardlinking is not supported#91Burgos wants to merge 1 commit intofreight-team:masterfrom
Conversation
cc69207 to
94e091b
Compare
On filesystems where hardlinking is not supported, freight-cache will failback to copy to add packages into the pool, which will support serving repositories from these filesystems (such as cloud storage mounted with fuse).
|
Turns out this doesn't work good with purging the cache's pool. I'll investigate if it can be improved. |
|
What about symlinks? |
Yes, I was bitten by this one yesterday. In my case, it was if the target file is read only,
That doesn't update the link count, which breaks apt_clean() |
On filesystems where hardlinking is not supported, freight-cache will
failback to copy to add packages into the pool, which will support
serving repositories from these filesystems (such as cloud storage
mounted with fuse).