# # Example configuration file for NetBSD. # # # 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 = "/usr/bin/make" 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 = "/data/chroot" mounts = [ { fs = "dev", dest = "/dev" }, { fs = "proc", dest = "/proc" }, { fs = "tmp", dest = "/tmp", opts = "-s 1024k" }, { fs = "tmp", dest = "/var/tmp" }, # These are taken verbatim from mksandbox, still correct? { fs = "bind", dest = "/bin" }, { fs = "bind", dest = "/sbin" }, { fs = "bind", dest = "/libexec" }, { fs = "bind", dest = "/lib" }, { fs = "bind", dest = "/usr/X11R7" }, { fs = "bind", dest = "/usr/bin" }, { fs = "bind", dest = "/usr/games" }, { fs = "bind", dest = "/usr/include" }, { fs = "bind", dest = "/usr/lib" }, { fs = "bind", dest = "/usr/libdata" }, { fs = "bind", dest = "/usr/libexec" }, { fs = "bind", dest = "/usr/share" }, { fs = "bind", dest = "/usr/sbin" }, { fs = "bind", dest = "/var/mail" }, ]