openpower-debug-collector: Fix watchdog-timeout systemd service link issues
This commit:
- fixes missing "@" in the
openpower-debug-collector-watchdog-timeout@.service file path.
- Adds openpower-debug-collector-watchdog-timeout@.service file to the
/lib/systemd/system directory.
Testing:
Installed the image on simics and verified that the watchdog-timeout
systemd service file was added to /lib/systemd/system directory.
Signed-off-by: Shantappa Teekappanavar <sbteeks@yahoo.com>
Change-Id: Id6d9309d35bf218a2b458548f8a9dc6b7cc0a58c
diff --git a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector-systemd-links.inc b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector-systemd-links.inc
index f681ed4..5109a2f 100644
--- a/meta-openpower/recipes-phosphor/debug/openpower-debug-collector-systemd-links.inc
+++ b/meta-openpower/recipes-phosphor/debug/openpower-debug-collector-systemd-links.inc
@@ -16,7 +16,7 @@
ln -s $TARGET $LINK
LINK="$D$systemd_system_unitdir/obmc-host-timeout@0.target.wants/openpower-debug-collector-watchdog-timeout@0.service"
- TARGET="../openpower-debug-collector-watchdog-timeout.service"
+ TARGET="../openpower-debug-collector-watchdog-timeout@.service"
ln -s $TARGET $LINK
}