Open jrmarino opened 3 years ago
avoid NFS and fuse systems
I think actually we'll need NFS for ccache (recommended localhost only though) In theory, NFS should work for /packages and /distfiles as well.
For the way of resetting build environment, we might consider cpdup or rsync as well. cpdup would probably work pretty well.
How to eliminate READ/WRITE /packages mount:
This should be done regardless of no-null-mount support. It's just safer.
How to eliminate READ/WRITE /distfiles mount: Change how "fetch" phase works.
I forgot I wrote this -- and had the idea again, #65
current mount situation
root@capricorn:/var/ravenports/distfiles # mount | grep SL03
/raven/share/raven/sysroot/FreeBSD/bin on /var/ravenports/builders/SL03/bin (nullfs, local, read-only)
/raven/share/raven/sysroot/FreeBSD/usr on /var/ravenports/builders/SL03/usr (nullfs, local, read-only)
/var/ravenports/RELEASE-12.2/packages on /var/ravenports/builders/SL03/packages (nullfs, local, read-only)
/var/ravenports/distfiles on /var/ravenports/builders/SL03/distfiles (nullfs, local)
/var/cache/raven-ccache on /var/ravenports/builders/SL03/ccache (nullfs, local)
devfs on /var/ravenports/builders/SL03/dev (devfs, local, multilabel)
could rsync help copy files to /bin, /usr/ etc?
added: do netbsd bulk approach 1) populate X builders permanently based highest number of builders in any profile 2) sync with rsync all builders used by current profile as part of kicking off build
hmmm, still need to think about R/W part of this. Maybe rsync can remove write permissions on all files and the /usr, /bin directories.
This might be a new stage. One benefit is no stuck mounts. Make null mounts an option rather than an internal alternative?