meta-bletchley: add systemd target for sled insertion and removal
Add target file for sled insertion and removal, add Requires for both
motor-init-calibration & host-ac-on service in seld insertion target,
and Conflicts in sled removal.
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I020694f868a352b0bcd2754a54cadd4a7d5487e5
diff --git a/meta-facebook/meta-bletchley/recipes-bletchley/detect-gpio-present/files/bletchley-sled-removal@.target b/meta-facebook/meta-bletchley/recipes-bletchley/detect-gpio-present/files/bletchley-sled-removal@.target
new file mode 100644
index 0000000..55fd5c3
--- /dev/null
+++ b/meta-facebook/meta-bletchley/recipes-bletchley/detect-gpio-present/files/bletchley-sled-removal@.target
@@ -0,0 +1,8 @@
+[Unit]
+Description=Bletchlet SLED%i removal target
+
+Conflicts=motor-init-calibration@%i.service
+Conflicts=host-ac-on@%i.service
+Conflicts=bletchley-sled-insertion@%i.target
+
+RefuseManualStop=yes
\ No newline at end of file