# The default svn checkout server, and svn branches for src/, doc/,
# and ports/.
SVNROOT="svn://svn.FreeBSD.org/"
SRCBRANCH="base/head@rHEAD"
DOCBRANCH="doc/head@rHEAD"
PORTBRANCH="ports/head@rHEAD"
make release
with the right options: make -DNOPORTS -DNODOC -DNOPKGS KERNCONF="GENERIC VBOX" release
make -DNOPORTS -DNODOC -DNOPKGS KERNCONF="GENERIC VBOX" DESTDIR=/storage/release/12-stable install
root@molly:/usr/src/release # ll /storage/release/12-stable/
total 2478125
-rw-r--r-- 1 root wheel 462 May 24 08:14 CHECKSUM.SHA256
-rw-r--r-- 1 root wheel 718 May 24 08:13 CHECKSUM.SHA512
-rw-r--r-- 1 root wheel 347711488 May 23 22:58 FreeBSD-12.0-STABLE-amd64-bootonly.iso
-rw-r--r-- 1 root wheel 860823552 May 23 22:56 FreeBSD-12.0-STABLE-amd64-disc1.iso
-rw-r--r-- 1 root wheel 941793792 May 23 22:58 FreeBSD-12.0-STABLE-amd64-memstick.img
-rw-r--r-- 1 root wheel 387621376 May 23 22:58 FreeBSD-12.0-STABLE-amd64-mini-memstick.img
drwxr-xr-x 2 root wheel 12 May 23 22:54 ftp/
Yes, exactly. You can also checkout a specific revision number:How do I know exactly what the tag is for each different FreeBSD version? Is it simply the svn directory name?
svn co https://svn.freebsd.org/base/stable/12@r348123 /usr/src
svn co -r 348123 https://svn.freebsd.org/base/stable/12 /usr/src
@rHEAD
or just leave it out. Note that this is a revision number, not HEAD aka -CURRENT.Yes I see dramatically reduced times when I used some of your settings...I usually don't use release.sh as it does too much
cd /usr/src
make -j20 buildworld -DNO_CLEAN
make -j20 buildkernel -DNO_CLEAN
cd /usr/src/release
make memstick -DNOSRC -DNODOCS -DNOPORTS
fstab
on the install medium also mounts RO and with a 'FreeBSD_Install' disk label used. make distribution
come to play here? Is it part of make release
?# Set up installation environment
ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
echo vfs.mountroot.timeout=\"10\" >> ${.TARGET}/boot/loader.conf
cp ${.CURDIR}/rc.local ${.TARGET}/etc
touch ${.TARGET}
In conclusion, to answer my own question, I found one way for ISO'sAnother Question:
How to add extra_files to my build?