diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-04 14:19:26 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-05 14:38:06 +0100 |
| commit | 8c8a5765650e08a74cbe238a3571592d9bc2c2a3 (patch) | |
| tree | 039fee03caa7cb8e7dec7b6dda0571f3729aeaac /meta-systemd | |
| parent | d6a9923be4623aa3ba8b7fcc3806fec1295735c9 (diff) | |
| download | meta-openembedded-8c8a5765650e08a74cbe238a3571592d9bc2c2a3.tar.gz | |
meta-systemd: restore wpa-supplicant bbappend
* systemd support in oe-core does not work for everybody
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd')
| -rw-r--r-- | meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend new file mode 100644 index 0000000000..609a1f34dc --- /dev/null +++ b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | PRINC := "${@int(PRINC) + 2}" | ||
| 2 | |||
| 3 | inherit systemd | ||
| 4 | |||
| 5 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
| 6 | SYSTEMD_SERVICE = "wpa_supplicant.service" | ||
| 7 | SYSTEMD_AUTO_ENABLE = "disable" | ||
| 8 | |||
| 9 | do_install_append () { | ||
| 10 | install -d ${D}${systemd_unitdir}/system | ||
| 11 | install -m 644 ${S}/systemd/*.service ${D}${systemd_unitdir}/system | ||
| 12 | } | ||
| 13 | |||
| 14 | # systemd.bbclass does not catch all multiple-instance-service-files | ||
| 15 | FILES_${PN}-systemd += "${systemd_unitdir}/system/" | ||
