All of lore.kernel.org
 help / color / mirror / Atom feed
* recipe removing (some)contents of /etc
@ 2015-05-14 15:27 Oliver
  2015-05-14 15:36 ` Gary Thomas
  2015-05-14 16:14 ` Smith, Virgil
  0 siblings, 2 replies; 10+ messages in thread
From: Oliver @ 2015-05-14 15:27 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Hello
I have the below's simple recipe(starting a script in sysV runlevel 2), but when I add it to the image with 
IMAGE_INSTALL += "canlogger"in my local.conf, most of the contents of /etc gets removed/overwritten making the system unbootable.

Does someone sees something wrong?

#####
DESCRIPTION = "Start CAN services logging"
SECTION = "examples"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
PR = "r0"

SRC_URI += "file://canlogger"

INITSCRIPT_NAME = "canlogger"
INITSCRIPT_PARAMS = "start 98 2 ."

do_install() {
    install -d ${D}${sysconfdir}/init.d/
    install -m 0755 ${WORKDIR}/canlogger ${D}${sysconfdir}/init.d/canlogger
}

inherit update-rc.d
#####

[-- Attachment #2: Type: text/html, Size: 1849 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-05-15 11:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 15:27 recipe removing (some)contents of /etc Oliver
2015-05-14 15:36 ` Gary Thomas
2015-05-14 16:14 ` Smith, Virgil
2015-05-14 16:18   ` Robert P. J. Day
2015-05-14 16:34     ` Smith, Virgil
2015-05-14 16:41       ` Paul Eggleton
2015-05-14 16:48         ` Robert P. J. Day
2015-05-14 21:36         ` Oliver
2015-05-14 22:01           ` Gary Thomas
2015-05-15 11:07             ` Oliver

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.