misc/93341: make more flexibitily for NanoBSD customization

Eugene Grosbein eugen at grosbein.pp.ru
Tue Feb 14 07:30:07 PST 2006


>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 at 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:


More information about the freebsd-bugs mailing list