diff options
-rw-r--r-- | essential-files/etc/profile | 9 | ||||
-rw-r--r-- | essential-files/manifest | 1 | ||||
-rw-r--r-- | strata/build-essential/busybox.morph | 5 |
3 files changed, 10 insertions, 5 deletions
diff --git a/essential-files/etc/profile b/essential-files/etc/profile new file mode 100644 index 00000000..c5bddd0d --- /dev/null +++ b/essential-files/etc/profile @@ -0,0 +1,9 @@ +# /etc/profile + +# Source global bash config +if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then + . /etc/bash.bashrc +fi + +# Set default pager to less +export MANPAGER='less -R' diff --git a/essential-files/manifest b/essential-files/manifest index 504f9cbb..1294534f 100644 --- a/essential-files/manifest +++ b/essential-files/manifest @@ -1,2 +1,3 @@ 0040755 0 0 /etc overwrite 0100644 0 0 /etc/os-release +overwrite 0100644 0 0 /etc/profile diff --git a/strata/build-essential/busybox.morph b/strata/build-essential/busybox.morph index 85327648..b5418bc0 100644 --- a/strata/build-essential/busybox.morph +++ b/strata/build-essential/busybox.morph @@ -68,11 +68,6 @@ install-commands: # Set up man environment variables - mkdir -p "$DESTDIR"/etc - | - cat << EOF > "$DESTDIR/etc/profile" - # Set default pager to less - export MANPAGER='less -R' - EOF -- | cat << EOF > "$DESTDIR/etc/man.conf" # This file is used by man to provide a manpath for those without one by # examining their PATH environment variable. |