From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-handheld][PATCH] formfactor: add machine-specific /etc/rotation for psplash
Date: Wed, 11 Jul 2012 22:23:32 +0100 [thread overview]
Message-ID: <1944811.VoTLKehAUd@helios> (raw)
In-Reply-To: <1342028002-4580-1-git-send-email-andrea.adami@gmail.com>
On Wednesday 11 July 2012 19:33:22 Andrea Adami wrote:
> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> ---
> recipes-bsp/formfactor/formfactor_0.0.bbappend | 15 ++++++++++++++-
> 1 files changed, 14 insertions(+), 1 deletions(-)
>
> diff --git a/recipes-bsp/formfactor/formfactor_0.0.bbappend
> b/recipes-bsp/formfactor/formfactor_0.0.bbappend index e406684..aaa24f5
> 100644
> --- a/recipes-bsp/formfactor/formfactor_0.0.bbappend
> +++ b/recipes-bsp/formfactor/formfactor_0.0.bbappend
> @@ -1,4 +1,17 @@
> -PRINC := "${@int(PRINC) + 1}"
> +PRINC := "${@int(PRINC) + 2}"
>
> 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
> +}
> +
> +do_install_append () {
> + # Only install file if it has a content
> + if [ -s "${S}/rotation" ]; then
> + install -d ${D}${sysconfdir}
> + install -m 0644 ${S}/rotation ${D}${sysconfdir}/rotation
> + fi
> +}
Merged to meta-handheld master, thanks.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
prev parent reply other threads:[~2012-07-11 21:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-11 17:33 [meta-handheld][PATCH] formfactor: add machine-specific /etc/rotation for psplash Andrea Adami
2012-07-11 21:23 ` Paul Eggleton [this message]
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=1944811.VoTLKehAUd@helios \
--to=paul.eggleton@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox