summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/formfactor/files/config
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:14 -0800
commit3f6ed2c850cac41f40aa3f3fe8ae7832668c1e45 (patch)
tree6fd07a1043a3a340d2e27ab11efac155f1b3b0fa /meta/recipes-bsp/formfactor/files/config
parente189a7113ca44eb202d1da8139678ba9729286b4 (diff)
downloadpoky-3f6ed2c850cac41f40aa3f3fe8ae7832668c1e45.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] (From OE-Core rev: fb2df75e1552e60c67449c06cd80accc40ea534e) 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/config')
-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
29fi 29fi
30 30
31if [ -z "$DISPLAY_WIDTH_PIXELS" ]; then 31if [ -z "$DISPLAY_WIDTH_PIXELS" ]; then
32 DISPLAY_WIDTH_PIXELS=`fbset | grep geometry | awk '{ print $2 }'` 32 DISPLAY_WIDTH_PIXELS=`/usr/sbin/fbset | grep geometry | awk '{ print $2 }'`
33fi 33fi
34 34
35if [ -z "$DISPLAY_HEIGHT_PIXELS" ]; then 35if [ -z "$DISPLAY_HEIGHT_PIXELS" ]; then
36 DISPLAY_HEIGHT_PIXELS=`fbset | grep geometry | awk '{ print $3 }'` 36 DISPLAY_HEIGHT_PIXELS=`/usr/sbin/fbset | grep geometry | awk '{ print $3 }'`
37fi 37fi
38 38
39if [ -z "$DISPLAY_BPP" ]; then 39if [ -z "$DISPLAY_BPP" ]; then
40 DISPLAY_BPP=`fbset | grep geometry | awk '{ print $6 }'` 40 DISPLAY_BPP=`/usr/sbin/fbset | grep geometry | awk '{ print $6 }'`
41fi 41fi
42 42
43# 43#