aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2010-04-13 00:57:54 +0000
committerWarner Losh <imp@FreeBSD.org>2010-04-13 00:57:54 +0000
commit4e6eaf365b803e199edd8c5da38c67b2add2a1ad (patch)
treef97dae6f772e9ce104a3e006c0dfd24d62bc4fff /tools
parent4bbe66c93fbb029deb0808b19a21e51a9b246859 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/nanobsd.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 10d8f78b6c9e..e50db8bd3b2a 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -134,7 +134,7 @@ PPLEVEL=3
#######################################################################
# Not a variable at this time
-NANO_ARCH=i386
+NANO_ARCH=`uname -p`
#######################################################################
#
@@ -238,6 +238,9 @@ install_etc ( ) (
${NANO_PMAKE} __MAKE_CONF=${NANO_MAKE_CONF_INSTALL} distribution \
DESTDIR=${NANO_WORLDDIR} \
> ${NANO_OBJ}/_.etc 2>&1
+ # make.conf doesn't get created by default, but some ports need it
+ # so they can spam it.
+ cp /dev/null ${NANO_WORLDDIR}/etc/make.conf
)
install_kernel ( ) (
@@ -497,6 +500,11 @@ create_i386_diskimage ( ) (
) > ${NANO_OBJ}/_.di 2>&1
)
+# i386 and amd64 are identical for disk images
+create_amd64_diskimage ( ) (
+ create_i386_diskimage
+)
+
last_orders () (
# Redefine this function with any last orders you may have
# after the build completed, for instance to copy the finished