Skip to content
Browse files

uncomments

  • Loading branch information...
1 parent dd7fc20 commit e00129a3c810aa03083e42b6b670856ba3fe3a7b @mariuz committed Mar 11, 2013
Showing with 4 additions and 4 deletions.
  1. BIN functions/__init__.pyc
  2. BIN functions/functions.pyc
  3. +4 −4 kernel-compile.py
View
BIN functions/__init__.pyc
Binary file not shown.
View
BIN functions/functions.pyc
Binary file not shown.
View
8 kernel-compile.py
@@ -2,8 +2,8 @@
from subprocess import *
from os import chdir
from sh import cp,make,uname
-#call("apt-get install git-core kernel-package fakeroot build-essential ncurses5-dev python-pip wget",shell=True)
-#call("pip install feedparser",shell=True)
+call("apt-get install git-core kernel-package fakeroot build-essential ncurses5-dev python-pip wget",shell=True)
+call("pip install feedparser",shell=True)
from functions.functions import *
BUILD_DIR="/usr/src"
kernel_version=GetStableVersion()
@@ -12,8 +12,8 @@
print("compiling kernel %s\n" % kernel_version)
chdir(BUILD_DIR)
-#Popen("wget --continue http://kernel.org/pub/linux/kernel/v3.x/linux-%s.tar.bz2" % kernel_version,shell=True)
-#Popen("tar -jxf linux-%s.tar.bz2" % kernel_version,shell=True)
+Popen("wget --continue http://kernel.org/pub/linux/kernel/v3.x/linux-%s.tar.bz2" % kernel_version,shell=True)
+Popen("tar -jxf linux-%s.tar.bz2" % kernel_version,shell=True)
chdir("linux-%s" % kernel_version)
current_kernel=uname("-r").rstrip('\n')
cp("/boot/config-%s"%current_kernel,"./.config")

0 comments on commit e00129a

Please sign in to comment.
Something went wrong with that request. Please try again.