From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: patch base-files /etc/profile
Date: Thu, 17 Apr 2008 16:05:04 -0700 [thread overview]
Message-ID: <1208473504.21779.3.camel@isis> (raw)
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
Hi
I was seeing that on Angstrom.2008 I was not getting TSLIB_TSDEVICE
environment variable set though it should be as it was
invoking /etc/profile.d/tslib.sh in /etc/profile. However the 'ls'
command in there was not really working well.
This patch fixes the problem. Now I see TALIB_TSDEVICE variable set
everytime.
OK for .dev ?
Thanks
-Khem
#
# old_revision [cc8daafda388ec1e484dc2e68e1599944893bc76]
#
# patch "packages/base-files/base-files/profile"
# from [c1afd65b969f708eab144ec909358f3c8f22a411]
# to [e24b90b96edb24d3af735f32c72528e6a01d617d]
#
# patch "packages/base-files/base-files_3.0.14.bb"
# from [a35cae8a2aa502d9f36ce35fcd2dddd9a86ce2c4]
# to [3b4da947c2b76133142ee113622e6986e653f14a]
#
============================================================
--- packages/base-files/base-files/profile
c1afd65b969f708eab144ec909358f3c8f22a411
+++ packages/base-files/base-files/profile
e24b90b96edb24d3af735f32c72528e6a01d617d
@@ -20,8 +20,10 @@ if [ -d /etc/profile.d ]; then
fi
if [ -d /etc/profile.d ]; then
- for i in `ls /etc/profile.d/`; do
- . /etc/profile.d/$i
+ for i in /etc/profile.d/*.sh; do
+ if [ -r $i ]; then
+ . $i
+ fi
done
unset i
fi
============================================================
--- packages/base-files/base-files_3.0.14.bb
a35cae8a2aa502d9f36ce35fcd2dddd9a86ce2c4
+++ packages/base-files/base-files_3.0.14.bb
3b4da947c2b76133142ee113622e6986e653f14a
@@ -1,7 +1,7 @@ PRIORITY = "required"
DESCRIPTION = "Miscellaneous files for the base system."
SECTION = "base"
PRIORITY = "required"
-PR = "r77"
+PR = "r78"
LICENSE = "GPL"
SRC_URI = " \
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 196 bytes --]
next reply other threads:[~2008-04-17 23:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-17 23:05 Khem Raj [this message]
2008-04-17 23:55 ` patch base-files /etc/profile Thomas Kunze
2008-04-18 3:49 ` Junqian Gordon Xu
2008-04-18 6:57 ` Khem Raj
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=1208473504.21779.3.camel@isis \
--to=raj.khem@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.