From: Holger Hans Peter Freyther <holger@freyther.de>
To: poky@yoctoproject.org
Subject: ARM /proc/cpu/alignment with systemd images in dora
Date: Mon, 31 Mar 2014 22:58:17 +0200 [thread overview]
Message-ID: <20140331205817.GA4987@xiaoyu.lan> (raw)
Good Evening,
I noticed that the "alignment.sh" is not ran on my systemd images. I
think I opened a bug about systemd ignoring ".sh" scripts but that was
fixed and also not the main issue here. After looking at src/core/service.c
of systemd the rcS.d is not looked at.
Can something like the below be included? This will start the alignment
in runlevel2 too and will then be executed by systemd. Alternatively one
could add a proper symlink for the alignment target inside the systemd
recipe?
Comments?
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 50ebb1c..08539a2 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -124,7 +124,7 @@ do_install () {
update-rc.d -r ${D} read-only-rootfs-hook.sh start 29 S .
update-rc.d -r ${D} devpts.sh start 38 S .
if [ "${TARGET_ARCH}" = "arm" ]; then
- update-rc.d -r ${D} alignment.sh start 06 S .
+ update-rc.d -r ${D} alignment.sh start 06 S 2 .
fi
# We wish to have /var/log ready at this stage so execute this after
# populate-volatile.sh
next reply other threads:[~2014-03-31 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 20:58 Holger Hans Peter Freyther [this message]
2014-03-31 22:15 ` ARM /proc/cpu/alignment with systemd images in dora Mehaffey, John
2014-05-12 13:57 ` Holger Hans Peter Freyther
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=20140331205817.GA4987@xiaoyu.lan \
--to=holger@freyther.de \
--cc=poky@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.