From owner-freebsd-current@freebsd.org Fri Dec 1 13:51:57 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 32A18E56A32 for ; Fri, 1 Dec 2017 13:51:57 +0000 (UTC) (envelope-from prvs=50180d265=roger.pau@citrix.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1CFFE30F8 for ; Fri, 1 Dec 2017 13:51:57 +0000 (UTC) (envelope-from prvs=50180d265=roger.pau@citrix.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1C3BAE56A31; Fri, 1 Dec 2017 13:51:57 +0000 (UTC) Delivered-To: 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 1BCE7E56A30 for ; Fri, 1 Dec 2017 13:51:57 +0000 (UTC) (envelope-from prvs=50180d265=roger.pau@citrix.com) Received: from SMTP.EU.CITRIX.COM (smtp.ctxuk.citrix.com [185.25.65.24]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8931130F5 for ; Fri, 1 Dec 2017 13:51:55 +0000 (UTC) (envelope-from prvs=50180d265=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.45,344,1508803200"; d="scan'208";a="64079334" Date: Fri, 1 Dec 2017 13:50:39 +0000 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Roger Pau =?iso-8859-1?Q?Monn=E9?= CC: "Herbert J. Skuhra" , Subject: Re: bootonly release target not creating etc/ssh/ Message-ID: <20171201135039.ckrnje7quf7eeuip@MacBook-Pro-de-Roger.local> References: <20171109175552.dqrcgpa5uqkmsztw@dhcp-3-128.uk.xensource.com> <87o9obrpsi.wl-herbert@mailbox.org> <20171110091232.pa7nx4tivaizuous@dhcp-3-128.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171110091232.pa7nx4tivaizuous@dhcp-3-128.uk.xensource.com> User-Agent: NeoMutt/20171027 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Fri, 01 Dec 2017 13:51:57 -0000 On Fri, Nov 10, 2017 at 09:12:32AM +0000, Roger Pau Monné wrote: > On Fri, Nov 10, 2017 at 12:33:01AM +0100, Herbert J. Skuhra wrote: > > On Thu, 09 Nov 2017 18:55:52 +0100, > > Roger Pau Monné wrote: > > > > > > Hello, > > > > > > Since recently it seems like the bootonly release make target doesn't > > > create the etc/ssh directory. I've usually done: > > > > > > # make buildworld > > > # make buildkernel > > > # make -C release ftp > > > # make -C release bootonly > > > # cp release/bootonly/etc/ssh/ > > > > > > But the ssh directory doesn't seem to exist anymore. Is this expected? > > > > Hi, > > > > on my system the files are no longer in $SRCPATH/release but in > > /usr/obj/$SRCPATH/$TARGET.$TARGET_ARCH/release: > > > > $ ls -l /usr/obj/usr/home/herbert/source/freebsd/head/src/amd64.amd64/release/bootonly/etc/ssh > > total 54 > > -rw-r--r-- 1 root wheel 553185 10 Nov 00:26 moduli > > -rw-r--r-- 1 root wheel 1780 10 Nov 00:26 ssh_config > > -rw-r--r-- 1 root wheel 3359 10 Nov 00:26 sshd_config > > > > > > Not sure if this is expected, a bug or PBKAC. :) > > Thanks! The main problem is that the flow specified above is run > inside of a script, that should be able to build images pre/post > whatever changeset that modified this behavior. IMHO there should be > a way to restore previous behavior. FWIW, the previous behavior can be restored by using -DWITHOUT_AUTO_OBJ, ie: # make -C release bootonly -DWITHOUT_AUTO_OBJ Roger.