parser.add_option(
'--overlay-dir',
- dest='overlay-dir',
+ dest='overlay_dir',
default=None,
metavar='OVERLAY_DIR',
help='Set the overlay-dir for make-kpkg Default: %default'
logger.error('No revision given')
exit(ERROR)
+ OVERLAY_DIR = options.overlay_dir
+
GIT_REPO_NAME = os.path.basename(GIT_REPO_PATH)
GIT_REMOTE_BRANCH_NAME = os.path.join('origin', '%s' %(GIT_BRANCH_NAME))
GIT_TARGET_WORKSPACE = os.path.join(
logger.error('Error during installation of extra kernel modules')
exit(ERROR)
- if not build_kernel(kernel_flavour, REVISION, options.overlay_dir):
+ if not build_kernel(kernel_flavour, REVISION, OVERLAY_DIR):
exit(ERROR)
else:
ftp = FTP(