[Angstrom-devel] Spitz, event devices and and tskeys

Stanislav Brabec utx at penguin.cz
Thu May 28 13:55:53 CEST 2009


Koen Kooi wrote:

> I patched linux-rp.inc and linux.inc to remove those 2 options when the 
> distro says it's using udev >= 141. I left it up to the kernel recipe 
> maintainers to bump PR.
> 
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=40e3fb133a467addff6f63b712d3d3d680334e98

The "modernizing" of /sys breaks some ancient utilities, e. g. gpe-conf.
I'll prepare a fix.

Most other utilities work well with the new sysfs structure (the old
deprecated one was abandoned by distros several years ago).

udev dependent patching would make these fixes more complicated.
What about making default the "new" /sys layout as and fixing utilities
needed by users of kernels 2.6.10 and so.


Here is a possible problem location script. Note that packages present
in other distros and having an update in last 2 years don't need check.

#!/bin/sh
cd tmp/work

grep -rl '/sys/\(class\|devices\)' */*/install 2>/dev/null |
sed 's:^[^/]*/::;s:/.*::' |
uniq >../../sys_accesses.lst

grep -rl '/sys/\(block\|bus\|class\|dev\|devices\|firmware\|fs\|kernel\|module\|power\)' */*/*/configure* 2>/dev/null |
sed 's:^[^/]*/::;s:/.*::' |
uniq >../../sys_host_checks.lst


sys_accesses.lst:
hal-info-20090414-r0
man-pages-3.21-r1
busybox-1.13.2-r18
connman-0.19-r0
display-brightness-1.0.0-r4
gpe-conf-0.2.8-r0
gpe-login-0.95-r0
hal-0.5.12-r0
kismet-2008-05-R1-r0
libgsmd-0.1+svnr4505-r44
liboil-0.3.15-r4
minilite-0.50-r0
pcmciautils-015-r0
powertop-1.11-r1
util-linux-ng-2.15-r2
wireless-tools-29-r4
xserver-xorg-2_1.5.3-r5
klibc-1.5-r9
udev-141-r8
zaurusd-0.0+svn20090501-r20

sys_host_checks.lst:
libpcap-1.0.0-r6

-- 
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus




More information about the Angstrom-distro-devel mailing list