From owner-cvs-all@FreeBSD.ORG Tue Sep 20 08:38:59 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDA8A16A41F; Tue, 20 Sep 2005 08:38:59 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0FA943D46; Tue, 20 Sep 2005 08:38:59 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8K8cxdR024994; Tue, 20 Sep 2005 08:38:59 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8K8cxMM024993; Tue, 20 Sep 2005 08:38:59 GMT (envelope-from phk) Message-Id: <200509200838.j8K8cxMM024993@repoman.freebsd.org> From: Poul-Henning Kamp Date: Tue, 20 Sep 2005 08:38:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/nanobsd nanobsd.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 08:39:00 -0000 phk 2005-09-20 08:38:59 UTC FreeBSD src repository Modified files: tools/tools/nanobsd nanobsd.sh Log: Create an /etc/nanobsd.conf in the built image and put the disk drive name there for scripts to use. Create a noauto fstab entry for the configuration partition (/cfg). Add NANO_TOOLS env-var to point to the nanobsd sources relative to NANO_SRC. Add -h argument which prints a usage. Add -b argument which skips build steps and goes directly to install steps. Complain about extraneous arguments, it's usually a forgotten '-c' Add convenience function to register customization function. Add some sample customization functions: cust_comconsole cust_allow_ssh_root Rename setup_diskless() to setup_nanobsd(), it makes more sense. Add various comments etc. Revision Changes Path 1.12 +124 -28 src/tools/tools/nanobsd/nanobsd.sh