Changeset f5fc83d for LFS/master.sh
- Timestamp:
- 10/02/2006 07:38:34 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 9adff0e
- Parents:
- 045b2dc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r045b2dc rf5fc83d 499 499 500 500 501 restart: restart_code all502 503 501 restore-luser-env: 504 502 @\$(call echo_message, Building) … … 526 524 fi; 527 525 528 restart_code:529 @echo ">>> This feature is experimental, BUGS may exist"530 531 @if [ ! -L /tools ]; then \\532 echo -e "\\nERROR::\\n /tools is NOT a symlink.. /tools must point to \$(MOUNT_PT)/tools\\n" && false;\\533 fi;534 535 @if [ ! -e /tools ]; then \\536 echo -e "\\nERROR::\\nThe target /tools points to does not exist.\\nVerify the target.. \$(MOUNT_PT)/tools\\n" && false;\\537 fi;538 539 @if ! stat -c %N /tools | grep "\$(MOUNT_PT)/tools" >/dev/null ; then \\540 echo -e "\\nERROR::\\nThe symlink \\"/tools\\" does not point to \\"\$(MOUNT_PT)/tools\\".\\nCorrect the problem and rerun\\n" && false;\\541 fi;542 543 @if [ -f ???-kernfs ]; then \\544 mkdir -pv \$(MOUNT_PT)/{dev,proc,sys};\\545 if [ ! -e \$(MOUNT_PT)/dev/console ]; then \\546 mknod -m 600 \$(MOUNT_PT)/dev/console c 5 1;\\547 fi;\\548 if [ ! -e \$(MOUNT_PT)/dev/null ]; then \\549 mknod -m 666 \$(MOUNT_PT)/dev/null c 1 3;\\550 fi;\\551 if ! mount -l | grep bind >/dev/null ; then \\552 mount --bind /dev \$(MOUNT_PT)/dev;\\553 fi;\\554 if ! mount -l | grep "\$(MOUNT_PT)/dev/pts" >/dev/null ; then \\555 mount -vt devpts devpts \$(MOUNT_PT)/dev/pts;\\556 fi;\\557 if ! mount -l | grep "\$(MOUNT_PT)/dev/shm" >/dev/null ; then \\558 mount -vt tmpfs shm \$(MOUNT_PT)/dev/shm;\\559 fi;\\560 if ! mount -l | grep "\$(MOUNT_PT)/proc" >/dev/null ; then \\561 mount -vt proc proc \$(MOUNT_PT)/proc;\\562 fi;\\563 if ! mount -l | grep "\$(MOUNT_PT)/sys" >/dev/null ; then \\564 mount -vt sysfs sysfs \$(MOUNT_PT)/sys;\\565 fi;\\566 fi;567 526 568 527 EOF
Note:
See TracChangeset
for help on using the changeset viewer.