Re: bootonly release target not creating etc/ssh/

2017-12-01 Thread Roger Pau Monné
On Fri, Nov 10, 2017 at 09:12:32AM +, 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  wheel1780 10 Nov 00:26 ssh_config
> > -rw-r--r--  1 root  wheel3359 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.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: bootonly release target not creating etc/ssh/

2017-11-10 Thread Roger Pau Monné
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  wheel1780 10 Nov 00:26 ssh_config
> -rw-r--r--  1 root  wheel3359 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.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: bootonly release target not creating etc/ssh/

2017-11-09 Thread Herbert J. Skuhra
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  wheel1780 10 Nov 00:26 ssh_config
-rw-r--r--  1 root  wheel3359 10 Nov 00:26 sshd_config


Not sure if this is expected, a bug or PBKAC. :)

--
Herbert
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


bootonly release target not creating etc/ssh/

2017-11-09 Thread Roger Pau Monné
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?

I expect also trying to launch sshd inside of that install is going to
cause trouble, but I cannot verify because I cannot finish building
the image.

Thanks, Roger.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"