aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/formfactor/files
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-03-06 23:55:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 12:18:09 -0800
commitfb2df75e1552e60c67449c06cd80accc40ea534e (patch)
treefa456d2f103b9b8676476f01d1ab03fdd2496d0f /meta/recipes-bsp/formfactor/files
parent7588a4f2e2728da0ff7a773b18527f3711b138f2 (diff)
downloadopenembedded-core-contrib-fb2df75e1552e60c67449c06cd80accc40ea534e.tar.gz
formfactor: use full path to fbset
When using rootless X, /usr/sbin is not in PATH and thus running "fbset" will fail; so specify /usr/sbin/fbset instead. Fixes [YOCTO #1986] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/formfactor/files')
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-bsp/formfactor/files/config b/meta/recipes-bsp/formfactor/files/config
index e936916b43..a3f762a0f1 100755
--- a/meta/recipes-bsp/formfactor/files/config
+++ b/meta/recipes-bsp/formfactor/files/config
@@ -29,15 +29,15 @@ if [ -z "$DISPLAY_ORIENTATION" ]; then
fi
if [ -z "$DISPLAY_WIDTH_PIXELS" ]; then
- DISPLAY_WIDTH_PIXELS=`fbset | grep geometry | awk '{ print $2 }'`
+ DISPLAY_WIDTH_PIXELS=`/usr/sbin/fbset | grep geometry | awk '{ print $2 }'`
fi
if [ -z "$DISPLAY_HEIGHT_PIXELS" ]; then
- DISPLAY_HEIGHT_PIXELS=`fbset | grep geometry | awk '{ print $3 }'`
+ DISPLAY_HEIGHT_PIXELS=`/usr/sbin/fbset | grep geometry | awk '{ print $3 }'`
fi
if [ -z "$DISPLAY_BPP" ]; then
- DISPLAY_BPP=`fbset | grep geometry | awk '{ print $6 }'`
+ DISPLAY_BPP=`/usr/sbin/fbset | grep geometry | awk '{ print $6 }'`
fi
#