summaryrefslogtreecommitdiff
path: root/0001-system-profile-export-PS1-as-root-buildroot.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-system-profile-export-PS1-as-root-buildroot.patch')
-rw-r--r--0001-system-profile-export-PS1-as-root-buildroot.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-system-profile-export-PS1-as-root-buildroot.patch b/0001-system-profile-export-PS1-as-root-buildroot.patch
new file mode 100644
index 0000000..828485b
--- /dev/null
+++ b/0001-system-profile-export-PS1-as-root-buildroot.patch
@@ -0,0 +1,26 @@
+From ce31d99c55b649f60a0c3b8a4c6e045fb811d8ff Mon Sep 17 00:00:00 2001
+From: Naresh Kamboju <naresh.kamboju@linaro.org>
+Date: Tue, 7 Feb 2017 14:43:03 +0000
+Subject: [PATCH 1/3] system: profile export PS1 as root@buildroot:~#
+
+Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
+---
+ system/skeleton/etc/profile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/system/skeleton/etc/profile b/system/skeleton/etc/profile
+index 3a97427..7fceb1e 100644
+--- a/system/skeleton/etc/profile
++++ b/system/skeleton/etc/profile
+@@ -2,7 +2,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
+
+ if [ "$PS1" ]; then
+ if [ "`id -u`" -eq 0 ]; then
+- export PS1='# '
++ export PS1='root@buildroot:~# '
+ else
+ export PS1='$ '
+ fi
+--
+2.10.1
+