r3136 - in jhalfs/branches/experimental: CLFS HLFS LFS

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Sun Sep 17 08:15:41 PDT 2006


Author: georgeb
Date: 2006-09-17 09:15:40 -0600 (Sun, 17 Sep 2006)
New Revision: 3136

Modified:
   jhalfs/branches/experimental/CLFS/master.sh
   jhalfs/branches/experimental/HLFS/master.sh
   jhalfs/branches/experimental/LFS/master.sh
Log:
Change method of assigning ownership of /bin.

Modified: jhalfs/branches/experimental/CLFS/master.sh
===================================================================
--- jhalfs/branches/experimental/CLFS/master.sh	2006-09-17 13:35:25 UTC (rev 3135)
+++ jhalfs/branches/experimental/CLFS/master.sh	2006-09-17 15:15:40 UTC (rev 3136)
@@ -1215,9 +1215,10 @@
 #---------------CHROOT JAIL
 mk_SYSTOOLS: mk_SUDO
 	@if [ ! -e \$(MOUNT_PT)/bin ]; then \\
-	  sudo mkdir \$(MOUNT_PT)/bin; \\
+	  mkdir \$(MOUNT_PT)/bin; \\
 	  cd \$(MOUNT_PT)/bin && \\
 	  ln -svf /tools/bin/bash bash; ln -sf bash sh; \\
+	  sudo chown -R 0:0 \$(MOUNT_PT)/bin; \\
 	fi;
 	@sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chroot/082-createfiles
 	@\$(call echo_CHROOT_request)

Modified: jhalfs/branches/experimental/HLFS/master.sh
===================================================================
--- jhalfs/branches/experimental/HLFS/master.sh	2006-09-17 13:35:25 UTC (rev 3135)
+++ jhalfs/branches/experimental/HLFS/master.sh	2006-09-17 15:15:40 UTC (rev 3136)
@@ -587,9 +587,10 @@
 
 mk_CHROOT: mk_SUDO
 	@if [ ! -e \$(MOUNT_PT)/bin ]; then \\
-	  sudo mkdir \$(MOUNT_PT)/bin; \\
+	  mkdir \$(MOUNT_PT)/bin; \\
 	  cd \$(MOUNT_PT)/bin && \\
 	  ln -sf /tools/bin/bash bash; ln -sf bash sh; \\
+	  sudo chown -R 0:0 \$(MOUNT_PT)/bin; \\
 	fi;
 	@sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chapter06/064-createfiles
 	@\$(call echo_CHROOT_request)

Modified: jhalfs/branches/experimental/LFS/master.sh
===================================================================
--- jhalfs/branches/experimental/LFS/master.sh	2006-09-17 13:35:25 UTC (rev 3135)
+++ jhalfs/branches/experimental/LFS/master.sh	2006-09-17 15:15:40 UTC (rev 3136)
@@ -469,9 +469,10 @@
 #
 mk_CHROOT: mk_SUDO
 	@if [ ! -e \$(MOUNT_PT)/bin ]; then \\
-	  sudo mkdir \$(MOUNT_PT)/bin; \\
+	  mkdir \$(MOUNT_PT)/bin; \\
 	  cd \$(MOUNT_PT)/bin && \\
 	  ln -sf /tools/bin/bash bash; ln -sf bash sh; \\
+	  sudo chown -R 0:0 \$(MOUNT_PT)/bin; \\
 	fi;
 	@sudo sed -e 's|^ln -sv |ln -svf |' -i \$(CMDSDIR)/chapter06/063-createfiles
 	@\$(call echo_CHROOT_request)




More information about the alfs-log mailing list