NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/57780: opensslcertsrehash limited to DEST_DIR=/



>Number:         57780
>Category:       install
>Synopsis:       opensslcertsrehash limited to DEST_DIR=/
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 17 13:05:00 +0000 2023
>Originator:     Benjamin Lorenz
>Release:        NetBSD 10.0_RC1
>Organization:
	
>Environment:
	
	
System: NetBSD lion.mx.plus 10.0_RC1 NetBSD 10.0_RC1 (GENERIC) #1: Sat Nov 25 14:17:29 CET 2023 bjjl%lion.mx.plus@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
./build.sh -O ../obj -T ../tools -U -x install=/
might tell at the end:
postinstall checks failed: makedev mtree named opensslcertsrehash
To fix, run:
    /bin/sh /usr/src/../obj/usr.sbin/postinstall/postinstall -s /usr/src -x /usr/xsrc -d // fix makedev mtree named opensslcertsrehash

sudo /bin/sh /usr/src/../obj/usr.sbin/postinstall/postinstall -s /usr/src -x /usr/xsrc -d // fix makedev mtree named opensslcertsrehash
will then yield

opensslcertsrehash fix:
        opensslcertsrehash limited to DEST_DIR=/
postinstall fixes passed: makedev mtree named
postinstall fixes failed: opensslcertsrehash

Changing -d // to -d / in the script solved the problem. Not sure why there's
the double slash in the script. Looks like a typo at first sight.
>How-To-Repeat:
	
>Fix:
Call the postinstall script with one slash:

sudo /bin/sh /usr/src/../obj/usr.sbin/postinstall/postinstall -s /usr/src -x /usr/xsrc -d / fix opensslcertsrehash 



Home | Main Index | Thread Index | Old Index