Yaroslav Tykhiy b2c4f888fd Add a hackish knob to skip rtld, NO_RTLD. In conjunction with
src/Makefile.inc1 rev. 1.590, it can allow installing a world
cross-built for a different arch over the live system.  The procedure
is more or less as follows:

	cp -R /rescue /rescue.old
	make installkernel TARGET_ARCH=foo
	make -DNO_RTLD installworld TARGET_ARCH=foo
	     ^^^^^^^^^
	PATH=/rescue.old
	chflags noschg /libexec/ld-elf.so.1
	cp /usr/obj/foo/usr/src/libexec/rtld/ld-elf.so.1 /libexec
	chflags schg /libexec/ld-elf.so.1
	<ditto for ld-elf32.so.1 if installing for amd64>
	reboot
2007-10-31 11:19:32 +00:00
..
2007-07-24 06:41:07 +00:00
2005-02-13 22:25:33 +00:00
2006-07-27 12:05:05 +00:00
2005-01-14 12:22:57 +00:00
2005-05-06 15:28:54 +00:00
2007-07-03 12:46:08 +00:00
2007-06-03 15:32:06 +00:00
2005-02-13 22:25:33 +00:00