install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit 65f90bc5986c53c94f1d76aaf953f1e9f3f39be2
parent e51ec1c6538fe8e6cdb0c321e13de8c7c2f82ab1
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Thu, 12 Jan 2017 12:09:44 +0100

Fix(Linux Kernel): Wrong condition for kernel install

Diffstat:
Mpkgs/linux_p2/linux_p2.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pkgs/linux_p2/linux_p2.py b/pkgs/linux_p2/linux_p2.py @@ -56,7 +56,9 @@ class Linux_P2: return self.e(["make", "-j", self.conf_lst["cpus"]]) def install(self): - if self.conf_lst["arch"] == "x86_64" or self.conf_lst["arch"] == "x86_32": + x86_archs = ["x86_64", "x86_32", "i686", "i386"] + + if self.conf_lst["arch"] in x86_archs: self.e(["cp", "-v", "arch/x86/boot/bzImage", "/boot/vmlinuz-4.7.2-morphux"]) self.e(["cp", "-v", "System.map", "/boot/System.map-4.7.2"]) return self.e(["cp", "-v", ".config", "/boot/config-4.7.2"])