# -p option is striplevel SRC_URI += " file://cfg80211.conf \ file://rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch;patchdir=.. \ file://rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch;patchdir=.. \ file://rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch;patchdir=.. \ file://rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch;patchdir=.. \ file://rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch;patchdir=.. \ file://rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch;patchdir=.. \ file://rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch;patchdir=.. \ " do_install() { install -d ${D}${sbindir} ${D}${sysconfdir}/init.d install -m 0644 ${S}/hostapd.conf ${D}${sysconfdir} install -m 0755 ${S}/hostapd ${D}${sbindir} install -m 0755 ${S}/hostapd_cli ${D}${sbindir} install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd install -m 644 -D ${WORKDIR}/cfg80211.conf ${D}${sysconfdir}/modprobe.d/cfg80211.conf }