From: Andrea Adami <andrea.adami@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-initramfs][PATCH v2] formfactor: fix sed expression
Date: Thu, 12 Jul 2012 01:40:50 +0200 [thread overview]
Message-ID: <1342050050-8381-1-git-send-email-andrea.adami@gmail.com> (raw)
In-Reply-To: <1342045981-29287-1-git-send-email-andrea.adami@gmail.com>
* a last-minute check was added...with a missing '*'
* don't add newline so we can easily test -s
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
recipes-bsp/formfactor/formfactor_0.0.bbappend | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/recipes-bsp/formfactor/formfactor_0.0.bbappend b/recipes-bsp/formfactor/formfactor_0.0.bbappend
index e888ec1..b509028 100644
--- a/recipes-bsp/formfactor/formfactor_0.0.bbappend
+++ b/recipes-bsp/formfactor/formfactor_0.0.bbappend
@@ -1,11 +1,10 @@
-PRINC := "${@int(PRINC) + 2}"
+PRINC := "${@int(PRINC) + 3}"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
do_install_prepend () {
# provide machine-specific /etc/rotation for psplash
- sed -n 's/^[ \t]DISPLAY_ORIENTATION[ \t]*//p' ${S}/machconfig | tr -dc '[0-9]' > ${S}/rotation
- printf "\n" >> ${S}/rotation
+ sed -n 's/^[ \t]*DISPLAY_ORIENTATION[ \t]*//p' ${S}/machconfig | tr -dc '[0-9]' > ${S}/rotation
}
do_install_append () {
--
1.7.8.6
next prev parent reply other threads:[~2012-07-11 23:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 22:33 [meta-handheld][PATCH] formfactor: fix sed expression Andrea Adami
2012-07-11 23:33 ` Andrea Adami
2012-07-11 23:40 ` Andrea Adami [this message]
2012-07-12 0:29 ` [meta-initramfs][PATCH v2] " Paul Eggleton
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=1342050050-8381-1-git-send-email-andrea.adami@gmail.com \
--to=andrea.adami@gmail.com \
--cc=openembedded-devel@lists.openembedded.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.