- Timestamp:
- 10/21/2008 09:29:13 PM (16 years ago)
- Branches:
- 2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 75d6d1c
- Parents:
- 15c9e72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r15c9e72 r7c17066 438 438 fi 439 439 440 ck_LFS: 441 @if [ \`echo \$(LFS)\`x = "x" ]; then \\ 442 echo "--------------------------------------------------"; \\ 443 echo "Enviroment variable LFS must be set"; \\ 444 echo "--------------------------------------------------"; \\ 445 exit 1; \ 446 fi 447 440 448 mk_SETUP: 441 449 @\$(call echo_SU_request) … … 479 487 @touch \$@ 480 488 489 devices: ck_LFS ck_UID 490 sudo mount -v --bind /dev \$(LFS)/dev 491 sudo mount -vt devpts devpts \$(LFS)/dev/pts 492 sudo mount -vt tmpfs shm \$(LFS)/dev/shm 493 sudo mount -vt proc proc \$(LFS)/proc 494 sudo mount -vt sysfs sysfs \$(LFS)/sys 495 496 teardown: ck_LFS 497 sudo umount -v \$(LFS)/sys 498 sudo umount -v \$(LFS)/proc 499 sudo umount -v \$(LFS)/dev/shm 500 sudo umount -v \$(LFS)/dev/pts 501 sudo umount -v \$(LFS)/dev 502 503 chroot: devices 504 sudo /usr/sbin/chroot \$(LFS) /tools/bin/env -i \\ 505 HOME=/root TERM=\$(TERM) PS1='\\u:\\w\\\$\$ ' \\ 506 PATH=/bin:/usr/bin:/sbin:/usr/sbin \\ 507 /tools/bin/bash --login 508 \$(MAKE) teardown 481 509 482 510 SETUP: $chapter4
Note:
See TracChangeset
for help on using the changeset viewer.