diff options
author | Maxin B. John <maxin.john@intel.com> | 2015-09-24 13:48:12 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-28 12:00:30 +0100 |
commit | 452237b3f58d8839fbd80d7b557cf72f846a7002 (patch) | |
tree | efc982db23456393b32d4252df005a7d09bd7dcf | |
parent | aa1253f23d031da76711004182d379ee71528a05 (diff) | |
download | poky-452237b3f58d8839fbd80d7b557cf72f846a7002.tar.gz |
runqemu-export-rootfs: update location of unfsd binary
Update the location of unfsd binary from "/usr/sbin" to "/usr/bin" in
runqemu-export-rootfs
[YOCTO #8315]
(From OE-Core rev: e56bda210e216251c04d872211081a89ac06dde6)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/runqemu-export-rootfs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs index 40ab20143f..3dee131166 100755 --- a/scripts/runqemu-export-rootfs +++ b/scripts/runqemu-export-rootfs | |||
@@ -46,8 +46,8 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then | |||
46 | fi | 46 | fi |
47 | . $SYSROOT_SETUP_SCRIPT | 47 | . $SYSROOT_SETUP_SCRIPT |
48 | 48 | ||
49 | if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/unfsd" ]; then | 49 | if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/unfsd" ]; then |
50 | echo "Error: Unable to find unfsd binary in $OECORE_NATIVE_SYSROOT/usr/sbin/" | 50 | echo "Error: Unable to find unfsd binary in $OECORE_NATIVE_SYSROOT/usr/bin/" |
51 | 51 | ||
52 | if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then | 52 | if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then |
53 | echo "Have you run 'bitbake meta-ide-support'?" | 53 | echo "Have you run 'bitbake meta-ide-support'?" |
@@ -115,8 +115,8 @@ case "$1" in | |||
115 | fi | 115 | fi |
116 | 116 | ||
117 | echo "Starting User Mode nfsd" | 117 | echo "Starting User Mode nfsd" |
118 | echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/unfsd $UNFSD_OPTS" | 118 | echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/bin/unfsd $UNFSD_OPTS" |
119 | $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/unfsd $UNFSD_OPTS | 119 | $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/bin/unfsd $UNFSD_OPTS |
120 | if [ ! $? = 0 ]; then | 120 | if [ ! $? = 0 ]; then |
121 | echo "Error starting nfsd" | 121 | echo "Error starting nfsd" |
122 | exit 1 | 122 | exit 1 |