diff options
Diffstat (limited to 'recipes-connectivity/bluez')
-rw-r--r-- | recipes-connectivity/bluez/bluez5_%.bbappend | 4 |
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() { |