czechlight-cfg-fs: move install YANG executable to /usr/libexec
Change-Id: Ia39ee231a16153d01179d9d72b75f15ff72dbfff
diff --git a/package/czechlight-cfg-fs/czechlight-cfg-fs.mk b/package/czechlight-cfg-fs/czechlight-cfg-fs.mk
index 4d79447..775b088 100644
--- a/package/czechlight-cfg-fs/czechlight-cfg-fs.mk
+++ b/package/czechlight-cfg-fs/czechlight-cfg-fs.mk
@@ -25,7 +25,7 @@
$(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-cfg-fs/init-czechlight.sh \
$(TARGET_DIR)/sbin/init-czechlight.sh
$(INSTALL) -D -m 0755 $(@D)/czechlight-random-seed $(TARGET_DIR)/sbin/czechlight-random-seed
- $(INSTALL) -m 0755 -t $(TARGET_DIR)/usr/bin/ \
+ $(INSTALL) -D -m 0755 -t $(TARGET_DIR)/usr/libexec/czechlight-cfg-fs/ \
$(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-cfg-fs/czechlight-install-yang.sh
$(INSTALL) -D -m 0644 -t $(TARGET_DIR)/usr/lib/systemd/system/ \
$(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-cfg-fs/czechlight-install-yang.service
diff --git a/package/czechlight-cfg-fs/czechlight-install-yang.service b/package/czechlight-cfg-fs/czechlight-install-yang.service
index 4588f71..e34aee2 100644
--- a/package/czechlight-cfg-fs/czechlight-install-yang.service
+++ b/package/czechlight-cfg-fs/czechlight-install-yang.service
@@ -7,7 +7,7 @@
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/bin/bash /usr/bin/czechlight-install-yang.sh
+ExecStart=/bin/bash /usr/libexec/czechlight-cfg-fs/czechlight-install-yang.sh
Group=sysrepo
[Install]