From 6c1f0a51c700839be1ecca52ab06ec890c13762f Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 22 Sep 2020 18:05:09 -0500 Subject: Workaround for busybox patch -N failures, files missing from backup list --- recipes-connectivity/bluez/bluez5_%.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-connectivity/bluez') 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() { -- cgit v1.2.3