# # Example configuration file for macOS. # # # General configuration variables. # [options] build_threads = 4 scan_threads = 4 verbose = true # # Variables that configure pkgsrc, where it is, what packages to build, etc. # [pkgsrc] basedir = "/usr/pkgsrc" make = "/opt/pkg/bin/bmake" pkgpaths = [ "mail/mutt", "sysutils/coreutils", ] # # The sandbox section defines where sandboxes should be created, and how file # systems and ancilliary data should be created. # # The number of sandboxes that will be created is build_threads if set, # otherwise 1. # # During creation the mounts list is processed in order, and when destroying # sandboxes it is processed in reverse order. # [sandbox] basedir = "/Volumes/data/chroot" mounts = [ { fs = "dev", dest = "/dev" }, { fs = "tmp", dest = "/tmp", opts = "-e -s 384m" }, { fs = "tmp", dest = "/var", opts = "-e -s 512m" }, # Read-only system mounts. { fs = "bind", dest = "/Library", opts = "-r" }, { fs = "bind", dest = "/System", opts = "-r" }, { fs = "bind", dest = "/bin", opts = "-r" }, { fs = "bind", dest = "/etc", opts = "-r", src = "/private/etc" }, { fs = "bind", dest = "/sbin", opts = "-r" }, { fs = "bind", dest = "/usr", opts = "-r" }, # Read-write system mounts. { fs = "bind", dest = "/private/var/spool/postfix" }, ]