diff --git a/system/base/eudev/files/eudev-git.patch b/system/base/eudev/files/eudev-git.patch new file mode 100644 index 00000000..da887fa2 --- /dev/null +++ b/system/base/eudev/files/eudev-git.patch @@ -0,0 +1,39 @@ +diff -Nuar a/rules/60-persistent-storage-mtd.rules b/rules/60-persistent-storage-mtd.rules +--- a/rules/60-persistent-storage-mtd.rules 1970-01-01 02:00:00.000000000 +0200 ++++ b/rules/60-persistent-storage-mtd.rules 2023-11-23 11:57:49.919787625 +0300 +@@ -0,0 +1,12 @@ ++# do not edit this file, it will be overwritten on update ++ ++# persistent storage links: /dev/mtd/by-name ++ ++ACTION=="remove", GOTO="persistent_storage_mtd_end" ++SUBSYSTEM!="mtd", GOTO="persistent_storage_mtd_end" ++KERNEL!="mtd[0-9]*", GOTO="persistent_storage_mtd_end" ++KERNEL=="mtd[0-9]*ro", GOTO="persistent_storage_mtd_end" ++ ++ATTR{name}=="?*", SYMLINK+="mtd/by-name/$attr{name}" ++ ++LABEL="persistent_storage_mtd_end" +diff -Nuar a/rules/Makefile.am b/rules/Makefile.am +--- a/rules/Makefile.am 2023-10-05 20:20:45.000000000 +0300 ++++ b/rules/Makefile.am 2023-11-23 11:58:24.830351183 +0300 +@@ -17,6 +17,7 @@ + 60-input-id.rules \ + 60-persistent-alsa.rules \ + 60-persistent-input.rules \ ++ 60-persistent-storage-mtd.rules \ + 60-persistent-storage-tape.rules \ + 60-persistent-v4l.rules \ + 60-sensor.rules \ +diff -Nuar a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c +--- a/src/libudev/libudev-device.c 2023-10-05 20:20:45.000000000 +0300 ++++ b/src/libudev/libudev-device.c 2023-11-23 11:56:14.162984749 +0300 +@@ -533,7 +533,7 @@ + } + } + } else if (startswith(property, "USEC_INITIALIZED=")) { +- udev_device_set_usec_initialized(udev_device, strtoull(&property[19], NULL, 10)); ++ udev_device_set_usec_initialized(udev_device, strtoull(&property[17], NULL, 10)); + } else if (startswith(property, "DRIVER=")) { + udev_device_set_driver(udev_device, &property[7]); + } else if (startswith(property, "ACTION=")) { diff --git a/system/base/eudev/pspec.xml b/system/base/eudev/pspec.xml index 8657b9c9..a86157e3 100644 --- a/system/base/eudev/pspec.xml +++ b/system/base/eudev/pspec.xml @@ -26,9 +26,9 @@ gperf intltool - + + eudev-git.patch + @@ -92,6 +92,13 @@ + + 2023-11-23 + 3.2.14 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2023-10-10 3.2.14