From 5310465ff3e82a1f6056a54ba05285ae6a0d20c1 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Fri, 16 Aug 2013 17:11:28 +0200 Subject: wpa-supplicant: workaround missing service file --- .../wpa-supplicant/wpa-supplicant_2.0.bbappend | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'recipes-connectivity') diff --git a/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend b/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend index 05ed04d..c524db7 100644 --- a/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend +++ b/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend @@ -1,7 +1,12 @@ PRINC = "1" -# workaround, other packages provide this already +# workaround, meta-openembedded tries to install an unneeded but unavailable .service file +# so provide one during install and later on delete it again +do_install_prepend () { + install -d ${S}/systemd/ + ln -s /dev/null ${S}/systemd/dummy.service +} + do_install_append () { - # NOP - : -} \ No newline at end of file + rm -f ${D}${systemd_unitdir}/system/dummy.service +} -- cgit v1.2.3