Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2017 13:50:39 +0000
From:      Roger Pau =?iso-8859-1?Q?Monn=E9?= <roger.pau@citrix.com>
To:        Roger Pau =?iso-8859-1?Q?Monn=E9?= <roger.pau@citrix.com>
Cc:        "Herbert J. Skuhra" <herbert@mailbox.org>, <current@freebsd.org>
Subject:   Re: bootonly release target not creating etc/ssh/
Message-ID:  <20171201135039.ckrnje7quf7eeuip@MacBook-Pro-de-Roger.local>
In-Reply-To: <20171110091232.pa7nx4tivaizuous@dhcp-3-128.uk.xensource.com>
References:  <20171109175552.dqrcgpa5uqkmsztw@dhcp-3-128.uk.xensource.com> <87o9obrpsi.wl-herbert@mailbox.org> <20171110091232.pa7nx4tivaizuous@dhcp-3-128.uk.xensource.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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é <roger.pau@citrix.com> 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 <keys> 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.



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