Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 59518
Collapse All | Expand All

(-)config-kernel-0.3.3.orig/config_kernel/ck_actions.py (-4 / +4 lines)
Lines 108-114 Link Here
108
		warn ("points to a full kernel tree")
108
		warn ("points to a full kernel tree")
109
		sys.exit(2)
109
		sys.exit(2)
110
110
111
	info("Backing up original makefile to /usr/src/linux/Makefile.orig")
111
	info("Backing up original Makefile to /usr/src/linux/Makefile.orig")
112
	copy("/usr/src/linux/Makefile","/usr/src/linux/Makefile.orig")
112
	copy("/usr/src/linux/Makefile","/usr/src/linux/Makefile.orig")
113
113
114
	# Inform them what's going on
114
	# Inform them what's going on
Lines 214-220 Link Here
214
		config = ""
214
		config = ""
215
		configtemp = ""
215
		configtemp = ""
216
	
216
	
217
	info("Running 'make mrproper to clean your kernel tree (This make take a while)")
217
	info("Running 'make mrproper' to clean your kernel tree (This may take a while)")
218
	os.chdir(path)
218
	os.chdir(path)
219
	tochild, fromchild, childerror = os.popen3("make mrproper")
219
	tochild, fromchild, childerror = os.popen3("make mrproper")
220
	error = childerror.readlines()
220
	error = childerror.readlines()
Lines 237-243 Link Here
237
237
238
	os.mkdir(outputpath)
238
	os.mkdir(outputpath)
239
	if config:
239
	if config:
240
		info("Copying your .config into " + outputpath)
240
		info("Copying your .config to " + outputpath)
241
		copy(os.path.join(gettempdir(), ".config"),outputpath)
241
		copy(os.path.join(gettempdir(), ".config"),outputpath)
242
		
242
		
243
def makekoutputCheck(path):
243
def makekoutputCheck(path):
Lines 278-284 Link Here
278
	if kv:
278
	if kv:
279
		outputdir = os.path.join(outputdir, kv)
279
		outputdir = os.path.join(outputdir, kv)
280
	else:
280
	else:
281
		warn ("Unable to determine the kernel version fount at " + path) 
281
		warn ("Unable to determine the kernel version found at " + path) 
282
		sys.exit(2)
282
		sys.exit(2)
283
	
283
	
284
	if os.path.isdir(outputdir):
284
	if os.path.isdir(outputdir):

Return to bug 59518