diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-02 19:21:28 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-02 19:21:28 +0100 |
commit | 5e073def1ac2d590131ba797cd56791b2dfe938e (patch) | |
tree | 30359e9e30771f70d2775fc9dd8d68a43d0c82ab /meta-oe | |
parent | 8881a6815ad7cbb116fa147a3dbb3bac2cdbeb64 (diff) | |
download | meta-openembedded-5e073def1ac2d590131ba797cd56791b2dfe938e.tar.gz |
cloud9: convert to systemd bbclass
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb index cc2454a35..4e95075f8 100644 --- a/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb +++ b/meta-oe/recipes-devtools/cloud9/cloud9_0.5.1.bb | |||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4784c3bcff601fd8f9515f52a11e7018" | |||
5 | 5 | ||
6 | DEPENDS = "libxml2 nodejs-native" | 6 | DEPENDS = "libxml2 nodejs-native" |
7 | 7 | ||
8 | PR = "r12" | 8 | PR = "r13" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ | 10 | SRC_URI = "git://github.com/ajaxorg/cloud9.git;name=cloud9ide \ |
11 | git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \ | 11 | git://github.com/ajaxorg/o3;destsuffix=o3;name=o3 \ |
@@ -112,13 +112,7 @@ FILES_${PN}-dbg += "${datadir}/cloud9/support/jsdav/support/node-o3-xml-v4/lib/o | |||
112 | FILES_${PN} += "${base_libdir}/systemd/system" | 112 | FILES_${PN} += "${base_libdir}/systemd/system" |
113 | RDEPENDS_${PN} = "nodejs gzip" | 113 | RDEPENDS_${PN} = "nodejs gzip" |
114 | 114 | ||
115 | pkg_postinst_${PN} () { | 115 | inherit systemd |
116 | # can't do this offline | ||
117 | if [ "x$D" != "x" ]; then | ||
118 | exit 1 | ||
119 | fi | ||
120 | 116 | ||
121 | if [ -e ${base_bindir}/systemctl ] ; then | 117 | SYSTEMD_PACKAGES = "${PN}" |
122 | systemctl enable cloud9.service | 118 | SYSTEMD_SERVICE_${PN} = "cloud9.service" |
123 | fi | ||
124 | } | ||