diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/formfactor/formfactor_0.0.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/packages/formfactor/formfactor_0.0.bb b/meta/packages/formfactor/formfactor_0.0.bb index 2daef0a41..ddbb6e499 100644 --- a/meta/packages/formfactor/formfactor_0.0.bb +++ b/meta/packages/formfactor/formfactor_0.0.bb @@ -1,6 +1,6 @@ DESCRIPTION = "Device formfactor information" SECTION = "base" -PR = "r7" +PR = "r8" SRC_URI = "file://config file://machconfig" S = "${WORKDIR}" @@ -14,4 +14,11 @@ do_install() { if [ -s "${S}/machconfig" ]; then install -m 0644 ${S}/machconfig ${D}${sysconfdir}/formfactor/ fi + + install -d ${D}${sysconfdir}/gtk-2.0/ + . ${S}/machconfig + + if [ "$HAVE_TOUCHSCREEN" = "1" ]; then + echo "gtk-touchscreen-mode = 1" > ${D}${sysconfdir}/gtk-2.0/gtkrc + fi } |