diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-20 17:55:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 00:29:30 +0100 |
commit | 74695278555a35e2145a65f2e372edb70b380c20 (patch) | |
tree | d8f9bae7d5b60eecafb44b81fb427d09044a0102 /scripts/poky-export-rootfs | |
parent | 0441fe20e77907237a04e42a06991f3163daabb3 (diff) | |
download | poky-74695278555a35e2145a65f2e372edb70b380c20.tar.gz |
POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOT
(From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/poky-export-rootfs')
-rwxr-xr-x | scripts/poky-export-rootfs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/poky-export-rootfs b/scripts/poky-export-rootfs index 3ab0597c9a..764d19a823 100755 --- a/scripts/poky-export-rootfs +++ b/scripts/poky-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 "$POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then | 49 | if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd" ]; then |
50 | echo "Error: Unable to find rpc.mountd binary in $POKY_NATIVE_SYSROOT/usr/sbin/" | 50 | echo "Error: Unable to find rpc.mountd binary in $OECORE_NATIVE_SYSROOT/usr/sbin/" |
51 | 51 | ||
52 | if [ "x$POKY_DISTRO_VERSION" = "x" ]; then | 52 | if [ "x$POKY_DISTRO_VERSION" = "x" ]; then |
53 | echo "Have you run 'bitbake meta-ide-support'?" | 53 | echo "Have you run 'bitbake meta-ide-support'?" |
@@ -67,7 +67,7 @@ RMTAB=~/.poky-sdk/rmtab$NFS_INSTANCE | |||
67 | NFSPID=~/.poky-sdk/nfs$NFS_INSTANCE.pid | 67 | NFSPID=~/.poky-sdk/nfs$NFS_INSTANCE.pid |
68 | MOUNTPID=~/.poky-sdk/mount$NFS_INSTANCE.pid | 68 | MOUNTPID=~/.poky-sdk/mount$NFS_INSTANCE.pid |
69 | 69 | ||
70 | PSEUDO_OPTS="-P $POKY_NATIVE_SYSROOT/usr" | 70 | PSEUDO_OPTS="-P $OECORE_NATIVE_SYSROOT/usr" |
71 | PSEUDO_LOCALSTATEDIR="$NFS_EXPORT_DIR/var/pseudo" | 71 | PSEUDO_LOCALSTATEDIR="$NFS_EXPORT_DIR/var/pseudo" |
72 | export PSEUDO_LOCALSTATEDIR | 72 | export PSEUDO_LOCALSTATEDIR |
73 | 73 | ||
@@ -99,8 +99,8 @@ fi | |||
99 | case "$1" in | 99 | case "$1" in |
100 | start) | 100 | start) |
101 | echo "Starting User Mode rpc.mountd" | 101 | echo "Starting User Mode rpc.mountd" |
102 | echo " $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS" | 102 | echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS" |
103 | $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS | 103 | $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.mountd $MOUNTD_OPTS |
104 | if [ ! $? = 0 ]; then | 104 | if [ ! $? = 0 ]; then |
105 | echo "=====================" | 105 | echo "=====================" |
106 | echo "Error starting MOUNTD" | 106 | echo "Error starting MOUNTD" |
@@ -122,8 +122,8 @@ case "$1" in | |||
122 | exit 1 | 122 | exit 1 |
123 | fi | 123 | fi |
124 | echo "Starting User Mode nfsd" | 124 | echo "Starting User Mode nfsd" |
125 | echo " $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS" | 125 | echo " $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS" |
126 | $PSEUDO $PSEUDO_OPTS $POKY_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS | 126 | $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/rpc.nfsd $NFSD_OPTS |
127 | if [ ! $? = 0 ]; then | 127 | if [ ! $? = 0 ]; then |
128 | echo "Error starting nfsd" | 128 | echo "Error starting nfsd" |
129 | exit 1 | 129 | exit 1 |