From: Blaisorblade <bla...@ya...> - 2005-02-23 16:38:59
|
On Wednesday 23 February 2005 16:58, Guy Richard Heatley wrote: > Hello, > Is there a way to use Debian's "make-kpkg" to build a SKAS patched > kernel? > I have installed the SKAS patch package. > > I have tried this but my problem is this: I run make menuconfig > *before* the patch is applied so I don't get to enable proc/mm from the > menu options. After this I run "make-kpkg --added_patches skas ... > kernel-image" which obviously applies the patch, after the > configuration. > > Do I need to edit the .config file manually and add > "CONFIG_PROC_MM=yes" before the make-kpkg stage? Well, that could work... but cannot you tell make-kpkg which .config to use? Also, simply changing the .config is not enough (adding a "touch .config" should do the trick). At least, on 2.6 I had some problems hand-editing it, maybe in unusual cases. > I would have thought > that the action of applying this patch would auto-enable this setting?! My latest 2.4 patch does not use CONFIG_PROC_MM, but evidently the skas package contains an older one. I don't know if it's even a buggy, old version. However, the default value is anyway y, I think. > The resulting kernel is working but does not seem to implement the SKAS > patch. Hmm, IIRC the kernel did not compile with SKAS turned off, but maybe it was fixed in the patch you have... -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade |