ps1-extra

This commit is contained in:
Imbus 2026-02-20 03:02:52 +01:00
parent d5b08d87ef
commit 8f09b5171e
2 changed files with 11 additions and 0 deletions

View file

@ -2,3 +2,9 @@ hostname = "imbus-mini"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://ps1-extra.sh"
do_install:append() {
cat ${WORKDIR}/ps1-extra.sh >> ${D}${sysconfdir}/profile
}

View file

@ -0,0 +1,5 @@
# Custom PS1 for BusyBox ash
if [ "$TERM" != "dumb" ]; then
PS1="\033[1;32m\u@\h:\w\$ \033[0m"
fi