From owner-freebsd-current@FreeBSD.ORG Thu Sep 14 20:59:53 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 0A1B116A403 for ; Thu, 14 Sep 2006 20:59:53 +0000 (UTC) (envelope-from prvs=julian=4054a8e64@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCAE643D4C for ; Thu, 14 Sep 2006 20:59:52 +0000 (GMT) (envelope-from prvs=julian=4054a8e64@elischer.org) Received: from unknown (HELO [192.168.2.6]) ([10.251.60.95]) by a50.ironport.com with ESMTP; 14 Sep 2006 13:59:51 -0700 Message-ID: <4509C2C7.10503@elischer.org> Date: Thu, 14 Sep 2006 13:59:51 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: nanobsd and -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 20:59:53 -0000 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.bin/lex (install) install -s -o root -g wheel -m 555 lex /usr/obj/nanobsd.julian//_.w/usr/bin install -C -o root -g wheel -m 444 /usr/src/usr.bin/lex/FlexLexer.h /usr/obj/nanobsd.julian//_.w/usr/include ===> usr.bin/lex/lib (install) install -C -o root -g wheel -m 444 libln_p.a /usr/obj/nanobsd.julian//_.w/usr/lib /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 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 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? 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.