From cd4486e1d9357bbd69c81b1e19cb7e7770a42eee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Thu, 24 Dec 2009 19:36:36 +0000 Subject: [PATCH] Add possibility to clean-up firmwares --- pisi/actionsapi/kerneltools.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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. """