diff options
author | John Klug <john.klug@multitech.com> | 2020-09-22 18:05:09 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-11-12 09:30:36 -0600 |
commit | 883121429553a87fd47129a04454c0e875004809 (patch) | |
tree | 7f4103f8286ee48381e327278ed5ec4f7b1811c9 /recipes-connectivity/hostapd | |
parent | 11a92afb6d3bba51a66155d4bc0bbf1fad9b33e5 (diff) | |
download | meta-mlinux-883121429553a87fd47129a04454c0e875004809.tar.gz meta-mlinux-883121429553a87fd47129a04454c0e875004809.tar.bz2 meta-mlinux-883121429553a87fd47129a04454c0e875004809.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() { |