[oe-commits] org.oe.dev packages/base-files/base-files_3.0.14.bb: Add semi-custom profile for oplinux and oplinux-uclibc

ifaistos commit openembedded-commits at lists.openembedded.org
Wed Mar 21 09:22:30 UTC 2007


packages/base-files/base-files_3.0.14.bb: Add semi-custom profile for oplinux and oplinux-uclibc

Author: ifaistos at openembedded.org
Branch: org.openembedded.dev
Revision: cdbba2b78bf2cffbd5276af11dd4d81833ea00da
ViewMTN: http://monotone.openembedded.org/revision.psp?id=cdbba2b78bf2cffbd5276af11dd4d81833ea00da
Files:
1
packages/base-files/base-files/oplinux/profile
packages/base-files/base-files/oplinux-uclibc/profile
packages/base-files/base-files_3.0.14.bb
Diffs:

#
# mt diff -reee64fc04cd1479e34ee65d6c8942dd91915b1b1 -rcdbba2b78bf2cffbd5276af11dd4d81833ea00da
#
# 
# 
# add_file "packages/base-files/base-files/oplinux/profile"
#  content [b320321482fddc32916369fe6a132485f145b10f]
# 
# add_file "packages/base-files/base-files/oplinux-uclibc/profile"
#  content [b320321482fddc32916369fe6a132485f145b10f]
# 
# patch "packages/base-files/base-files_3.0.14.bb"
#  from [b777ad6aa43458739c45bb125f4ae942fb0f0d6d]
#    to [5193dbc3110d38d20655e9694059113179d56cb5]
# 
============================================================
--- packages/base-files/base-files/oplinux/profile	b320321482fddc32916369fe6a132485f145b10f
+++ packages/base-files/base-files/oplinux/profile	b320321482fddc32916369fe6a132485f145b10f
@@ -0,0 +1,32 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+PATH="/usr/local/bin:/usr/bin:/bin"
+EDITOR="/usr/bin/nano"	# needed for packages like cron
+TERM="linux"		# Basic terminal capab. For screen etc.
+
+if [ ! -e /etc/localtime ]; then
+	TZ="UTC"		# Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html 
+				# for an explanation of how to set this to your local timezone.
+	export TZ
+fi
+
+if [ "`id -u`" -eq 0 ]; then
+   PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:
+fi
+if [ "$PS1" ]; then
+# works for bash and ash (no other shells known to be in use here)
+   PS1='\u@\h:\w\$ '
+fi
+
+if [ -d /etc/profile.d ]; then
+  for i in `ls /etc/profile.d/`; do
+    . /etc/profile.d/$i
+  done
+  unset i
+fi
+
+export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
+
+umask 022
+
============================================================
--- packages/base-files/base-files/oplinux-uclibc/profile	b320321482fddc32916369fe6a132485f145b10f
+++ packages/base-files/base-files/oplinux-uclibc/profile	b320321482fddc32916369fe6a132485f145b10f
@@ -0,0 +1,32 @@
+# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
+# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
+
+PATH="/usr/local/bin:/usr/bin:/bin"
+EDITOR="/usr/bin/nano"	# needed for packages like cron
+TERM="linux"		# Basic terminal capab. For screen etc.
+
+if [ ! -e /etc/localtime ]; then
+	TZ="UTC"		# Time Zone. Look at http://theory.uwinnipeg.ca/gnu/glibc/libc_303.html 
+				# for an explanation of how to set this to your local timezone.
+	export TZ
+fi
+
+if [ "`id -u`" -eq 0 ]; then
+   PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:
+fi
+if [ "$PS1" ]; then
+# works for bash and ash (no other shells known to be in use here)
+   PS1='\u@\h:\w\$ '
+fi
+
+if [ -d /etc/profile.d ]; then
+  for i in `ls /etc/profile.d/`; do
+    . /etc/profile.d/$i
+  done
+  unset i
+fi
+
+export PATH PS1 OPIEDIR QPEDIR QTDIR EDITOR TERM
+
+umask 022
+
============================================================
--- packages/base-files/base-files_3.0.14.bb	b777ad6aa43458739c45bb125f4ae942fb0f0d6d
+++ packages/base-files/base-files_3.0.14.bb	5193dbc3110d38d20655e9694059113179d56cb5
@@ -1,7 +1,7 @@ PRIORITY = "required"
 DESCRIPTION = "Miscellaneous files for the base system."
 SECTION = "base"
 PRIORITY = "required"
-PR = "r63"
+PR = "r64"
 LICENSE = "GPL"
 
 SRC_URI = " \






More information about the Openembedded-commits mailing list