From owner-freebsd-current@freebsd.org Sat Sep 9 22:32:36 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 5622AE0EAC3; Sat, 9 Sep 2017 22:32:36 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0123.outbound.protection.outlook.com [104.47.34.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EDCC2804DB; Sat, 9 Sep 2017 22:32:35 +0000 (UTC) (envelope-from sjg@juniper.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ixvOBB79moCbUvaqIc3uOM+TmYsZRWflbeBi+Nx9Xfc=; b=ICXFR0YxKFomRhNWvcxyydSik2qzh0AhEzbL/htLjEvU8DS43YynHQJreojbTrNODMiJAYEfxgDy1dFVhaW189s4WyOPXr5WAneOGz/6Rvej80MQBDPtY9YWYNeKhZuKCMtYB0or7ZRJU8NHKTKM3tFRZbNyHbY4KuOMEbIrZbs= Received: from BN3PR05CA0029.namprd05.prod.outlook.com (10.174.64.39) by BN3PR0501MB1217.namprd05.prod.outlook.com (10.160.113.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.4; Sat, 9 Sep 2017 22:32:34 +0000 Received: from DM3NAM05FT043.eop-nam05.prod.protection.outlook.com (2a01:111:f400:7e51::200) by BN3PR05CA0029.outlook.office365.com (2603:10b6:400::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.4 via Frontend Transport; Sat, 9 Sep 2017 22:32:34 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.12) smtp.mailfrom=juniper.net; dsl-only.net; dkim=none (message not signed) header.d=none;dsl-only.net; dmarc=fail action=none header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.12 as permitted sender) Received: from p-emfe01a-sac.jnpr.net (66.129.239.12) by DM3NAM05FT043.mail.protection.outlook.com (10.152.98.112) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.1.1385.11 via Frontend Transport; Sat, 9 Sep 2017 22:32:33 +0000 Received: from p-mailhub01.juniper.net (10.160.2.17) by p-emfe01a-sac.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Sat, 9 Sep 2017 15:31:51 -0700 Received: from kaos.jnpr.net (kaos.jnpr.net [172.21.30.60]) by p-mailhub01.juniper.net (8.14.4/8.11.3) with ESMTP id v89MVoIx014156; Sat, 9 Sep 2017 15:31:51 -0700 (envelope-from sjg@juniper.net) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id D8823385520; Sat, 9 Sep 2017 15:31:50 -0700 (PDT) To: Mark Millard CC: FreeBSD Toolchain , FreeBSD Current , Subject: Re: if_igb.ko symbolic link generation is still messed up in that it hard wires the path at installkernel time, messing up copying to other places In-Reply-To: References: Comments: In-reply-to: Mark Millard message dated "Sat, 09 Sep 2017 13:05:01 -0700." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <75574.1504996310.1@kaos.jnpr.net> Content-Transfer-Encoding: quoted-printable Date: Sat, 9 Sep 2017 15:31:50 -0700 Message-ID: <75575.1504996310@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.129.239.12; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(2980300002)(199003)(24454002)(189002)(97736004)(6266002)(6246003)(189998001)(5660300001)(7126002)(23726003)(2950100002)(55016002)(97756001)(6916009)(305945005)(356003)(117636001)(229853002)(478600001)(4326008)(69596002)(46406003)(110136004)(9686003)(54906002)(86362001)(7696004)(107886003)(105596002)(53416004)(76506005)(77096006)(106466001)(2906002)(2810700001)(47776003)(50986999)(76176999)(50226002)(68736007)(97876018)(53936002)(81166006)(81156014)(8676002)(8936002)(8746002)(50466002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1217; H:p-emfe01a-sac.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DM3NAM05FT043; 1:Y+gf4p4OcgoaQkz4rcmeA0hSSuBpfJ/5xuB2m6gCmaHeXNqVRvbfRT90vPceQ43l5oS4tCePg8OPl0xGmO60GcQWtSoERQPkimrntobZ74R0xSwC7TkUBaA8S9pO1r48 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8958f594-efdc-4dc7-ed26-08d4f7d2aa1b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR0501MB1217; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0501MB1217; 3:OkK6C9BQyphwVTgBAED5xT/ACTTKzfAInf+Ztbxw69uIGW2NesvQgPaf2PXnHTQ0uPY3thYuelv04wIDRwCa2BW1ATBdayhvUGzSDRnOV9BxmdfAMRflMtMJaIXq8QYmzPQF0YilXnnNoiy2FnFBGC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aFg6F1EzCUNYJqMnHIdt9uRXrvSRvixZrjkd+sS46zt3hv6gWLjW9kmR9x7q2/CPHQu9bCfJvcMEE+zjYicH67VA5/vjypFzsgpupPkSZCCffIyb1FWni74P/7aABwPLX0Bu7MIi1LTIEPrXfBuoXgiPWwPZ4hrzv0X05IE1A8E3lRiJ3IqVsv5iGRxxjtgROjr5OLEdbAIPLn3OcT7XWJOACvgVUYiqd6R8YzdTJVt8L6mv9CyxnJa3HF00JnW91u+Wc2k/YV9bJmcudQGEUKM85ZSvFn0eCkhKiOhrexcQA X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93003095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0501MB1217; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0501MB1217; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0501MB1217; 4:bwpscJEPSmnVVMXK/1HFeupHrYCB1pOLS5f9wHSIkCnKqdgGiJAIOflKmUucfFf6cSIqPVG6EGCttAwdjHNMbS8EGnoZKAW7IvI0uWdfoqIQf1WiT2HeFvHq85LAdtI+Dv32KI/rzclUExV6nIi54co6a7yQGDqQ1MR76LEfyVqDuHU0kxsYC1aSpNuzWW58FIKpWNAF9QZU0hx6S7suZrJk/ADAFtAGwDJl2zu4JyeK2QsjK22LCI6bgz3Dv7vr X-Forefront-PRVS: 0425A67DEF X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?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7aTZLNs63LKLwm6/cKuEQK33Hhwqgbfhfui/sQD8fzvXv68tTCheoLUU=; 7:YMC35mytO0VkfG/AjZ6DyZ3F8/0VhnMtdT/97z+3oTR/rjKldB0HSeoRvVB/qewx6LeF1M7vQSPHsN4NUF+wj5O280HlIWw4VK90CPyOyP21R3nKw7++ebyTFsil3qheZ6p8KlelK/Okw6fv+CnQsE93UMYgImD/kQe3a2ISON5u/E2DY5GSO1ck6TIZqb8fl173r2legr99Iu2Wg8Ud+m8612e6XQPz0qvYRbLu714= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2017 22:32:33.1950 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.12]; Helo=[p-emfe01a-sac.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1217 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: Sat, 09 Sep 2017 22:32:36 -0000 Mark Millard wrote: > # ls -lTt /media/boot/kernel/if_igb.ko /mnt/boot/kerndb/if_igb.ko > lrwxr-xr-x 1 root wheel 25 Sep 8 22:47:36 2017 /mnt/boot/kerndb/if_i= gb.ko -> /mnt/boot/kernel/if_em.ko > lrwxr-xr-x 1 root wheel 68 Sep 6 20:27:20 2017 /media/boot/kernel/if= _igb.ko -> /usr/obj/DESTDIRs/clang-cortexA53-installkernel/boot/kernel/if_= em.ko > = > In both of these cases the /mnt and /usr/obj/DESTDIRs/ prefixes > would not exist for booting the PINE64 that the USB SSD is for: > so file not found if a usage attempt is made. Yes, when making symlinks in presence of DESTDIR, the src should have $DESTDIR removed - the following should usually be safe: ln -s ${src#$DESTDIR} $DESTDIR${target#$DESTDIR}