5a01fa1a7a
The debian package created by misc/packaging today is supposed to add an entry into grub.cfg for the installed hypervisor. Unfortunately, that is done only when the given scenario XML is named shared, partitioned, hybrid or hybrid_rt. In the rest of the cases, no entry is added while the default boot option is still changed to ACRN_deb_multiboot2 which does not exist. As a short-term workaround, this patch adjusts the branching structure of the postinst script so that a grub entry is always generated. The entry for shared scenario is chosen as the default if the scenario XML has a name other than partitioned, hybrid or hybrid_rt. This is a workaround only for release 3.0. In future releases we should migrate to the dpkg-buildpackage using the scripts under debian/. Tracked-On: #7778 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
50-acrn.netdev | ||
50-acrn.network | ||
50-eth.network | ||
50-tap0.netdev | ||
100_ACRN | ||
README.rst | ||
acrn-board-inspector.postinst | ||
acrn-board-inspector.prerm | ||
acrn-hypervisor.postinst | ||
acrn-kernel.postinst | ||
compile_iasl.py | ||
deb.json | ||
gen_acrn_deb.py | ||
release.json |
README.rst
.. _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.