summaryrefslogtreecommitdiff
path: root/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
blob: 873e18c15d4b791abf717d77f7968419fe716799 (plain)
1
2
3
4
5
6
7
8
9
10
# 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 () {
    rm -f ${D}${systemd_unitdir}/system/dummy.service
}