mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-28 03:41:29 +00:00
If the root partition is bind mounted with / and another, the current postinst script (using command lsblk) will fail to find the partition: $type will be "/" only and cause the following command may find the wrong partition. Ubuntu 22.04 desktop with firefox snap by default: ``` > lsblk nvme0n1 259:19 0 931.5G 0 disk ├─nvme0n1p1 259:20 0 243M 0 part /boot/efi ├─nvme0n1p2 259:21 0 927.5G 0 part /var/snap/firefox/common/host-hunspell │ / ``` And current command forces the root partition to be ext4. This patch fixes the two issues. Tracked-On: #8532 Signed-off-by: Xin Zhang <xin.x.zhang@intel.com> |
||
---|---|---|
.. | ||
50-acrn.netdev | ||
50-acrn.network | ||
50-eth.network | ||
50-tap0.netdev | ||
100_ACRN | ||
acrn-board-inspector.postinst | ||
acrn-board-inspector.prerm | ||
acrn-hypervisor.postinst | ||
acrn-kernel.postinst | ||
compile_iasl.py | ||
deb.json | ||
gen_acrn_deb.py | ||
README.rst | ||
release.json |
.. _debian_packaging: ACRN Installation via Debian Packages ##################################### Debian packages provide a simple way to package ACRN configurations on a development computer. You can then copy the packages onto your target system, install the packages, and reboot the system with ACRN and an Ubuntu Service VM up and running. ACRN does not distribute pre-built Debian packages for the hypervisor or kernel because ACRN and the kernel are configured based on your specific hardware and scenario configurations, as described in the :ref:`overview_dev`. Instead after configuring ACRN to your needs, Debian packages are created when you build your ACRN hypervisor and ACRN kernel via ``Makefile`` commands. All the configuration files and scripts used by the Makefile to build the Debian packages are in the ``misc/packaging`` folder. The ``gen_acrn_deb.py`` script does all the work to build the Debian packages so you can copy and install them on your target system. For build and installation steps, see :ref:`gsg_build` in the Getting Started Guide.