summaryrefslogtreecommitdiff
path: root/0001-system-profile-export-PS1-as-root-buildroot.patch
blob: 828485bc3dd6e21f923a8409bae84a5894c2721b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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