Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 13:56:10 +0000 (UTC)
From:      Nick Hibma <n_hibma@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194440 - head/tools/tools/nanobsd
Message-ID:  <200906181356.n5IDuAQi013219@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: n_hibma
Date: Thu Jun 18 13:56:10 2009
New Revision: 194440
URL: http://svn.freebsd.org/changeset/base/194440

Log:
  - Don't hard code _.disk.full. Use the variable.
  - _.bk should be created in MAKEOBJDIRPREFIX as well
  - Remove a misplaced and unnecessary message.

Modified:
  head/tools/tools/nanobsd/nanobsd.sh

Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh	Thu Jun 18 12:04:32 2009	(r194439)
+++ head/tools/tools/nanobsd/nanobsd.sh	Thu Jun 18 13:56:10 2009	(r194440)
@@ -186,7 +186,7 @@ build_kernel ( ) (
 	unset TARGET_BIG_ENDIAN
 	env TARGET_ARCH=${NANO_ARCH} ${NANO_PMAKE} buildkernel \
 		__MAKE_CONF=${NANO_MAKE_CONF_BUILD} KERNCONF=`basename ${NANO_KERNEL}` \
-		> ${NANO_OBJ}/_.bk 2>&1
+		> ${MAKEOBJDIRPREFIX}/_.bk 2>&1
 	)
 )
 
@@ -484,7 +484,7 @@ create_i386_diskimage ( ) (
 	fi
 
 	if [ "${NANO_MD_BACKING}" = "swap" ] ; then
-		echo "Writing out _.disk.full..."
+		echo "Writing out ${NANO_IMGNAME}..."
 		dd if=/dev/${MD} of=${IMG} bs=64k
 	fi
 
@@ -839,7 +839,6 @@ prune_usr
 run_late_customize
 if $do_image ; then
 	create_${NANO_ARCH}_diskimage
-	echo "# Created NanoBSD disk image: ${NANO_DISKIMGDIR}/${NANO_IMGNAME}"
 else
 	pprint 2 "Skipping image build (as instructed)"
 fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906181356.n5IDuAQi013219>