From 5e42b7dc2324eafaa4c0e4753377ac789644d51f Mon Sep 17 00:00:00 2001 From: procount Date: Tue, 10 Nov 2020 17:03:57 +0000 Subject: [PATCH] Added PS1 profile --- buildroot/package/recovery/profile | 2 ++ buildroot/package/recovery/recovery.mk | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 buildroot/package/recovery/profile diff --git a/buildroot/package/recovery/profile b/buildroot/package/recovery/profile new file mode 100644 index 00000000..c47e2658 --- /dev/null +++ b/buildroot/package/recovery/profile @@ -0,0 +1,2 @@ +export PS1="\u@\h:\w# " + diff --git a/buildroot/package/recovery/recovery.mk b/buildroot/package/recovery/recovery.mk index d27ab000..3114ef48 100644 --- a/buildroot/package/recovery/recovery.mk +++ b/buildroot/package/recovery/recovery.mk @@ -33,6 +33,8 @@ define RECOVERY_INSTALL_TARGET_CMDS $(INSTALL) -m 0755 package/recovery/unicode-fonts/NanumBarunGothicBold.ttf $(TARGET_DIR)/usr/lib/fonts/NanumBarunGothicBold.ttf $(INSTALL) -m 0755 package/recovery/data/data $(TARGET_DIR)/usr/data $(INSTALL) -m 0644 $(@D)/cmdline.txt $(BINARIES_DIR)/cmdline.txt + $(INSTALL) -m 0755 package/recovery/profile $(TARGET_DIR)/root/.profile + mkdir -p $(TARGET_DIR)/keymaps/ $(INSTALL) -m 0755 package/recovery/keymaps/* $(TARGET_DIR)/keymaps/ $(INSTALL) -m 0644 package/recovery/wpa_supplicant.conf $(TARGET_DIR)/etc/wpa_supplicant.conf