Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-07-06 Thread Alexander Dahl
Hello, On Fri, Jun 30, 2017 at 02:16:07PM +0200, Michael Olbrich wrote: > On Fri, Jun 30, 2017 at 09:19:18AM +0200, Alexander Dahl wrote: > > Besides: is there any way to have this random generator stuff > > certainly ready before generating dropbear keys (rc-once)? > > I think /dev/random and

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-07-02 Thread Robert Schwebel
Hi Alexander, On Fri, Jun 30, 2017 at 09:19:18AM +0200, Alexander Dahl wrote: > tested this without systemd on top of a recent ptxdist 2017.06.0 based > BSP with the sysv init script from buildroot. Would you share your patch, on top of my v2 patch? rsc -- Pengutronix e.K.

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-07-02 Thread Robert Schwebel
On Fri, Jun 30, 2017 at 10:19:55AM +0200, Michael Olbrich wrote: > > +# > > > > +# Prepare > > +# > > > > + > > +# > > +# autoconf > > +# > >

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-06-30 Thread Michael Olbrich
On Fri, Jun 30, 2017 at 09:19:18AM +0200, Alexander Dahl wrote: > Hei hei, > > tested this without systemd on top of a recent ptxdist 2017.06.0 based > BSP with the sysv init script from buildroot. The usual 'random: crng > init done' message on the serial konsole comes a lot earlier now, so I >

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-06-30 Thread Michael Olbrich
On Thu, Jun 29, 2017 at 11:49:26PM +0200, Robert Schwebel wrote: > Add the haveged package. > > Signed-off-by: Robert Schwebel > --- > ac-fix-handling-for-enable-clock_gettime.patch | 26 > .../0002-init-fix-path-for-systemd-unit-dir.patch | 24 +++ >

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-06-30 Thread Robert Schwebel
On Fri, Jun 30, 2017 at 10:19:55AM +0200, Michael Olbrich wrote: > > + --enable-initdir=? \ > > --enable-initdir=/usr/lib/systemd/system > > otherwise pkg-config is queried and that requires a dependency on systemd. We open code this in several places now. Time for a variable?

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-06-30 Thread Michael Olbrich
On Thu, Jun 29, 2017 at 11:49:26PM +0200, Robert Schwebel wrote: > Add the haveged package. > > Signed-off-by: Robert Schwebel > --- > ac-fix-handling-for-enable-clock_gettime.patch | 26 > .../0002-init-fix-path-for-systemd-unit-dir.patch | 24 +++ >

Re: [ptxdist] [PATCH] haveged: add entropy daemon

2017-06-30 Thread Alexander Dahl
Hei hei, tested this without systemd on top of a recent ptxdist 2017.06.0 based BSP with the sysv init script from buildroot. The usual 'random: crng init done' message on the serial konsole comes a lot earlier now, so I guess it works. ;-) Besides: is there any way to have this random generator