The $(MOUNT_PT)/bin dir must be owned by root.
This commit is contained in:
parent
0921cae587
commit
6ef1f449ac
3 changed files with 3 additions and 3 deletions
|
@ -1215,7 +1215,7 @@ mk_SUDO: mk_CROSS
|
|||
#---------------CHROOT JAIL
|
||||
mk_SYSTOOLS: mk_SUDO
|
||||
@if [ ! -e \$(MOUNT_PT)/bin ]; then \\
|
||||
mkdir \$(MOUNT_PT)/bin; \\
|
||||
sudo mkdir \$(MOUNT_PT)/bin; \\
|
||||
cd \$(MOUNT_PT)/bin && \\
|
||||
ln -svf /tools/bin/bash bash; ln -sf bash sh; \\
|
||||
fi;
|
||||
|
|
|
@ -587,7 +587,7 @@ mk_SUDO: mk_LUSER
|
|||
|
||||
mk_CHROOT: mk_SUDO
|
||||
@if [ ! -e \$(MOUNT_PT)/bin ]; then \\
|
||||
mkdir \$(MOUNT_PT)/bin; \\
|
||||
sudo mkdir \$(MOUNT_PT)/bin; \\
|
||||
cd \$(MOUNT_PT)/bin && \\
|
||||
ln -sf /tools/bin/bash bash; ln -sf bash sh; \\
|
||||
fi;
|
||||
|
|
|
@ -469,7 +469,7 @@ mk_SUDO: mk_LUSER
|
|||
#
|
||||
mk_CHROOT: mk_SUDO
|
||||
@if [ ! -e \$(MOUNT_PT)/bin ]; then \\
|
||||
mkdir \$(MOUNT_PT)/bin; \\
|
||||
sudo mkdir \$(MOUNT_PT)/bin; \\
|
||||
cd \$(MOUNT_PT)/bin && \\
|
||||
ln -sf /tools/bin/bash bash; ln -sf bash sh; \\
|
||||
fi;
|
||||
|
|
Reference in a new issue