Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Oct 2011 21:09:32 +0900
From:      Mamoru Iwaki <1wkmmr@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   NANO_MODULES introduced in nanobsd.sh looks inconvenient
Message-ID:  <4E8AF77C.7080102@gmail.com>

next in thread | raw e-mail | index | archive | help

Hi,

Re: $FreeBSD: src/tools/tools/nanobsd/nanobsd.sh,v 1.51.2.5 2011/10/02
13:48:15 mr Exp $

   nanobsd.sh was modified on Revision 225923 Sun Oct 2 13:48:15 2011
UTC.  That introduced new variable NANO_MODULES which specifies kernel
modules to be included in the final disk image.  As a result, no kernel
module is installed if NANO_MODULES is empty.  It might be useful to
reduce the image size.  This specification may be acceptable for
embedding system's use.

   However, on the other hand, it means we have to specify all the
necessary modules.  I'm using nanobsd as a usb-bootable freebsd of
fullset.  This usb-bootable image is convenient when we use fullset of
freebsd on some ms-windows installed pc's which is not allowed to
install other OS (Sometimes, we have to give up the warranty if we
install other OS.).  In this scenario, The current specification is not
convenient.

   How about the following functional modification to the nanobsd.sh in
rev.225923.

    ** If NANO_MODULES is not defined, all modules are installed.


Cheers


PS. I'm not sure where is the best place to ask.  Is it mr?, but how can
I access to mr, no way.
---
Mamoru Iwaki
Japan




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