diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-12-18 14:06:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-19 17:55:02 +0000 |
commit | ccc394e7c6d3405b87fe862e50485f548b735da3 (patch) | |
tree | d37a9da05c5464beb33917856bbbafa3f059f0b6 /meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb | |
parent | bb0a66cc7ec9adaf7c9d175656bca2976e41f7e5 (diff) | |
download | poky-ccc394e7c6d3405b87fe862e50485f548b735da3.tar.gz |
matchbox-session-sato: use a proper schema file
Also, inheriting gconf.bbclass will allow for the schema registration to
be done at do_rootfs time.
[YOCTO #3603]
(From OE-Core rev: a19592b684d482a7c011495f1c761f38c316319a)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | ||