Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 22:25:51 +0700 (KRAT)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        phk@FreeBSD.org
Subject:   misc/93341: make more flexibitily for NanoBSD customization
Message-ID:  <200602141525.k1EFPp4l050516@kost.svzserv.kemerovo.su>
Resent-Message-ID: <200602141530.k1EFU5pv094599@freefall.freebsd.org>

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

>Number:         93341
>Category:       misc
>Synopsis:       make more flexibitily for NanoBSD customization
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 15:30:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD kost.svzserv.kemerovo.su 6.0-STABLE FreeBSD 6.0-STABLE #7: Tue Jan 24 06:22:29 KRAT 2006 eugen@ws092.svzserv.kemerovo.su:/usr/obj/usr/src/sys/TEST i386

>Description:

	All I ask for is the following patch:

--- src/tools/tools/nanobsd/nanobsd.sh.orig	Sat Jan 14 14:02:50 2006
+++ src/tools/tools/nanobsd/nanobsd.sh	Tue Feb 14 18:42:38 2006
@@ -546,8 +546,8 @@
 install_etc
 install_kernel
 
-run_customize
 setup_nanobsd
+run_customize
 prune_usr
 create_${NANO_ARCH}_diskimage
 

	It makes it possible for customization commands
	to use/modify files in conf/base/* and conf/default/*
	directories created by setup_nanobsd section.
	And more generally, gives more control over resulting image
	to customizing scripts.

>How-To-Repeat:

	Try to add conf/default/var/remount to the image if needed.
	Try to modify conf/base/etc/fstab during during customization stage.
	It's quite hard with current nanobsd.sh script and trivial
	with the patch suggested.

>Fix:

	Apply the patch above.
>Release-Note:
>Audit-Trail:
>Unformatted:



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