Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2007 11:19:32 +0000 (UTC)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec Makefile
Message-ID:  <200710311119.l9VBJWrP050347@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yar         2007-10-31 11:19:32 UTC

  FreeBSD src repository

  Modified files:
    libexec              Makefile 
  Log:
  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
  
  Revision  Changes    Path
  1.78      +1 -1      src/libexec/Makefile



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