aboutsummaryrefslogtreecommitdiffstats
path: root/bin/abrmdcontainer/run_abrmd.sh
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-08-28 16:24:42 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-08-31 11:07:54 -0700
commit72d45a672a5ea45439f9d4f630063e70872ed8cb (patch)
tree16a6e3b8f21d8b2309e89191d31eee3e6e61e06f /bin/abrmdcontainer/run_abrmd.sh
parentb4133b73e86c4f8cbd4284dde9970c2e8216baa4 (diff)
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 <kiran.k.kamineni@intel.com>
Diffstat (limited to 'bin/abrmdcontainer/run_abrmd.sh')
-rwxr-xr-xbin/abrmdcontainer/run_abrmd.sh2
1 files changed, 2 insertions, 0 deletions
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