]> code.ossystems Code Review - openembedded-core.git/commitdiff
packagegroup-core-nfs: provide the nfs-client IMAGE_FEATURES
authorRoy Li <rongqing.li@windriver.com>
Tue, 8 Sep 2015 09:33:02 +0000 (17:33 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 21:47:07 +0000 (22:47 +0100)
provide the nfs-client IMAGE_FEATURES, to ease a user to only
install nfs client related files to image

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/core-image.bbclass
meta/recipes-core/glibc/glibc-testing.inc
meta/recipes-core/packagegroups/packagegroup-core-nfs.bb

index 501456dba7dc24348d670af61e266d0ea7190ba2..8e340d9f5c2996941943dd459c4f8708e7d0f455 100644 (file)
@@ -21,6 +21,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
 # - tools-testapps      - tools usable to make some device tests
 # - tools-sdk           - SDK (C/C++ compiler, autotools, etc.)
 # - nfs-server          - NFS server
+# - nfs-client          - NFS client
 # - ssh-server-dropbear - SSH server (dropbear)
 # - ssh-server-openssh  - SSH server (openssh)
 # - qt4-pkgs            - Qt4/X11 and demo applications
@@ -42,6 +43,7 @@ FEATURE_PACKAGES_tools-profile = "packagegroup-core-tools-profile"
 FEATURE_PACKAGES_tools-testapps = "packagegroup-core-tools-testapps"
 FEATURE_PACKAGES_tools-sdk = "packagegroup-core-sdk packagegroup-core-standalone-sdk-target"
 FEATURE_PACKAGES_nfs-server = "packagegroup-core-nfs-server"
+FEATURE_PACKAGES_nfs-client = "packagegroup-core-nfs-client"
 FEATURE_PACKAGES_ssh-server-dropbear = "packagegroup-core-ssh-dropbear"
 FEATURE_PACKAGES_ssh-server-openssh = "packagegroup-core-ssh-openssh"
 FEATURE_PACKAGES_qt4-pkgs = "packagegroup-core-qt-demoapps"
index fd1af3992277cd3e0452bd61efddb63e41b5d8c8..a9bbf37a1768710acf88fb4ab973d7e3ac798f5a 100644 (file)
@@ -54,7 +54,7 @@ then
        echo "1. You dont have passwordless ssh setup to access \$target"
        echo "2. NFS share on \$target is not mounted or if mounted then not matching the build tree layout."
        echo "   The tree should be accessible at same location on build host and target"
-       echo "   You can add nfs-server to IMAGE_FEATURES to get the nfs client on target"
+       echo "   You can add nfs-client to IMAGE_FEATURES to get the nfs client on target"
        echo "3. nfs server on build host is not running."
        echo "   Please make sure that you have 'no_root_squash' added in /etc/exports if you want"
        echo "   to test as root user on target (usually its recommended to create a non"
index 247a30e063bd7cf418381fdf0598329443a8dbca..1882d3ad16b2ad2f342a6fadd0ef6a23e3f50b49 100644 (file)
@@ -8,7 +8,11 @@ PR = "r2"
 
 inherit packagegroup
 
-PACKAGES = "${PN}-server"
+PROVIDES = "${PACKAGES}"
+PACKAGES = "${PN}-server ${PN}-client"
+
+SUMMARY_${PN}-client = "NFS client"
+RDEPENDS_${PN}-client = "nfs-utils-client"
 
 SUMMARY_${PN}-server = "NFS server"
 RDEPENDS_${PN}-server = "\