From 6ef1f449ac9ac865dc00a6dfea04d10d1664b85a Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sun, 17 Sep 2006 08:36:03 +0000 Subject: [PATCH] The $(MOUNT_PT)/bin dir must be owned by root. --- CLFS/master.sh | 2 +- HLFS/master.sh | 2 +- LFS/master.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLFS/master.sh b/CLFS/master.sh index e619e14..bb9b1cb 100755 --- a/CLFS/master.sh +++ b/CLFS/master.sh @@ -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; diff --git a/HLFS/master.sh b/HLFS/master.sh index 6bbfde3..67c4e5d 100755 --- a/HLFS/master.sh +++ b/HLFS/master.sh @@ -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; diff --git a/LFS/master.sh b/LFS/master.sh index 4c72570..4c4dd6d 100755 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -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;