Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 23:54:59 -0700
From:      Gordon Tetlow <gordont@gnf.org>
To:        arch@FreeBSD.org
Subject:   CFR: dynamically-linked root patch
Message-ID:  <20030812065459.GR4672@roark.gnf.org>

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

--HACzHn9G0kmbdSJa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've put up what I hope to be my final patch for a dynamically linked
world. Here's my plan for rolling it into place with as little fuss
as possible (hopefully):

1) Add /lib and /libexec to mtree along with the tweaks to rtld-elf
   to prepend /lib to the search path. Add necessary make-goo to
   strap /lib into buildworld.

2) Make rtld installed into /libexec with a compatibility symlink in
   /usr/libexec so existing binaries continue to work.

3) Kick over all the libraries needed to run /bin and /sbin into
   /lib. Only the versioned binaries will be in /lib, the .so
   symlink will continue to live in /usr/lib so the toolchain
   doesn't need to be modified.

4) Add support of a WITH_DYNAMICROOT knob that will make /bin and
   /sbin dynamic. If things go badly, that's what /rescue is for.

5) Optionally, make WITH_DYANMICROOT default (reverse the logic
   actually).

http://people.freebsd.org/~gordon/patches/dynamic.patch

Please look over this patch, if I don't hear any objections or any
ideas as to a better way to integrate in order to keep the
potential for foot shooting down, I'll start integrating them.

-gordon

--HACzHn9G0kmbdSJa
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE/OI9DRu2t9DV9ZfsRAoHHAKCCzUSr7aMjCM5iEhUcdVwtwQm8ygCgkIvL
R2p1gpOhQkTqI9fVPhiD3tw=
=N8n4
-----END PGP SIGNATURE-----

--HACzHn9G0kmbdSJa--



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