generic-poky/meta/recipes-connectivity
Chen Qi 2b204500bd openssh: fix for read-only rootfs
If the rootfs is read-only and the ssh keys are not available at system
start-up, the init script will generate ssh keys into /etc/ssh, thus
causing a 'read-only file system' error.

In order for Yocto based image to work correctly for read-only rootfs,
we use the following logic for openssh.

If the rootfs is read-only and there are pre-generated keys under /etc/ssh,
we use the pre-generated keys. Note the pre-generated keys are mainly for
debugging or development purpose.
If the rootfs is read-only and there are no pre-generated keys under
/etc/ssh, we use /var/run/ssh as the location for ssh keys. That is, at
system boot-up, the generated ssh keys will put into /var/run/ssh.

[YOCTO #4887]

(From OE-Core rev: 2ed44745024f04aa4e00ddba3009153c6b47c8e9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-16 11:14:36 +01:00
..
avahi avahi: Remove unnecessary runtime dependency on sysvinit-pidof 2013-08-03 10:33:03 +01:00
bind bind: backport six CVE patches 2013-06-17 16:45:36 +01:00
bluez bluez4: conflicts with bluez5 2013-07-18 21:24:27 +01:00
bluez5 bluez5: Add obex-profiles as a PACKAGECONFIG, package obexd separately 2013-08-03 10:33:04 +01:00
connman connman: upgrade to v1.16 2013-07-29 13:08:59 +01:00
dhcp dhcp: drop noattrmode.patch 2013-06-17 16:45:35 +01:00
iproute2 iproute2: upgrade to v3.10.0 2013-07-31 06:59:56 +01:00
irda-utils irda-utils: fix for read-only rootfs 2013-08-16 11:14:36 +01:00
libnss-mdns libnss-mdns:fix support prerm at image creation time 2013-01-18 13:28:08 +00:00
libpcap libpcap: upgrade to 1.4.0 2013-06-07 16:48:29 +01:00
mobile-broadband-provider-info mobile-broadband-provider-info: Upgrade to v20120614 2013-03-18 13:18:22 +00:00
neard neard: Split recipe to two parts 2013-05-12 09:37:28 +01:00
nfs-utils nfs-utils: Replace spaces with tabs in shell function 2013-08-16 11:14:31 +01:00
ofono ofono: Enable test scripts by default 2013-08-03 10:33:14 +01:00
openssh openssh: fix for read-only rootfs 2013-08-16 11:14:36 +01:00
openssl openssl: Fix multilib header conflict - opensslconf.h 2013-07-31 06:59:54 +01:00
portmap portmap: obey 'tcp-wrappers' PACKAGECONFIG 2013-05-31 08:06:56 +01:00
ppp PPP: add default configuration file and fix hard-coded CFLAGS 2013-06-11 15:38:01 +01:00
ppp-dialin ppp-dialin: use useradd.bbclass instead of hardcoded adduser/deluser calls 2011-11-30 15:38:30 +00:00
resolvconf resolvconf: upgrade to 1.74 2013-08-03 10:33:11 +01:00
socat socat: add PACKAGECONFIG for tcp-wrappers 2013-07-29 13:09:10 +01:00
telepathy telepathy-glib: upgrade to v0.20.4 2013-08-06 12:39:58 +01:00
wireless-tools wireless-tools: Remove QA warning: No GNU_HASH in the elf binary 2012-12-26 11:34:06 +00:00
wpa-supplicant wpa-supplicant: enable required configuration options for connman 2013-07-29 13:09:13 +01:00