On Mon, 11 Sept 2023 at 06:22, Chen Qi via lists.yoctoproject.org <[email protected]> wrote:
> SSTATE_DIR and DL_DIR are writable. Sharing them among different builds > owned/controlled by the same user is OK, but sharing these writable > directories among different users does not seem to be a good idea. > You could consider using the PREMIRRORS and SSTATE_MIRRORS. This is not accurate. SSTATE_DIR is designed to be shared in a read-write fashion via NFS or other over the network filesystem (between users on the same machine is also ok), and is heavily used that way in Yocto CI. Sharing DL_DIR is less important as it is not that large, and downloading does not slow down the builds that much compared to the the actual build (and only needs to happen once). Li, your understanding is more or less completely correct. The difficulties are mostly in scaling up, where you might hit the limits of how many users can be served at the same time. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60965): https://lists.yoctoproject.org/g/yocto/message/60965 Mute This Topic: https://lists.yoctoproject.org/mt/101284965/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
