summaryrefslogtreecommitdiffstats
path: root/meta
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
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')
-rwxr-xr-xmeta/recipes-bsp/formfactor/files/config6
-rw-r--r--meta/recipes-bsp/formfactor/formfactor_0.0.bb2
2 files changed, 4 insertions, 4 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#
diff --git a/meta/recipes-bsp/formfactor/formfactor_0.0.bb b/meta/recipes-bsp/formfactor/formfactor_0.0.bb
index abf20e089e..31b4490d15 100644
--- a/meta/recipes-bsp/formfactor/formfactor_0.0.bb
+++ b/meta/recipes-bsp/formfactor/formfactor_0.0.bb
@@ -3,7 +3,7 @@ SECTION = "base"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 4LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 5 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6PR = "r19" 6PR = "r20"
7 7
8SRC_URI = "file://config file://machconfig" 8SRC_URI = "file://config file://machconfig"
9S = "${WORKDIR}" 9S = "${WORKDIR}"