Summary: | >=sys-apps/hwids-20150417 please add compatibility keyboard mapping for older udev | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Stakenvicius (RETIRED) <axs> |
Component: | [OLD] Unspecified | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | systemd, udev-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 555210 | ||
Attachments: | Ebuild with codeblock pasted above included. |
Description
Ian Stakenvicius (RETIRED)
2015-07-17 16:45:05 UTC
Created attachment 407018 [details]
Ebuild with codeblock pasted above included.
I guess this is the commit which causes the issue: https://github.com/systemd/systemd/commit/51c0c2869845a058268d54c3111d55d0dd485704 I think your sed could be reduced to this: sed -e "s/^evdev:/keyboard:/" udev/60-keyboard.rules > udev/61-keyboard.rules Is there a case where that would not work? (In reply to Mike Gilbert from comment #2) Nevermind; I see that produces different results. (In reply to Mike Gilbert from comment #3) > (In reply to Mike Gilbert from comment #2) > > Nevermind; I see that produces different results. Yeah, the mapping is nearly the same bot not as trivial as that. The sed's take care of all the generic mappings and then map a couple of matches that are too generic back to what they used to be. +*hwids-20150421-r1 (18 Jul 2015) +*hwids-20150717-r1 (18 Jul 2015) + + 18 Jul 2015; Mike Gilbert <floppym@gentoo.org> +hwids-20150421-r1.ebuild, + +hwids-20150717-r1.ebuild, hwids-99999999.ebuild, metadata.xml: + Add workaround for mapping change in 60-keyboard.hwdb, bug 555204, patch by + axs. I added this to 20150421, and 20150717. Can you give the latter a try with an older version of [e]udev? Sorry for such a long ping timeout -- all seems fine with eudev; i don't have a sys-fs/udev system to confirm with. Since there's an eudev-1.x that will remain in the tree for certain old kernel compatibility, it would be good to keep this patch in place for a while even if there's a new enough sys-fs/udev and systemd in the stable tree that support the new format. looks like all stable versions are now ok |