config.vm.synced_folder "./opnsense/core", "/usr/core", :nfs => true, id: "opnsense-core"config.vm.synced_folder "./opnsense/plugins", "/usr/plugins", :nfs => true, id: "opnsense-plugins"config.vm.synced_folder "./opnsense/ports", "/usr/ports", :nfs => true, id: "opnsense-ports"config.vm.synced_folder "./opnsense/src", "/usr/src", :nfs => true, id: "opnsense-src"config.vm.synced_folder "./opnsense/tools", "/usr/tools", :nfs => true, id: "opnsense-tools"
$ cd /usr/core$ cd /usr/plugins$ cd /usr/ports$ cd /usr/src$ cd /usr/tools
$ cd /usr/core$ sudo make mountwarning: refname '15.7.12' is ambiguous.warning: refname '15.7.12' is ambiguous.mount_unionfs /usr/core/src /usr/local
$ make plugins.MAKE.LEVEL.ENV=MAKELEVELARCH=i386BLOCKSIZE=KCDROM=/tmp/images/OPNsense-201509240328-OpenSSL-cdrom-i386.isoCONFIGDIR=/vagrant/opnsense/tools/config/15.7CONFIG_PKG=/usr/local/etc/pkg/repos/origin.confCONFIG_XML=/usr/local/etc/config.xmlCOREDIR=/root/coreCPUS=1EDITOR=viGROUP=wheelHOME=/rootHOST=OPNsense.localhostHOSTTYPE=FreeBSDIMAGESDIR=/tmp/imagesLABEL=OPNsenseLOGNAME=rootMACHTYPE=i386MAIL=/var/mail/rootMAKEFLAGS= .MAKE.LEVEL.ENV=MAKELEVELMAKELEVEL=1NANOIMG=/tmp/images/OPNsense-201509240328-OpenSSL-nano-i386.imgOLDPWD=/vagrant/opnsense/toolsOSTYPE=FreeBSDPACKAGESDIR=/.pkgPAGER=lessPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/binPLUGINSDIR=/vagrant/opnsense/pluginsPORTSDIR=/vagrant/opnsense/portsPORTSREFDIR=/usr/freebsd-portsPRODUCT_FLAVOUR=OpenSSLPRODUCT_NAME=OPNsensePRODUCT_RELEASE=OPNsense-201509240328-OpenSSLPRODUCT_SETTINGS=15.7PRODUCT_TYPE=OPNsense-develPRODUCT_VERSION=201509240328PWD=/vagrant/opnsense/tools/buildREMOTEHOST=10.0.1.1SERIALIMG=/tmp/images/OPNsense-201509240328-OpenSSL-serial-i386.imgSETSDIR=/tmp/setsSHELL=/usr/local/etc/rc.initialSHLVL=1SRCDIR=/vagrant/opnsense/srcSSH_CLIENT=10.0.1.1 54887 22SSH_CONNECTION=10.0.1.1 54887 10.0.1.10 22SSH_TTY=/dev/pts/0STAGEDIR=/usr/local/stageTARGETARCH=i386TARGET_ARCH=i386TERM=xtermTOOLSDIR=/vagrant/opnsense/toolsUSER=rootVENDOR=intelVGAIMG=/tmp/images/OPNsense-201509240328-OpenSSL-vga-i386.img>>> Setting up stage in /usr/local/stage>>> Setting up world in /usr/local/stagetar: Option -f requires an argumentUsage: List: tar -tf <archive-filename> Extract: tar -xf <archive-filename> Create: tar -cf <archive-filename> [filenames...] Help: tar --help*** Error code 1Stop.make: stopped in /vagrant/opnsense/tools
root@localhost:/vagrant/opnsense/tools # make src...a ./boot/kernel/wlan_wep.koa ./boot/kernel/wlan_xauth.koa ./boot/kernel/if_wpi.koa ./boot/kernel/wpifw.koa ./boot/kernel/x86bios.koa ./boot/kernel/if_xe.koa ./boot/kernel/if_xl.koa ./boot/kernel/zfs.koa ./boot/kernel/zlib.koa ./boot/kernel/iscsi.koa ./boot/kernel/iscsi_initiator.koa ./boot/kernel/linker.hintsmv dist/kernel*.txz .root@localhost:/vagrant/opnsense/tools # make ports...>>> Setting up stage in /usr/local/stage>>> Setting up world in /usr/local/stage>>> Setting up /vagrant/opnsense/ports clone in /usr/local/stage>>> Setting up /vagrant/opnsense/src clone in /usr/local/stage>>> Setting up chroot in /usr/local/stageps: /dev/null: No such file or directoryELF ldconfig path: /lib /usr/lib /usr/lib/compata.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout>>> Setting up distfiles in /usr/local/stage>>> Extracting packages in /usr/local/stage>>> Removing packages in /usr/local/stage>>> Installing packages in /usr/local/stage...pkg: No packages installed. Nothing to do!pkg: No packages installed>>> Building packages...pkg: pkg is not installedmake[1]: chdir /vagrant/opnsense/ports/ports-mgmt/pkg: No such file or directory>>> Creating binary packages...The package management tool is not yet installed on your system.Please set ASSUME_ALWAYS_YES=yes environment variable to be able to bootstrap in non-interactive (stdin not being a tty)>>> The ports build did not finish properly :(*** Error code 1Stop.make: stopped in /vagrant/opnsense/toolsroot@localhost:/vagrant/opnsense/ports # git status -unoOn branch masterYour branch is up-to-date with 'origin/master'.nothing to commit (use -u to show untracked files)root@localhost:/vagrant/opnsense/tools # pkg -v1.5.6
root@OPNsense:~ # envSSH_CLIENT=10.0.1.1 50044 22LOGNAME=rootMAIL=/var/mail/rootPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/binPWD=/rootTERM=xtermSSH_TTY=/dev/pts/0HOME=/rootUSER=rootSSH_CONNECTION=10.0.1.1 50044 10.0.1.10 22SHELL=/usr/local/etc/rc.initialBLOCKSIZE=KHOSTTYPE=FreeBSDVENDOR=intelOSTYPE=FreeBSDMACHTYPE=i386SHLVL=1GROUP=wheelHOST=OPNsense.localhostREMOTEHOST=10.0.1.1EDITOR=viPAGER=less
PORTSREFDIR?= /usr/freebsd-portsPLUGINSDIR?= /vagrant/opnsense/pluginsTOOLSDIR?= /vagrant/opnsense/toolsPORTSDIR?= /vagrant/opnsense/portsCOREDIR?= /root/coreSRCDIR?= /vagrant/opnsense/src
root@OPNsense:/vagrant/opnsense/tools # make ports.MAKE.LEVEL.ENV=MAKELEVELARCH=i386BLOCKSIZE=KCDROM=/tmp/images/OPNsense-201509280956-OpenSSL-cdrom-i386.isoCONFIGDIR=/vagrant/opnsense/tools/config/15.7CONFIG_PKG=/usr/local/etc/pkg/repos/origin.confCONFIG_XML=/usr/local/etc/config.xmlCOREDIR=/root/coreCPUS=1EDITOR=viGROUP=wheelHOME=/rootHOST=OPNsense.localhostHOSTTYPE=FreeBSDIMAGESDIR=/tmp/imagesLABEL=OPNsenseLOGNAME=rootMACHTYPE=i386MAIL=/var/mail/rootMAKEFLAGS= .MAKE.LEVEL.ENV=MAKELEVELMAKELEVEL=1NANOIMG=/tmp/images/OPNsense-201509280956-OpenSSL-nano-i386.imgOLDPWD=/vagrant/opnsense/toolsOSTYPE=FreeBSDPACKAGESDIR=/.pkgPAGER=lessPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/binPLUGINSDIR=/vagrant/opnsense/pluginsPORTSDIR=/vagrant/opnsense/portsPORTSREFDIR=/usr/freebsd-portsPRODUCT_FLAVOUR=OpenSSLPRODUCT_NAME=OPNsensePRODUCT_RELEASE=OPNsense-201509280956-OpenSSLPRODUCT_SETTINGS=15.7PRODUCT_TYPE=opnsense-develPRODUCT_VERSION=201509280956PWD=/vagrant/opnsense/tools/buildREMOTEHOST=10.0.1.1SERIALIMG=/tmp/images/OPNsense-201509280956-OpenSSL-serial-i386.imgSETSDIR=/tmp/setsSHELL=/usr/local/etc/rc.initialSHLVL=1SRCDIR=/vagrant/opnsense/srcSSH_CLIENT=10.0.1.1 50044 22SSH_CONNECTION=10.0.1.1 50044 10.0.1.10 22SSH_TTY=/dev/pts/0STAGEDIR=/usr/local/stageTARGETARCH=i386TARGET_ARCH=i386TERM=xtermTOOLSDIR=/vagrant/opnsense/toolsUSER=rootVENDOR=intelVGAIMG=/tmp/images/OPNsense-201509280956-OpenSSL-vga-i386.img>>> Setting up stage in /usr/local/stage>>> Setting up world in /usr/local/stage>>> Setting up /vagrant/opnsense/ports clone in /usr/local/stage>>> Setting up /vagrant/opnsense/src clone in /usr/local/stage>>> Setting up chroot in /usr/local/stageps: /dev/null: No such file or directoryELF ldconfig path: /lib /usr/lib /usr/lib/compata.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout>>> Setting up distfiles in /usr/local/stage>>> Extracting packages in /usr/local/stage>>> Removing packages in /usr/local/stage>>> Installing packages in /usr/local/stage...pkg: No packages installed. Nothing to do!pkg: No packages installed>>> Building packages...pkg: pkg is not installedmake[1]: chdir /vagrant/opnsense/ports/ports-mgmt/pkg: No such file or directory>>> Creating binary packages...The package management tool is not yet installed on your system.Please set ASSUME_ALWAYS_YES=yes environment variable to be able to bootstrap in non-interactive (stdin not being a tty)>>> The ports build did not finish properly :(*** Error code 1Stop.make: stopped in /vagrant/opnsense/tools