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:
Hu Fenglin
2022-01-11 22:40:00 +08:00
committed by acrnsi-robot
parent c83c49ae36
commit 26d9dd946c
2 changed files with 35 additions and 35 deletions

View File

@@ -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)