Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 14:48:37 -0800 (PST)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-small@freebsd.org
Subject:   PICOBSD bld cleanup and modifying config files.
Message-ID:  <200103162248.f2GMmb100556@mail.cruzio.com>

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


Here's a picoBSD circumstance that's probably not
a bug but maybe qualifies as an "operator Be-aware".

If a build of picobsd fails due to a compilation
error while compiling the kernel, changes made
thereafter to the relevent PICOBSD config file in
the "release/picobsd" tree may not take effect unless
the corresponding configuration file (typically in
"/usr/src/sys/i386/conf") is deleted manually (for
a build of type "net", this file would be named
"PICOBSD-net". Editing "/usr/src/release/picobsd/net/PICOBSD"
thereafter would have no effect on subsequent
"picobsd net" builds).

The manual deletion is required because the makefile
("/usr/src/release/picobsd/build/Makefile.conf")
dependency in "${COMPILE}: ${CONF}/${CONFFILE}"
detects the existing config file and thus does not
apply the "$(CONF)/${CONFFILE}:" rule to copy the
new PICOBSD configuration file over the version in
"/usr/src/sys/i386/conf".

Obvious but easy to overlook.

-------

The picobsd build script doesn't seem
to have a cleanup, unless I've missed
something obvious...?

To "nuke" everything left over from an old picobsd
build, for instance of type "net":

 * cd /usr/src/sys/compile
   and delete the "PICOBSD-net" build directory.

 * cd /usr/src/sys/i386/conf
   and delete the "PICOBSD-net" config file.

 * cd /usr
   and delete the "obj-picobsd"  subdirectory.

 * cd /usr/src/release/picobsd/build
   and delete the "build_dir-net" subdirectory

 * cd /tmp
   and delete the "picobsd.XXXXXXXXXX" (temp 
      name) subdirectory.
   and delete the "reply.XXXXXXXXXX" temporary file.


 Have I missed anything?




 - bruce



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




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