The $(MOUNT_PT)/bin dir must be owned by root.

This commit is contained in:
Manuel Canales Esparcia 2006-09-17 08:36:03 +00:00
parent 0921cae587
commit 6ef1f449ac
3 changed files with 3 additions and 3 deletions

View file

@ -1215,7 +1215,7 @@ mk_SUDO: mk_CROSS
#---------------CHROOT JAIL #---------------CHROOT JAIL
mk_SYSTOOLS: mk_SUDO mk_SYSTOOLS: mk_SUDO
@if [ ! -e \$(MOUNT_PT)/bin ]; then \\ @if [ ! -e \$(MOUNT_PT)/bin ]; then \\
mkdir \$(MOUNT_PT)/bin; \\ sudo mkdir \$(MOUNT_PT)/bin; \\
cd \$(MOUNT_PT)/bin && \\ cd \$(MOUNT_PT)/bin && \\
ln -svf /tools/bin/bash bash; ln -sf bash sh; \\ ln -svf /tools/bin/bash bash; ln -sf bash sh; \\
fi; fi;

View file

@ -587,7 +587,7 @@ mk_SUDO: mk_LUSER
mk_CHROOT: mk_SUDO mk_CHROOT: mk_SUDO
@if [ ! -e \$(MOUNT_PT)/bin ]; then \\ @if [ ! -e \$(MOUNT_PT)/bin ]; then \\
mkdir \$(MOUNT_PT)/bin; \\ sudo mkdir \$(MOUNT_PT)/bin; \\
cd \$(MOUNT_PT)/bin && \\ cd \$(MOUNT_PT)/bin && \\
ln -sf /tools/bin/bash bash; ln -sf bash sh; \\ ln -sf /tools/bin/bash bash; ln -sf bash sh; \\
fi; fi;

View file

@ -469,7 +469,7 @@ mk_SUDO: mk_LUSER
# #
mk_CHROOT: mk_SUDO mk_CHROOT: mk_SUDO
@if [ ! -e \$(MOUNT_PT)/bin ]; then \\ @if [ ! -e \$(MOUNT_PT)/bin ]; then \\
mkdir \$(MOUNT_PT)/bin; \\ sudo mkdir \$(MOUNT_PT)/bin; \\
cd \$(MOUNT_PT)/bin && \\ cd \$(MOUNT_PT)/bin && \\
ln -sf /tools/bin/bash bash; ln -sf bash sh; \\ ln -sf /tools/bin/bash bash; ln -sf bash sh; \\
fi; fi;