'%s' %(BUILD_ARCH), '--rootcmd', 'fakeroot',
'--append-to-version', '-%s' %(flavour),
'--initrd', '--arch_in_name',
- '--overlay-dir' % overlay_dir,
+ '--overlay-dir' % (overlay_dir),
]
# add targets
cmd += [ 'kernel_debug', 'kernel_image', 'kernel_source', 'modules' ]
logger.error('No revision given')
exit(ERROR)
- OVERLAY_DIR = options.overlay_dir
+ OVERLAY_DIR = options.overlay_dir or '/usr/share/kernel-package'
GIT_REPO_NAME = os.path.basename(GIT_REPO_PATH)
GIT_REMOTE_BRANCH_NAME = os.path.join('origin', '%s' %(GIT_BRANCH_NAME))