From 72d45a672a5ea45439f9d4f630063e70872ed8cb Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Tue, 28 Aug 2018 16:24:42 -0700 Subject: Modify initialization to remove ownership step TPM ownership and primary key creation is assumed to be a step that is executed by the system administrator who will provide the credentials to pods during startup [Srini]. Now, init only reads the public portion of the primary key and puts it the host folder. P9: Remove init.sh. Not needed as initialize will directly talk to device now. Initialize is called during Step 1 and run_abrmd is called during Step 2 Issue-ID: AAF-409 Change-Id: Id0d1860f257c98045613e90b6b88e37858a9aceb Signed-off-by: Kiran Kamineni --- bin/abrmdcontainer/run_abrmd.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/abrmdcontainer/run_abrmd.sh') diff --git a/bin/abrmdcontainer/run_abrmd.sh b/bin/abrmdcontainer/run_abrmd.sh index bcfb233..00fbf24 100755 --- a/bin/abrmdcontainer/run_abrmd.sh +++ b/bin/abrmdcontainer/run_abrmd.sh @@ -3,7 +3,9 @@ set -e # Start DBUS mkdir -p /var/run/dbus +rm -f /var/run/dbus/* stdbuf -oL -eL dbus-daemon --system --nofork 2>&1 1> /var/log/dbus-daemon.log & +sleep 1m # Start Resource Manager if [ -z $TPM_SIMULATOR ]; then -- cgit 1.2.3-korg