From owner-freebsd-small Fri Mar 16 13:59: 8 2001 Delivered-To: freebsd-small@freebsd.org Received: from mail.cruzio.com (dsl3i239.cruzio.com [205.179.211.239]) by hub.freebsd.org (Postfix) with ESMTP id C96F137B719 for ; Fri, 16 Mar 2001 13:59:04 -0800 (PST) (envelope-from brucem@mail.cruzio.com) Received: (from brucem@localhost) by mail.cruzio.com (8.11.3/8.11.3) id f2GMmb100556 for freebsd-small@freebsd.org; Fri, 16 Mar 2001 14:48:37 -0800 (PST) (envelope-from brucem) Date: Fri, 16 Mar 2001 14:48:37 -0800 (PST) From: "Bruce R. Montague" Message-Id: <200103162248.f2GMmb100556@mail.cruzio.com> To: freebsd-small@freebsd.org Subject: PICOBSD bld cleanup and modifying config files. Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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