diff --git a/android-udev-rules.changes b/android-udev-rules.changes index 3317142..ce65a98 100644 --- a/android-udev-rules.changes +++ b/android-udev-rules.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 9 13:49:10 UTC 2021 - munix9@googlemail.com + +- Add fix-consider-bind-action.patch - Systemd catches up with + bind events (boo#1183058) (gh#M0Rf30/android-udev-rules#204) + ------------------------------------------------------------------- Tue Mar 2 13:21:48 UTC 2021 - munix9@googlemail.com diff --git a/android-udev-rules.spec b/android-udev-rules.spec index adb06e1..aa439c9 100644 --- a/android-udev-rules.spec +++ b/android-udev-rules.spec @@ -24,6 +24,8 @@ License: GPL-3.0-or-later Group: Hardware/Mobile URL: https://github.com/M0Rf30/android-udev-rules Source0: https://github.com/M0Rf30/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-consider-bind-action.patch boo#1183058 munix9@googlemail.com -- Systemd catches up with bind events +Patch0: fix-consider-bind-action.patch BuildRequires: sysuser-shadow BuildRequires: sysuser-tools Recommends: android-tools diff --git a/fix-consider-bind-action.patch b/fix-consider-bind-action.patch new file mode 100644 index 0000000..e14adbc --- /dev/null +++ b/fix-consider-bind-action.patch @@ -0,0 +1,11 @@ +--- a/51-android.rules ++++ b/51-android.rules +@@ -16,7 +16,7 @@ + # along with this program. If not, see . + + # Skip testing for android devices if device is not add, or usb +-ACTION!="add", GOTO="android_usb_rules_end" ++ACTION!="add", ACTION!="bind", GOTO="android_usb_rules_end" + SUBSYSTEM!="usb", GOTO="android_usb_rules_end" + + # For Android devices that enable this universal rule suggested here: