<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div>Hello</div><div id="yui_3_16_0_1_1431616839404_6858"><br></div><div dir="ltr" id="yui_3_16_0_1_1431616839404_6859">I have the below's simple recipe(starting a script in sysV runlevel 2), but when I add it to the image with <br></div><div dir="ltr">IMAGE_INSTALL += "canlogger"</div><div dir="ltr">in my local.conf, most of the contents of /etc gets removed/overwritten making the system unbootable.<br></div><div dir="ltr"><br></div><div id="yui_3_16_0_1_1431616839404_6956" dir="ltr">Does someone sees something wrong?<br></div><div id="yui_3_16_0_1_1431616839404_6955" dir="ltr"><br></div><div id="yui_3_16_0_1_1431616839404_6884">#####<br></div><div id="yui_3_16_0_1_1431616839404_6883" dir="ltr">DESCRIPTION = "Start CAN services logging"<br style="" class="">SECTION = "examples"<br style="" class="">LICENSE = "MIT"<br style="" class="">LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"<br style="" class="">PR = "r0"<br style="" class=""><br style="" class="">SRC_URI += "file://canlogger"<br style="" class=""><br style="" class="">INITSCRIPT_NAME = "canlogger"<br style="" class="">INITSCRIPT_PARAMS = "start 98 2 ."<br style="" class=""><br style="" class="">do_install() {<br style="" class="">    install -d ${D}${sysconfdir}/init.d/<br style="" class="">    install -m 0755 ${WORKDIR}/canlogger ${D}${sysconfdir}/init.d/canlogger<br style="" class="">}<br style="" class=""><br style="" class="">inherit update-rc.d<br></div><div dir="ltr" id="yui_3_16_0_1_1431616839404_6830">#####</div><div style="" class="" id="yui_3_16_0_1_1431616839404_6830"><br style="" class=""></div></div></body></html>