From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 21:11:02 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5AF16A40F for ; Thu, 14 Sep 2006 21:11:02 +0000 (UTC) (envelope-from danger@FreeBSD.org) Received: from virtual.micronet.sk (smtp.micronet.sk [84.16.32.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0985043D64 for ; Thu, 14 Sep 2006 21:10:56 +0000 (GMT) (envelope-from danger@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by virtual.micronet.sk (Postfix) with ESMTP id 24AE210E639; Thu, 14 Sep 2006 23:10:34 +0200 (CEST) X-Virus-Scanned: by amavisd-new at virtual.micronet.sk Received: from virtual.micronet.sk ([127.0.0.1]) by localhost (virtual.micronet.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d4yUSp+zuGb2; Thu, 14 Sep 2006 23:10:32 +0200 (CEST) Received: from danger.mcrn.sk (danger.mcrn.sk [84.16.37.254]) by virtual.micronet.sk (Postfix) with ESMTP id C4BF810E5B7; Thu, 14 Sep 2006 23:10:32 +0200 (CEST) Date: Thu, 14 Sep 2006 23:10:54 +0200 From: Daniel Gerzo Organization: The FreeBSD Project X-Priority: 3 (Normal) Message-ID: <1658292353.20060914231054@rulez.sk> To: Julian Elischer In-Reply-To: <4509C2C7.10503@elischer.org> References: <4509C2C7.10503@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Gerzo List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2006 21:11:03 -0000 Hello Julian, Thursday, September 14, 2006, 10:59:51 PM, you wrote: > I'm looking at trying to make a -current nanobsd image I can put on a > USB dongle. > Looking at: > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/nanobsd/howto.html > Using the config file example in the web site fails with > /usr/obj/nanobsd.julian//_.w/usr/lib/libl.a -> > /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a > ln: /usr/obj/nanobsd.julian//_.w/usr/lib/libln.a: No such file or directory > *** Error code 1 Not sure about this, try to ask phk@ maybe. > has anyone used it recently? > also, the docs are not very helpful in how to cut down the size of the image > the example uses a lot of lines such as: > NO_MODULES=YES > is there a place where all these can be found? make.conf(5) manual page I would say. > I've looked in make.conf and /usr/src/Makefile.inc1 but there doesn't > seem to be an > exhaustive list anywhere. > I want to slim it down to fit on a 64 MB usb key but it's not immediatly > how to do this from the 'docs' > I'm resorting to reading the scripts and then the Makefiles but if > anyone has this alreay all written down somewhere > that would be good. I think that triming it down to 64mb will be a bit of "fun", since I think you will have to create some custom functions to remove all the unneeded binaries from the image. -- Best regards, Daniel mailto:danger@FreeBSD.org