- Timestamp:
- 08/06/2006 09:53:10 AM (18 years ago)
- Branches:
- experimental
- Children:
- ef87eed
- Parents:
- b33a57b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS/master.sh
rb33a57b r8381f6e 1023 1023 # Add chroot commands 1024 1024 if [ "$METHOD" = "chroot" ] ; then 1025 chroot=`cat chroot/*chroot* | sed -e '/#!\/tools\/bin\/bash/d' \ 1026 -e '/^export/d' \ 1027 -e '/^logout/d' \ 1028 -e 's@ \\\@ @g' | tr -d '\n' | sed -e 's/ */ /g' \ 1029 -e 's|\\$|&&|g' \ 1030 -e 's|exit||g' \ 1031 -e 's|$| -c|' \ 1032 -e 's|"$$CLFS"|$(MOUNT_PT)|'\ 1033 -e 's|set -e||'` 1025 CHROOT_LOC="`whereis -b chroot | cut -d " " -f2`" 1026 chroot=`cat chroot/*chroot* | \ 1027 sed -e "s@chroot@$CHROOT_LOC@" \ 1028 -e '/#!\/tools\/bin\/bash/d' \ 1029 -e '/^export/d' \ 1030 -e '/^logout/d' \ 1031 -e 's@ \\\@ @g' | \ 1032 tr -d '\n' | \ 1033 sed -e 's/ */ /g' \ 1034 -e 's|\\$|&&|g' \ 1035 -e 's|exit||g' \ 1036 -e 's|$| -c|' \ 1037 -e 's|"$$CLFS"|$(MOUNT_PT)|'\ 1038 -e 's|set -e||'` 1034 1039 echo -e "CHROOT1= $chroot\n" >> $MKFILE 1035 1040 fi
Note:
See TracChangeset
for help on using the changeset viewer.