Skip to content
Commit eb4dc393 authored by Robbie Cao's avatar Robbie Cao
Browse files

armv8r64-extras/demo: Add support nginx-docker-demo autorun



Add support to autorun nginx-docker-demo when system boot.

The main changes are as follows:
* Introduce a SysV-style initscript to control the starting, stopping
  and restarting of nginx docker container.
* Install the initscript with the help of update-rc.d class, thus
  nginx docker container can start automatically after system boot.
* The autorun works only if XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN is set
  as "1".
* To disable the autorun, build the stack using the following command:

      XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN=0 \
          kas build v8r64/meta-armv8r64-extras/kas/virtualization.yml

Issue-Id: SCM-4876
Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
Signed-off-by: Jiacheng Tang's avatarJiacheng Tang <jiacheng.tang@arm.com>
Change-Id: Iec49632a60cc3fc14ce64c58af066ade9e688cd3
parent d0c55fcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment