diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2012-07-12 01:40:50 +0200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-12 01:27:47 +0100 |
commit | fe76f89ace2a53b1db288272134d731d90efeb16 (patch) | |
tree | 73fa1a4ecb003d48f0ca92e5f4997cbf3d9e718f /recipes-bsp | |
parent | 6d771d55ce3f62643b9b0a27a069c434c14fdf25 (diff) | |
download | meta-handheld-fe76f89ace2a53b1db288272134d731d90efeb16.tar.gz |
formfactor: fix sed expression
* 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>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | 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 () { |