Permalink
Browse files

[PATCH] configure initial-conf directory

  • Loading branch information...
1 parent 590cecd commit 5c10812a766943676045eea1159eea58ab5b8062 @BastienDurel committed Jan 4, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 build-kernel.sh
View
@@ -8,6 +8,7 @@ DISKTAB=disktab.48mb
NBLKS=98304
SRCDIR=${BSDSRCDIR:-/usr/src}
DESTDIR=${DESTDIR:-${CWD}/${WORKDIR}}
+CONFDIR=${CONFDIR:-initial-conf}
export SRCDIR DESTDIR CWD WORKDIR DISKTAB NBLKS
@@ -56,7 +57,7 @@ cp -p ${CWD}/conf ${CWD}/${WORKDIR}/
cp -p ${CWD}/mtree.conf ${CWD}/${WORKDIR}/
cp -pR ${CWD}/disktabs ${CWD}/${WORKDIR}/
cp -pR ${CWD}/tools ${CWD}/${WORKDIR}/
-cp -pR ${CWD}/initial-conf ${CWD}/${WORKDIR}/
+cp -pR ${CWD}/${CONFDIR} ${CWD}/${WORKDIR}/
rm -r ${CWD}/${WORKDIR}/obj
mkdir -p ${CWD}/${WORKDIR}/obj
mkdir -p ${CWD}/obj

0 comments on commit 5c10812

Please sign in to comment.