From patchwork Thu Jan 24 08:16:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [10/12] dropbear: inherit volatiles to support read-only rootfs Date: Thu, 24 Jan 2013 08:16:50 -0000 From: Qi.Chen@windriver.com X-Patchwork-Id: 43269 Message-Id: <51b47719df22862467f093b23558f946928de757.1359014474.git.Qi.Chen@windriver.com> To: Cc: Zhenfeng.Zhao@windriver.com From: Chen Qi Inherit volatiles.bbclass to support read-only rootfs. [YOCTO #3406] Signed-off-by: Chen Qi --- meta/recipes-core/dropbear/dropbear.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/dropbear/dropbear.inc b/meta/recipes-core/dropbear/dropbear.inc index 3a39c95..efc685c 100644 --- a/meta/recipes-core/dropbear/dropbear.inc +++ b/meta/recipes-core/dropbear/dropbear.inc @@ -2,7 +2,7 @@ DESCRIPTION = "Dropbear is a lightweight SSH and SCP implementation" HOMEPAGE = "http://matt.ucc.asn.au/dropbear/dropbear.html" SECTION = "console/network" -INC_PR = "r2" +INC_PR = "r3" # some files are from other projects and have others license terms: # public domain, OpenSSH 3.5p1, OpenSSH3.6.1p2, PuTTY @@ -26,11 +26,14 @@ PAM_SRC_URI = "file://dropbear-enable-pam.patch \ file://dropbear-configuration-file.patch \ file://dropbear" -inherit autotools update-rc.d +inherit autotools update-rc.d volatiles INITSCRIPT_NAME = "dropbear" INITSCRIPT_PARAMS = "defaults 10" +VOLATILE_DIR = "/var/volatile/lib/dropbear" +VOLATILE_LINK = "/var/lib/dropbear" + CFLAGS_prepend = " -I. " LD = "${CC}"