mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
start migration to CliFunction
This commit is contained in:
@@ -49,8 +49,8 @@ Configure the kernel, but don't build it.
|
||||
nargs='*'
|
||||
)
|
||||
|
||||
def do_build(self, args):
|
||||
build_dir = self.get_build_dir(args)
|
||||
def do_main(self, **kwargs):
|
||||
build_dir = self.get_build_dir(**kwargs)
|
||||
if args.initrd or args.initramfs:
|
||||
raise Exception('just trolling, --initrd and --initramfs are broken for now')
|
||||
os.makedirs(build_dir, exist_ok=True)
|
||||
|
||||
Reference in New Issue
Block a user