Skip to contentSkip to conversation

don't all core images use openssh instead of dropbear?

DISCUSSION Robert P. J. Day 2 participants 3 messages Jul 25, 2014

lore
Share & tools
lore
#0 lore raw

dev manual, ch 2, final note claims, "The core-image-sato QEMU image
has a Dropbear secure shell (SSH) server that runs with the root password disabled."

but core-image.bbclass contains the line:

IMAGE_FEATURES_REPLACES_ssh-server-openssh = "ssh-server-dropbear"

so wouldn't *all* image recipes derived from core-image replace dropbear with openssh?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 4 lines · Robert P. J. Day

IMAGE_FEATURES_REPLACES_ssh-server-openssh = "ssh-server-dropbear"

so wouldn't *all* image recipes derived from core-image replace dropbear with openssh?

That means that the image feature ssh-server-openssh replaces ssh-server-dropbear, so if both are present dropbear is removed.

Ross

#2 lore raw
Quoted 8 lines · Ross
Quoted 4 lines · Robert P. J. Day

IMAGE_FEATURES_REPLACES_ssh-server-openssh = "ssh-server-dropbear"

so wouldn't *all* image recipes derived from core-image replace dropbear with openssh?

That means that the image feature ssh-server-openssh replaces ssh-server-dropbear, so if both are present dropbear is removed.

ah, my misunderstanding, i thought it was a simple substitution, not
an override only if *both* were present.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================