summaryrefslogtreecommitdiff
path: root/recipes-connectivity/bluez
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/bluez
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/bluez')
-rw-r--r--recipes-connectivity/bluez/bluez5_%.bbappend4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-connectivity/bluez/bluez5_%.bbappend b/recipes-connectivity/bluez/bluez5_%.bbappend
index 87cc0bf..c484558 100644
--- a/recipes-connectivity/bluez/bluez5_%.bbappend
+++ b/recipes-connectivity/bluez/bluez5_%.bbappend
@@ -74,7 +74,9 @@ INITSCRIPT_PARAMS_${PN}-rfcomm = "defaults 22 22"
INITSCRIPT_NAME_${PN}-mlinit = "bluetooth"
pkg_postinst_${PN}-bt-name() {
cd /$D
- patch -Np1 < $D/usr/share/bluez5/BT-Name.patch
+ if patch --dry-run -p1 < $D/usr/share/bluez5/BT-Name.patch ; then
+ patch -p1 < $D/usr/share/bluez5/BT-Name.patch
+ fi
}
pkg_prerm_${PN}-bt-name() {