Hi all, Attached is a partial patch to modify gen-kernel. It should fix the following bugs:
http://bugs.gnewsense.org/Bugs/00212 - DeltaH - Kernel - non free licence /include/video/mach64 http://bugs.gnewsense.org/Bugs/00308 - b43 kernel module suggests installation of proprietary firmware The code to modify the b43 related bug is commented out. I got help writing the sed line, and I have NFI what it does. I'm not putting it in without understanding. If those two things can be fixed, the only other blocker for the next release is 248 (amslatex), which we are discussing in another thread. kk -- Karl Goetz, (Kamping_Kaiser / VK5FOSS) Debian contributor / gNewSense Maintainer http://www.kgoetz.id.au No, I won't join your social networking group
Index: gen-kernel =================================================================== --- gen-kernel (revision 267) +++ gen-kernel (working copy) @@ -45,6 +45,20 @@ sed -i '/CONFIG_VIDEO_CX23885/d' ./drivers/media/video/Makefile cd .. +# Stop b43 module reommending non-free software +# Help from #sed. WTF does it do - got to test this out :| +# sed ':more;$!N;s/\n/&/2;tenough;$!bmore;:enough;s|b43err(wl, "You must go to "\n"http://linuxwireless.org/en/users/Drivers/b43#devicefirmware "\n"and download the correct firmware (version 4).\\n");|See http://wiki.gnewsense.org/Documentation/Wireless for instructions on installing free firmware for this device. |;P;D' + +# Remove non-free ATI code and disable the modules +rm include/video/mach64.h drivers/video/aty/mach64_* drivers/video/aty/atyfb_base.c +clean_kconfig ./drivers/video/Kconfig 'FB_ATY' +clean_kconfig ./drivers/video/Kconfig 'FB_ATY_GX' +clean_kconfig ./drivers/video/Kconfig 'FB_ATY_CT' +clean_kconfig ./drivers/video/Kconfig 'FB_ATY_LCD' +clean_kconfig ./drivers/video/Kconfig 'FB_ATY_GENERIC_LCD' +clean_kconfig ./drivers/video/Kconfig 'FB_ATY_BACKLIGHT' +sed -i '/(CONFIG_FB_ATY)/d' ./drivers/video/Makefile + rename 's/linux/linux-nofirmware/' linux_*.orig.tar.gz cd linux-*/
signature.asc
Description: PGP signature
_______________________________________________ gNewSense-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-dev
