Re: bootonly release target not creating etc/ssh/

From: Roger Pau Monné <roger.pau_at_citrix.com>
Date: Fri, 1 Dec 2017 13:50:39 +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é <roger.pau_at_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.
Received on Fri Dec 01 2017 - 12:51:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC