diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 1ca70934..306d6e77 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -136,7 +136,7 @@ def updateKConfig(): # variables. # Grr ugly but no solution. - shelltools.system('yes "" | make silentoldconfig') + shelltools.system('yes "" | make oldconfig') ################################### @@ -159,7 +159,7 @@ def build(debugSymbols=False): autotools.make("%s" % " ".join(extra_config)) -def install(): +def install(installFirmwares=True): suffix = __getSuffix() # Check if loadable module support is available or not before doing module specific tasks @@ -180,6 +180,10 @@ def install(): # Install kernel image pisitools.insinto("/boot/", "arch/x86/boot/bzImage", "kernel-%s" % suffix) + if not installFirmwares: + # For use with PAE e.g. + shelltools.system("rm -rf %s/lib/firmware" % get.installDIR()) + def installHeaders(extra=[]): """ Install the files needed to build out-of-tree kernel modules. """