Lines Matching refs:kernel
36 def format_sxp(kernel, ramdisk, args): argument
37 s = 'linux (kernel %s)' % kernel
45 def format_simple(kernel, ramdisk, args, sep): argument
46 s = ('kernel %s' % kernel) + sep
203 if not opts.location and not opts.kernel and not opts.ramdisk:
243 kernel = None
244 if opts.kernel:
245 kernel = fetcher.get_file(opts.kernel)
249 kernel = fetcher.get_file(kernel_path)
256 if not kernel:
277 output = format_sxp(kernel, ramdisk, opts.args)
279 output = format_simple(kernel, ramdisk, opts.args, '\n')
281 output = format_simple(kernel, ramdisk, opts.args, '\0')