Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 30 lines (19 sloc) 441 Bytes
export BUILDCONF=/mk-mini.conf
cd /usr/src
echo "Patching src.."
for file in /patches/*.patch; do
echo "patching ${file} to ${WORKDIR}/usr/src"
patch -p0 < ${file}
set -xe
# rebuild obj dirs
cd /usr/src && make obj
# create dirs
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
# build this thing
cd /usr/src && make build
# Make etc
cd /usr/src/etc && env DESTDIR=/ make distribution-etc-root-var