chroot login shell fix
This commit is contained in:
parent
9b3f7eeada
commit
217db9ebd9
2 changed files with 6 additions and 21 deletions
|
@ -57,10 +57,12 @@ mkdir ${root}/etc/profile.d
|
|||
|
||||
cp ${root}/../dont_use_here/profile ${root}/etc/profile
|
||||
|
||||
|
||||
cat << EOF > ${root}/login_shell
|
||||
exec -a "-ash" /bin/ash
|
||||
EOF
|
||||
|
||||
echo "---------------------"
|
||||
echo "finished chroot_fetch"
|
||||
echo "---------------------"
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue