From 6c3e3ad4197714ea39fcd49d572a1713f803d835 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 3 Nov 2012 08:27:58 +0000 Subject: New top-level directory: system This directory groups the following elements: * the default root filesystem skeleton * the default device tables * the Config.in options for system configuration (UART port for getty, system hostname, etc.) * the make rules to apply the system configuration options Even though the skeleton and device tables could have lived in fs/, it would have been strange to have the UART, system hostname and other related options into fs/. A new system/ directory makes more sense. As a consequence, this patch also removes target/Makefile.in, which has become useless in the process. [Peter: fixup TARGET_SKELETON settings / documentation to match] Signed-off-by: Thomas Petazzoni Acked-by: Yann E. MORIN Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- system/skeleton/root/.bash_history | 0 system/skeleton/root/.bash_logout | 7 +++++++ system/skeleton/root/.bash_profile | 15 +++++++++++++++ system/skeleton/root/.empty | 0 4 files changed, 22 insertions(+) create mode 100644 system/skeleton/root/.bash_history create mode 100644 system/skeleton/root/.bash_logout create mode 100644 system/skeleton/root/.bash_profile create mode 100644 system/skeleton/root/.empty (limited to 'system/skeleton/root') diff --git a/system/skeleton/root/.bash_history b/system/skeleton/root/.bash_history new file mode 100644 index 000000000..e69de29bb diff --git a/system/skeleton/root/.bash_logout b/system/skeleton/root/.bash_logout new file mode 100644 index 000000000..77ef1f950 --- /dev/null +++ b/system/skeleton/root/.bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +case "`tty`" in + /dev/tty[0-9]*) clear +esac diff --git a/system/skeleton/root/.bash_profile b/system/skeleton/root/.bash_profile new file mode 100644 index 000000000..27bf14953 --- /dev/null +++ b/system/skeleton/root/.bash_profile @@ -0,0 +1,15 @@ +# .bash_profile + +export PATH=\ +/bin:\ +/sbin:\ +/usr/bin:\ +/usr/sbin:\ +/usr/bin/X11:\ +/usr/local/bin + +umask 022 + +if [ -f ~/.bashrc ]; then + source ~/.bashrc +fi diff --git a/system/skeleton/root/.empty b/system/skeleton/root/.empty new file mode 100644 index 000000000..e69de29bb -- cgit v1.2.3