HEADS UP: dynamic root support now in the tree

Sergey A. Osokin osa at freebsd.org.ru
Tue Aug 19 06:38:38 PDT 2003


On Mon, Aug 18, 2003 at 09:05:13AM +0900, Shin-ichi Yoshimoto wrote:
> Subject: Re: HEADS UP: dynamic root support now in the tree,
> On Mon, 18 Aug 2003 04:28:53 +0900, Shin-ichi Yoshimoto wrote:
> > Thanks Gordon. I can save a space :-)
> 
> I found another problem in src/Makefile.inc
> 
> [snip]
> .if ${TARGET_ARCH} == ${MACHINE_ARCH} && !defined(DISTDIR) && \
>     (!defined(DESTDIR) || empty(DESTDIR) || ${DESTDIR} == "/")
>         @echo "Checking to see if your booted kernel is fresh enough.."
>         ${.OBJDIR}/bin/sh/sh -c \
>             'echo "Testing installed kernel for new sigaction(2) 
> syscall"'
>         @echo "Seems ok.."
> .endif
> [snip]
> 
> ${.OBJDIR}/bin/sh/sh is dynamically-linked if WITH_DYNAMICROOT is 
> defined. But sh cannot find /libexec/ld-elf.so.1 before instaling 
> /libexec/ld-elf.so.1.
> 
> Is this right ?

Yes, I have the same problem.

Solution:

# mkdir /libexec && cp obj/usr/src/libexec/rtld-elf/ld-elf.so.1 /libexec
then make installworld

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \


More information about the freebsd-current mailing list