summaryrefslogtreecommitdiffstats
path: root/tools/tools/nanobsd/rescue/build.sh
blob: 525b7ba38398a675d8f68f8508e9c95c0f83e45e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $FreeBSD$
#

if [ -z "${1}" -o \! -f "${1}" ]; then
  echo "Usage: $0 cfg_file [-bhiknw]"
  echo "-i : skip image build"
  echo "-w : skip buildworld step"
  echo "-k : skip buildkernel step"
  echo "-b : skip buildworld and buildkernel step"
  exit
fi

CFG="${1}"
shift;

sh ../nanobsd.sh $* -c ${CFG}
OpenPOWER on IntegriCloud