Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jun 2013 23:03:38 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        freebsd-current@freebsd.org
Subject:   [new DESTDIR, DESTDIR/boot/modules]: kldxref: /diskless/boot/modules: Not a directory
Message-ID:  <51B0DD0A.7050203@passap.ru>

next in thread | raw e-mail | index | archive | help
Hi All,

The system is:
-----
% uname -a
FreeBSD test.bsam.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251470: Thu
Jun  6 20:18:03 SAMT 2013
bsam@test.bsam.ru:/usr/obj/usr/src/sys/BB64X  amd64
-----

I try to use (a new and empty) DESTDIR and get this error at
installkernel:
-----
[...]
===> zlib (install)
install -o root -g wheel -m 555   zlib.ko /diskless/boot/modules
install -o root -g wheel -m 555   zlib.ko.symbols /diskless/boot/modules
kldxref /diskless/boot/modules
kldxref: /diskless/boot/modules: Not a directory
*** Error code 1
-----

And indeed it's file but not a directory:
-----
% file /diskless/boot/modules
/diskless/boot/modules: ELF 32-bit LSB shared object, Intel 80386,
version 1 (FreeBSD), dynamically linked, not stripped
-----

If /diskless/boot/modules is manually created then installation
succeeds. Seems that this directory is not created and install
treat it as destination file.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



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