projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added directory to store Ubuntu specific files
[hvlinux.git]
/
stage1
/
create-config-files
diff --git
a/stage1/create-config-files
b/stage1/create-config-files
index
ef723b5
..
0bc590c
100755
(executable)
--- a/
stage1/create-config-files
+++ b/
stage1/create-config-files
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
set -o errexit
# Reading system configuration informations, functions and package versions.
set -o errexit
# Reading system configuration informations, functions and package versions.
@@
-29,9
+29,10
@@
devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
EOF
shm /dev/shm tmpfs defaults 0 0
EOF
-echo "Creating basic /etc/profile"
+echo "Creating basic /etc/profile and /etc/profile.d"
+install -v -m755 -d ${LFS}/etc/profile.d
cat > ${LFS}/etc/profile << "EOF"
cat > ${LFS}/etc/profile << "EOF"
-#!/bin/sh
+#!/bin/
ba
sh
# /etc/profile
# System-wide environment and startup programs.
# /etc/profile
# System-wide environment and startup programs.
@@
-87,7
+88,7
@@
sed -i -e "s!_DEFAULT_EDITOR_!${DEFAULT_EDITOR}!g" ${LFS}/etc/profile
echo "Creating /etc/bashrc"
cat > ${LFS}/etc/bashrc << "EOF"
echo "Creating /etc/bashrc"
cat > ${LFS}/etc/bashrc << "EOF"
-#!/bin/sh
+#!/bin/
ba
sh
# /etc/bashrc
# /etc/bashrc