From owner-freebsd-current@FreeBSD.ORG Thu Jun 6 19:03:45 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 77F26FA8 for ; Thu, 6 Jun 2013 19:03:45 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward2h.mail.yandex.net (forward2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3067B128B for ; Thu, 6 Jun 2013 19:03:45 +0000 (UTC) Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [84.201.186.20]) by forward2h.mail.yandex.net (Yandex) with ESMTP id AE689701231 for ; Thu, 6 Jun 2013 23:03:39 +0400 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id 7C32D1B40ECE for ; Thu, 6 Jun 2013 23:03:39 +0400 (MSK) Received: from 78.108.206.107.tel.ru (78.108.206.107.tel.ru [78.108.206.107]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VAdV7vQ3tY-3c4CgaUb; Thu, 6 Jun 2013 23:03:39 +0400 Message-ID: <51B0DD0A.7050203@passap.ru> Date: Thu, 06 Jun 2013 23:03:38 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: [new DESTDIR, DESTDIR/boot/modules]: kldxref: /diskless/boot/modules: Not a directory Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jun 2013 19:03:45 -0000 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