From 764e7bcb09d60c863935b59b7dfa7a6d41433a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20=C3=87a=C4=9Flayan?= Date: Wed, 8 Apr 2009 18:55:33 +0000 Subject: [PATCH] add suffix --- pisi/actionsapi/kerneltools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 1e3d5fb9..faade3f1 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -26,12 +26,12 @@ from pisi.actionsapi.shelltools import system from pisi.actionsapi.shelltools import makedirs from pisi.actionsapi.shelltools import copytree -def installHeaders(extra=[]): +def installHeaders(suffix, extra=[]): """ Install the files needed to build out-of-tree kernel modules. """ pruned = ["include", "scripts"] wanted = ["Makefile*", "Kconfig*", "Kbuild*", "*.sh", "*.pl", "*.lds"] - destination = "%s/usr/src/linux-headers" % get.installDIR() + destination = "%s/usr/src/linux-headers-%s" % (get.installDIR(), suffix) makedirs(destination) # First create the skel