Scripts not added in rootfs/etc/init.d with mender integrated

Hi,

I’m having a hard time to figure out why our scripts are not added in the image when I integrated mender?

Without the mender, all our scripts are in rootfs/etc/init.d

/sources/meta-hero-secc/recipes-core/initscripts/initscripts_1.0.bbappend

FILESEXTRAPATHS_prepend := "${THISDIR}/hero-secc:"

SRC_URI_append_hero-secc = "file://canstartup.sh \
		            file://seccwifiAPsetup.sh \
			    file://install_emmc.sh \
			    file://swupdate_emmc.sh \
			    file://nvm.sh \
			    file://config.json \
			    file://productionData.json \
"

RDEPENDS_${PN} += "bash"

do_install () {

 install -d ${D}${sysconfdir}/init.d
 install -m 0755  ${WORKDIR}/canstartup.sh	${D}${sysconfdir}/init.d
 install -m 0755  ${WORKDIR}/seccwifiAPsetup.sh	${D}${sysconfdir}/init.d
 install -m 0755  ${WORKDIR}/nvm.sh	        ${D}${sysconfdir}/init.d

 install -d ${D}${sysconfdir}/emmc
 install -m 0755  ${WORKDIR}/install_emmc.sh	${D}${sysconfdir}/emmc
 install -m 0755  ${WORKDIR}/swupdate_emmc.sh	${D}${sysconfdir}/emmc

 install -d ${D}${sysconfdir}/json
 install -m 0755 ${WORKDIR}/config.json ${D}${sysconfdir}/json
 install -m 0755 ${WORKDIR}/productionData.json ${D}${sysconfdir}/json

 update-rc.d -r ${D} nvm.sh start 50 5 .		
 update-rc.d -r ${D} canstartup.sh start 51 5 .
 update-rc.d -r ${D} seccwifiAPsetup.sh start 52 5 .
}

Kind regards,
Marizonne

Dear All,

With mender integrated I need to add IMAGE_INSTALL_append += “initscripts”

But without the mender, I don’t need to do it which is still puzzling to me. Anyway, it’s working now.

Kind regards,
Marizonne