project:build.sh:Add support for multiple folders in post overlay project:cfg:BoardConfig_IPC:Add support for rootfs post overlay sysdrv:Makefile:Replace the script-based copying method with the post overlay approach Signed-off-by: luckfox-eng29 <eng29@luckfox.com>
25 lines
418 B
Bash
Executable File
25 lines
418 B
Bash
Executable File
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
|
|
|
export EDITOR='/bin/vi'
|
|
|
|
#export PS1='[\u@\h \W]# '
|
|
if [ "$PS1" ]; then
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
#export PS1='# '
|
|
export PS1='[\u@\h \W]# '
|
|
else
|
|
#export PS1='$ '
|
|
export PS1='[\u@\h \W]$ '
|
|
fi
|
|
fi
|
|
|
|
# Source configuration files from /etc/profile.d
|
|
for i in /etc/profile.d/*.sh ; do
|
|
if [ -r "$i" ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|
|
|
|
|