This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# install beadm and create new boot environment hbsd and mount it at /mnt | |
pkg install -y beadm | |
beadm create hbsd | |
beadm mount hbsd /mnt | |
# fetch latest HBSD base and kernel - will be hbsd-update'd later | |
cd /tmp | |
fetch https://installer.hardenedbsd.org/pub/HardenedBSD/releases/amd64/amd64/hardenedbsd-12-stable-LAST/base.txz | |
fetch https://installer.hardenedbsd.org/pub/HardenedBSD/releases/amd64/amd64/hardenedbsd-12-stable-LAST/kernel.txz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pkg install -y poudriere ccache git-lite | |
mkdir /var/cache/ccache | |
# edit poudriere.conf | |
echo "cache_dir = /var/cache/ccache" >>/usr/local/etc/ccache.conf | |
echo "CCACHE_DIR=/var/cache/ccache" >> /usr/local/etc/poudriere.conf | |
echo "ZPOOL=zroot" >> /usr/local/etc/poudriere.conf | |
# add your poudriere.conf options below |