meta-fii/meta-kudo: Modify kudo system init
1. Modify kudo-boot.bb with latest sbin
2. Update init_once.sh with modified GPIO pins
3. Fix install for kudo-lib.sh for kudo-fw.bb
Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com>
Change-Id: Id91d1325c70721bdc4e9fc7c541d43df33f05806
Signed-off-by: Mohaimen Alsamarai <mohaimen.alsamarai@fii-na.com>
diff --git a/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot.bb b/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot.bb
index ebb3207..87e4f74 100644
--- a/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot.bb
+++ b/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot.bb
@@ -12,7 +12,7 @@
RDEPENDS_${PN} += "libsystemd"
RDEPENDS_${PN} += "bash"
-SRC_URI += " \
+SRC_URI = " \
file://init_once.sh \
file://host-powerctrl.service \
"
@@ -23,9 +23,8 @@
"
do_install () {
- install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}/init_once.sh ${D}${bindir}/
-
+ install -d ${D}${sbindir}
+ install -m 0755 ${WORKDIR}/init_once.sh ${D}${sbindir}/
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/host-powerctrl.service ${D}${systemd_unitdir}/system
}