From 85f4802037bee0260ee1696ee8d378c3667b1177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Tue, 27 Aug 2019 23:02:17 +0300 Subject: [PATCH] workaround patch for headers. --- pisi/actionsapi/kerneltools.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py index 1cad964a..d9014e25 100644 --- a/pisi/actionsapi/kerneltools.py +++ b/pisi/actionsapi/kerneltools.py @@ -255,6 +255,17 @@ def installLibcHeaders(excludes=None): shelltools.makedirs(headers_tmp) shelltools.makedirs(headers_dir) + ###################Workaround begins here ... + #Workaround information -- http://patches.openembedded.org/patch/33433/ + cpy_src="%s/linux-*/arch/x86/include/generated" % (get.workDIR()) + cpy_tgt="%s/arch/x86/include" % (headers_tmp) + shelltools.makedirs(cpy_tgt) + + copy_cmd ="cp -Rv %s %s " % (cpy_src, cpy_tgt) + + shelltools.system(copy_cmd) + #######################Workaround ends here ... + # make defconfig and install the headers autotools.make("%s defconfig" % make_cmd) autotools.rawInstall(make_cmd, "headers_install")