site  contact  subhomenews

Kernel sub-version number fix

August 31, 2010 — BarryK
Mavrothal recently posted this request:

I was wondering if KERNELSUBVER in initrd.gz/init, /usr/sbin/bootmanager, /usr/sbin/filemnt and KERNMAJ in /etc/rc.d/rc.sysinit could be changed to

KERNELSUBVER=`echo -n "$KERNELVER" | cut -f 3 -d '.' | cut -f 1 -d '-' | cut -f 1 -d '_'` #v423

and

KERNMAJ=`echo -n "$KERNVER" | cut -f 3 -d '.' | cut -f 1 -d '-' | cut -f 1 -d '_'` #v431

in the next woof.
This is not changing functionality and allows OLPC kernel version to be correctly identified.


Done.

Comments

thanks
Username: mavrothal
Thank you :-) I was also wondering if Xkb is under your radar at all. Currently is a mix of XFree86 and X.org with rules coming mostly from XFree86 and dating back some time. As a result many newer machines, mostly netbooks and laptops (including the OLPC laptop) may need workarounds for full functionality. Freedesktop is much more up-to-date and actively maintained. XkB Configuration Manager may better bind to that. Even if a cut down version is included in woof-puppies, would be fairly simple to drop the relevant freedesktop files in a build and configure Xorg accordingly if the Xserver flags and options are there. Thanks again.


Tags: woof