diff options
Diffstat (limited to 'meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb')
-rw-r--r-- | meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb index 10fd5b42c5..2d34754281 100644 --- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb +++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb | |||
@@ -16,7 +16,9 @@ PR = "r29" | |||
16 | # based on the machine architecture. | 16 | # based on the machine architecture. |
17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
18 | 18 | ||
19 | SRC_URI = "file://session" | 19 | SRC_URI = "file://session \ |
20 | file://matchbox-session-sato.schemas \ | ||
21 | " | ||
20 | S = "${WORKDIR}" | 22 | S = "${WORKDIR}" |
21 | 23 | ||
22 | do_install() { | 24 | do_install() { |
@@ -34,18 +36,9 @@ do_install() { | |||
34 | install -d ${D}/${sysconfdir}/matchbox | 36 | install -d ${D}/${sysconfdir}/matchbox |
35 | sed -f "$SCRIPT" ${S}/session > ${D}/${sysconfdir}/matchbox/session | 37 | sed -f "$SCRIPT" ${S}/session > ${D}/${sysconfdir}/matchbox/session |
36 | chmod +x ${D}/${sysconfdir}/matchbox/session | 38 | chmod +x ${D}/${sysconfdir}/matchbox/session |
37 | } | ||
38 | |||
39 | pkg_postinst_${PN} () { | ||
40 | #!/bin/sh -e | ||
41 | if [ "x$D" != "x" ]; then | ||
42 | exit 1 | ||
43 | fi | ||
44 | 39 | ||
45 | . ${sysconfdir}/init.d/functions | 40 | install -d ${D}/${sysconfdir}/gconf/schemas |
46 | 41 | install -m 664 ${S}/matchbox-session-sato.schemas ${D}/${sysconfdir}/gconf/schemas | |
47 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Sato | ||
48 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Sato | ||
49 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/touchscreen true | ||
50 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 9" | ||
51 | } | 42 | } |
43 | |||
44 | inherit gconf | ||