Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 13:27:02 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Alan Amesbury <amesbury@umn.edu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Kernel INCLUDE_CONFIG_FILE workaround?
Message-ID:  <20060314112701.GF17026@ip.net.ua>
In-Reply-To: <44159088.9000505@umn.edu>
References:  <440DFEC5.3070501@umn.edu> <Pine.LNX.4.62.0603101503140.24710@neumann.snl.salk.edu> <44159088.9000505@umn.edu>

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

--cz6wLo+OExbGG7q/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 13, 2006 at 09:32:24AM -0600, Alan Amesbury wrote:
> Jorge Aldana wrote:
>=20
> >I'm on 6.1PreRelease and this works:
> >
> >strings -n 3 /boot/kernel/kernel | grep -v ____ | sed -n 's/^___//p'
> >
> >There was a minor tweek in this line back in 5.X transition form 4.X but=
=20
> >my script works fine for 6.X since then.
>=20
> Note that the problem isn't in the line you provided above that extracts=
=20
> the built-in configuration file.  It's in the build procedure that's=20
> supposed to put the config file into the kernel in the first place.  In=
=20
> other words, "options INCLUDE_CONFIG_FILE" doesn't include *all* the=20
> configuration data, because it doesn't include included configuration=20
> files.  It's only including the very first level of nested configuration=
=20
> files, which is not an accurate representation of what's in the kernel.
>=20
> In my example, the configuration file for GENERIC should've been in=20
> there somewhere, as well as anything included by GENERIC (such as the=20
> stuff in DEFAULTS).
>=20
> Again, this used to work great, but appears to have been broken in favor=
=20
> of... usability?
>=20
I posted a patch to config(8) some time ago that did what you want,
but it wasn't widely accepted so I abandoned it.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--cz6wLo+OExbGG7q/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEFqiFqRfpzJluFF4RAtO7AJ0ZtxJFIzTYndKIdrLP9gNx2gJP2ACgnoPB
9qZVXgII3YQ90vw+bSMXPZM=
=H/KH
-----END PGP SIGNATURE-----

--cz6wLo+OExbGG7q/--



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