projectacrn / acrn-hypervisor

Project ACRN hypervisor
BSD 3-Clause "New" or "Revised" License
1.14k stars 523 forks source link

acrn-hypervisor.deb fails to install hypervisor binary when built from work folders generated by the configurator #8301

Open junjiemao1 opened 2 years ago

junjiemao1 commented 2 years ago

Describe the bug When using one or more work folders generated by the configurator to build the debian packages, the built acrn-hypervisor.deb won't put any acrn.bin under /boot after being installed, which leads to "file not found" error when booting from the ACRN menu in grub.

Platform Platform-neutral

Codebase v3.0, v3.1 and the latest mainline

Scenario Scenario-neutral (just use a work folder with a board XML and a scenario XML whose name is scenario.xml)

To Reproduce Steps to reproduce the behavior:

  1. Generate a work folder using the configurator.
  2. Build the debian package using debuild -eCONFIGDIRS=<path to work folder> -eACRN_BOARDLIST= -eACRN_SCENARIOLIST=

Expected behavior The built acrn-hypervisor.deb can install ACRN binaries under /boot properly.

junjiemao1 commented 2 years ago

[External_System_ID] ACRN-9447