diff options
author | John Klug <john.klug@multitech.com> | 2020-09-22 18:05:09 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-09-24 09:44:04 -0500 |
commit | 6c1f0a51c700839be1ecca52ab06ec890c13762f (patch) | |
tree | a3f6b2f5dabd4cd9303cd7c64b3b9fc6d3413464 /recipes-connectivity/hostapd | |
parent | 1c30425f849d500cf47bb8208adc17454526d9c2 (diff) | |
download | meta-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_%.bbappend | 4 |
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() { |