From: Oliver <urnen81@yahoo.es>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: recipe removing (some)contents of /etc
Date: Thu, 14 May 2015 15:27:20 +0000 (UTC) [thread overview]
Message-ID: <641241749.3202512.1431617240967.JavaMail.yahoo@mail.yahoo.com> (raw)
[-- 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 --]
next reply other threads:[~2015-05-14 15:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 15:27 Oliver [this message]
2015-05-14 15:36 ` recipe removing (some)contents of /etc 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=641241749.3202512.1431617240967.JavaMail.yahoo@mail.yahoo.com \
--to=urnen81@yahoo.es \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.