[OE-core] [PATCH v2 2/2] classes/image: improve debug-tweaks ssh server configuration

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jan 16 16:39:45 UTC 2013


On Wednesday 16 January 2013 15:51:59 Paul Eggleton wrote:
> On Wednesday 16 January 2013 08:48:05 Chris Larson wrote:
> > On Wed, Jan 16, 2013 at 8:38 AM, Paul Eggleton <
> > 
> > paul.eggleton at linux.intel.com> wrote:
> > > +
> > > +       if [ -e ${IMAGE_ROOTFS}${sbindir}/dropbear ] ; then
> > > +               echo 'DROPBEAR_EXTRA_ARGS="-B"' >
> > > ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear
> > > +       fi
> > > 
> > >  }
> > 
> > Slightly concerned with this, in the potential case where a layer provides
> > its own /etc/default/dropbear, this will blow it away entirely.
> 
> I already considered this, but interacting nicely with that situation given
> that the provided /etc/default/dropbear would likely be setting its own
> value of DROPBEAR_EXTRA_ARGS isn't going to be straightforward from a shell
> script...

Scratch that, it's not too difficult. v3 on the way.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list