From patchwork Thu Jan 24 08:16:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [11/12] nfs-utils: inherit volatiles to support read-only rootfs Date: Thu, 24 Jan 2013 08:16:51 -0000 From: Qi.Chen@windriver.com X-Patchwork-Id: 43265 Message-Id: To: Cc: Zhenfeng.Zhao@windriver.com From: Chen Qi Inherit volatiles.bbclass to support read-only rootfs. [YOCTO #3406] Signed-off-by: Chen Qi --- .../nfs-utils/nfs-utils_1.2.3.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb index 84b8e76..55208d5 100644 --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb @@ -12,7 +12,7 @@ DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers" RDEPENDS_${PN} = "rpcbind" RRECOMMENDS_${PN} = "kernel-module-nfsd" -PR = "r5" +PR = "r6" SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \ file://nfs-utils-1.0.6-uclibc.patch \ @@ -34,7 +34,10 @@ INITSCRIPT_NAME = "nfsserver" # in the shutdown levels, but that works fine. INITSCRIPT_PARAMS = "defaults" -inherit autotools update-rc.d +inherit autotools update-rc.d volatiles + +VOLATILE_DIR = "/var/volatile/lib/nfs" +VOLATILE_LINK = "/var/lib/nfs" # --enable-uuid is need for cross-compiling EXTRA_OECONF = "--with-statduser=nobody \