eudev: restore userspace firmware loading support
PATCH v2 1/1 eudev: restore userspace firmware loading support
From: Lauren Post <[email protected]>
This sycncs eudev with systemd. This is required for old kernels to work and does same backport as did in:
,----
| commit 31163abc7bedd477c1aad10e6d1f47dbee194513 | Author: Jonathan Liu <[email protected]> | Date: Thu Mar 19 15:38:32 2015 +1100 | | systemd: restore userspace firmware loading support | | This changes the minimum required Linux version from 3.7 back to 3.0. | | [YOCTO #7409] | | Signed-off-by: Jonathan Liu <[email protected]> | Signed-off-by: Richard Purdie <[email protected]>
`----
---
Changes in v2:
- Fix inner patches headers
...evert-rules-remove-firmware-loading-rules.patch | 28 ++ ...-remove-userspace-firmware-loading-suppor.patch | 364 +++++++++++++++++++++ meta/recipes-core/udev/eudev_3.2.1.bb | 2 + 3 files changed, 394 insertions(+) create mode 100644 meta/recipes-core/udev/eudev/0014-Revert-rules-remove-firmware-loading-rules.patch create mode 100644 meta/recipes-core/udev/eudev/Revert-udev-remove-userspace-firmware-loading-suppor.patch
meta/recipes-core/udev/eudev/0014-Revert-rules-remove-firmware-loading-rules.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 4f0a722489154da99e7f6b3051afde984eed2f74 Mon Sep 17 00:00:00 2001 +From: Jonathan Liu <[email protected]> +Date: Thu, 19 Mar 2015 15:01:29 +1100 +Subject: [PATCH] Revert "rules: remove firmware loading rules" + +This reverts commit 70e7d754ddb356fb1a2942b262f8cee9650e2a19. +Userspace firmware loading support is needed for Linux < 3.7. + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Jonathan Liu <[email protected]> +--- + rules/50-firmware.rules | 3 +++ + 1 file changed, 3 insertions(+) + create mode 100644 rules/50-firmware.rules + +diff --git a/rules/50-firmware.rules b/rules/50-firmware.rules +new file mode 100644 +index 0000000..f0ae684 +--- /dev/null ++++ b/rules/50-firmware.rules +@@ -0,0 +1,3 @@ ++# do not edit this file, it will be overwritten on update ++ ++SUBSYSTEM=="firmware", ACTION=="add", RUN{builtin}="firmware" +-- +2.3.3 +
meta/recipes-core/udev/eudev/Revert-udev-remove-userspace-firmware-loading-suppor.patch new file +364 -0
364 lines not on this page · raw message
meta/recipes-core/udev/eudev_3.2.1.bb +2 -0
@@ -8,6 +8,8 @@ DEPENDS = "glib-2.0 glib-2.0-native gperf-native kmod libxslt-native util-linux" PROVIDES = "udev" SRC_URI = "https://github.com/gentoo/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ + file://0014-Revert-rules-remove-firmware-loading-rules.patch \ + file://Revert-udev-remove-userspace-firmware-loading-suppor.patch \ file://devfs-udev.rules \ file://init \ file://links.conf \
Signature · 1 line
2.12.1
Hi Otavio,
Quoted 18 lines · Otavio Salvador
From: Lauren Post <[email protected]>
This sycncs eudev with systemd. This is required for old kernels to work and does same backport as did in:
,----
| commit 31163abc7bedd477c1aad10e6d1f47dbee194513 | Author: Jonathan Liu <[email protected]> | Date: Thu Mar 19 15:38:32 2015 +1100 | | systemd: restore userspace firmware loading support | | This changes the minimum required Linux version from 3.7 back to 3.0. | | [YOCTO #7409] | | Signed-off-by: Jonathan Liu <[email protected]> | Signed-off-by: Richard Purdie <[email protected]>
Quoted 5 lines
`----
Signed-off-by Lauren Post <[email protected]>Signed-off-by Otavio Salvador <[email protected]>
It may be a good idea to submit a pull request at
https://github.com/gentoo/eudev/ to upstream this into eudev as Gentoo users have also experienced this issue in the past -
https://forums.gentoo.org/viewtopic-t-1011456.html. One of the goals of the eudev fork is obtaining better compatibility with older kernels.
Regards,
Jonathan
On Mon, Mar 27, 2017 at 8:16 PM, Jonathan Liu <[email protected]> wrote:
...
Quoted 5 lines
It may be a good idea to submit a pull request at
https://github.com/gentoo/eudev/ to upstream this into eudev as Gentoo users have also experienced this issue in the past -
https://forums.gentoo.org/viewtopic-t-1011456.html. One of the goals of the eudev fork is obtaining better compatibility with older kernels.
This is something so simple; why it has not been reverted yet in upstream. I am afraid they prefer to have this off.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750