From owner-freebsd-current@freebsd.org Mon Jun 26 23:30:34 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CD90D94318 for ; Mon, 26 Jun 2017 23:30:34 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-10.reflexion.net [208.70.210.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D7E4A6EED1 for ; Mon, 26 Jun 2017 23:30:33 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1446 invoked from network); 26 Jun 2017 23:30:31 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 26 Jun 2017 23:30:31 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Mon, 26 Jun 2017 19:30:31 -0400 (EDT) Received: (qmail 8925 invoked from network); 26 Jun 2017 23:30:31 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 26 Jun 2017 23:30:31 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 1B8B2EC893D; Mon, 26 Jun 2017 16:30:31 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: head -r320192 -> -r320387 kernel build and install to a DESTDIR: if_igb.ko vs. DESTDIR use for installkernel has symbolic link that seems inapproriate Message-Id: <4176FEB2-192E-4204-8F74-598CB74B1132@dsl-only.net> Date: Mon, 26 Jun 2017 16:30:30 -0700 To: FreeBSD Toolchain , FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 26 Jun 2017 23:30:34 -0000 installkernel = DESTDIR=3D/usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387 produced a if_igb.ko (this used: ls -lD %C ): lrwxr-xr-x 1 root wheel 80 20 if_igb.ko -> = /usr/obj/DESTDIRs/clang-amd64-installkernel-r320192_r320387/boot/kernel/if= _em.ko This does not allow simple copies of such directory trees that have if_igb.ko pointing to the right if_em.ko. Looking in my -r320192 based /boot/kernel/ that had been filled in via a default DESTDIR for installkernel (this used: ls -lD %C ): lrwxr-xr-x 1 root wheel 21 20 if_igb.ko -> = /boot/kernel/if_em.ko So something like: cp -aRx /boot/kernel/ /boot/kercgd ends up with /boot/kercgd/if_igb.ko pointing into /boot/kernel/ instead of into /boot/kercgd/ . =3D=3D=3D Mark Millard markmi at dsl-only.net