summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd/hostapd_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/hostapd/hostapd_%.bbappend')
-rw-r--r--recipes-connectivity/hostapd/hostapd_%.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-connectivity/hostapd/hostapd_%.bbappend b/recipes-connectivity/hostapd/hostapd_%.bbappend
index 3c69a72..2686fa3 100644
--- a/recipes-connectivity/hostapd/hostapd_%.bbappend
+++ b/recipes-connectivity/hostapd/hostapd_%.bbappend
@@ -53,7 +53,9 @@ FILES_${PN}-cfg = "/etc/init.d/hostapd /etc/default/hostapd /etc/hostapd.conf"
pkg_postinst_${PN}-extra() {
cd /$D
- patch -Np1 < $D/usr/share/hostapd/WiFi-SSID.patch
+ if patch --dry-run -p1 < $D/usr/share/hostapd/WiFi-SSID.patch ; then
+ patch -p1 < $D/usr/share/hostapd/WiFi-SSID.patch
+ fi
}
pkg_prerm_${PN}-extra() {