From 689e10fa2f7aa697da7ad4adb789c459458cb0d0 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Thu, 16 Nov 2017 16:27:48 -0800 Subject: [PATCH] Run xencommons at boot time OpenRC doesn't support xencommons. For now, add a local.d script to start xencommons manually at boot. Signed-off-by: Stefano Stabellini --- alpine-dom0/runtime/runtime.docker | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alpine-dom0/runtime/runtime.docker b/alpine-dom0/runtime/runtime.docker index d196493..1bf7022 100644 --- a/alpine-dom0/runtime/runtime.docker +++ b/alpine-dom0/runtime/runtime.docker @@ -22,6 +22,7 @@ RUN \ rc-update add mount-ro shutdown && \ rc-update add savecache shutdown && \ rc-update add sysctl boot && \ + rc-update add local default && \ echo "nameserver 8.8.8.8" > /etc/resolv.conf && \ echo "auto lo" > /etc/network/interfaces && \ echo "auto eth0" >> /etc/network/interfaces && \ @@ -32,6 +33,8 @@ RUN \ echo "hvc0::respawn:/sbin/getty -L hvc0 115200 vt100" >> /etc/inittab && \ # Xen run deps apk add python2 gettext zlib ncurses dev86 texinfo yajl curl libaio autoconf automake iasl make xz-dev bash util-linux argp-standalone && \ + echo "/etc/init.d/xencommons start" > /etc/local.d/xencommons.start && \ + chmod +x /etc/local.d/xencommons.start && \ rc-update add xencommons default && \ # QEMU run deps apk add glib pixman libcap libattr -- 2.39.5