wok-current view udev/stuff/udev-events-android.patch @ rev 25786

Bump gvfs to fix issue with open files on android device, patch udev to fix mtp issue on pcmanfm
author Stanislas Leduc <shann@slitaz.org>
date Tue Jul 29 18:05:13 2025 +0000 (2 months ago)
parents
children
line source
1 diff -u udev/source/udev-182/src/udev-event.c.orig udev/source/udev-182/src/udev-event.
2 c
3 --- a/src/udev-event.c
4 +++ b/src/udev-event.c
5 @@ -883,6 +883,11 @@
6 if (udev_device_get_subsystem(dev) == NULL)
7 return -1;
9 + if (strcmp(udev_device_get_action(dev), "bind") == 0 || strcmp(udev_device_get_action(dev), "unbind") == 0) {
10 + // Ignore bind/unbind events
11 + return 0;
12 + }
13 +
14 if (strcmp(udev_device_get_action(dev), "remove") == 0) {
15 udev_device_read_db(dev, NULL);
16 udev_device_delete_db(dev);