mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
deb-pkg: Delete the folder name of acrn-hypervisor in the configuration file
When cloning the ACRN source code to a folder, which is not named "acrn-hypervisor", the debian package created by the "make" call does not contain all needed files. Because the file ".deb.conf" contains hardcoded folder names which contain the folder name "acrn-hypervisor". Tracked-On: #7022 Signed-off-by: Hu Fenglin <fenglin.hu@intel.com>
This commit is contained in:
@@ -92,7 +92,7 @@ def create_acrn_deb(board, scenario, version, build_dir):
|
||||
target = deb_info[i]['target']
|
||||
if target == 'boot/':
|
||||
continue
|
||||
source = cur_dir + '/../' + source
|
||||
source = cur_dir + source
|
||||
target = deb_dir + target
|
||||
if os.path.exists(target):
|
||||
run_command('cp %s %s' % (source, target), cur_dir)
|
||||
|
Reference in New Issue
Block a user