summaryrefslogtreecommitdiff
path: root/recipes-connectivity/hostapd
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-09-22 18:05:09 -0500
committerJohn Klug <john.klug@multitech.com>2020-09-24 09:44:04 -0500
commit6c1f0a51c700839be1ecca52ab06ec890c13762f (patch)
treea3f6b2f5dabd4cd9303cd7c64b3b9fc6d3413464 /recipes-connectivity/hostapd
parent1c30425f849d500cf47bb8208adc17454526d9c2 (diff)
downloadmeta-mlinux-6c1f0a51c700839be1ecca52ab06ec890c13762f.tar.gz
meta-mlinux-6c1f0a51c700839be1ecca52ab06ec890c13762f.tar.bz2
meta-mlinux-6c1f0a51c700839be1ecca52ab06ec890c13762f.zip
Workaround for busybox patch -N failures, files missing from backup list
Diffstat (limited to 'recipes-connectivity/hostapd')
-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() {