From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 13 13:07:07 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6C7016A46E for ; Wed, 13 Jun 2007 13:07:07 +0000 (UTC) (envelope-from SRS0=L4wNFO=LN=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailout07.yourhostingaccount.com (mailout07.yourhostingaccount.com [65.254.253.60]) by mx1.freebsd.org (Postfix) with ESMTP id 17DE613C4B9 for ; Wed, 13 Jun 2007 13:07:06 +0000 (UTC) (envelope-from SRS0=L4wNFO=LN=vvelox.net=v.velox@yourhostingaccount.com) Received: from mailscan38.yourhostingaccount.com ([10.1.15.38] helo=mailscan38.yourhostingaccount.com) by mailout07.yourhostingaccount.com with esmtp (Exim) id 1HySYy-0006xH-DO for freebsd-hackers@freebsd.org; Wed, 13 Jun 2007 09:07:04 -0400 Received: from authsmtp11.yourhostingaccount.com ([10.1.18.11] ident=exim) by mailscan38.yourhostingaccount.com with spamscanlookuphost (Exim) id 1HySYy-0004rg-63 for freebsd-hackers@freebsd.org; Wed, 13 Jun 2007 09:07:04 -0400 Received: from authsmtp11.yourhostingaccount.com ([10.1.18.11] helo=authsmtp11.yourhostingaccount.com) by mailscan38.yourhostingaccount.com with esmtp (Exim) id 1HySYv-0004qs-JI; Wed, 13 Jun 2007 09:07:01 -0400 Received: from cpe-24-93-100-44.columbus.res.rr.com ([24.93.100.44] helo=vixen42) by authsmtp11.yourhostingaccount.com with esmtpa (Exim) id 1HySYt-0003cc-S5; Wed, 13 Jun 2007 09:07:00 -0400 Date: Wed, 13 Jun 2007 09:07:45 -0400 From: "Z.C.B." To: Eugene Grosbein Message-ID: <20070613090745.4b7a1031@vixen42> In-Reply-To: <20070613071115.GA92114@svzserv.kemerovo.su> References: <20070613020642.463afff4@vixen42> <20070613071115.GA92114@svzserv.kemerovo.su> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-EN-UserInfo: 0d1ca1697cdb7a831d4877828571b7ab:1570f0de6936c69fef9e164fffc541bc X-EN-AuthUser: vvelox2 Sender: "Z.C.B." X-EN-OrigIP: 24.93.100.44 X-EN-OrigHost: cpe-24-93-100-44.columbus.res.rr.com Cc: freebsd-hackers@freebsd.org Subject: Re: building images for running from flash X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2007 13:07:08 -0000 On Wed, 13 Jun 2007 15:11:15 +0800 Eugene Grosbein wrote: > On Wed, Jun 13, 2007 at 02:06:42AM -0400, Z.C.B. wrote: >=20 > > Just been looking at rebuilding my router. I understand building > > the image and etc, but the issue I am running into is what to do > > about ports. To solve this, I am looking at building the image > > and using mdconfig, unionfs, and jail to solve building ports. > > Also looking at the possibility of qemu. Any thoughts or > > suggestions? > >=20 > > Another annoying issue is the muckery involved > > with /etc/make.conf... The issue I am running into that is the > > CPUTYPE? option is different for the build machine and router > > that the flash will be used on. Any nice way to deal with this? >=20 > nanobsd(8) I am aware of it, but it does not cover what I need for either questions, except for possibly the make part. =46rom the looks of it, I assume I can override what make.conf is used using __MAKE_CONF? Also any thing to be aware of when using DESTDIR with make kernel? Just tried it here and it did not work. It just installed over my current one.