bootonly release target not creating etc/ssh/

Roger Pau Monné roger.pau at citrix.com
Fri Nov 10 09:12:45 UTC 2017


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.

Roger.


More information about the freebsd-current mailing list