# HG changeset patch # User Paul Issott # Date 1299482085 0 # Node ID 6d514a2cd9eff8e1a1bcd51b69a14f1bf1e3c66e # Parent 6dc59879adde3d1cebbdc3a0fe22af1807ab7cc5 Start to edit diff -r 6dc59879adde -r 6d514a2cd9ef chroot-scripts/cook-toolchain --- a/chroot-scripts/cook-toolchain Sun Mar 06 20:53:19 2011 +0000 +++ b/chroot-scripts/cook-toolchain Mon Mar 07 07:14:45 2011 +0000 @@ -20,7 +20,7 @@ report step "Initializing tools & environment" -# Theses fours packages will be needed later. +# These four packages will be needed later. for p in libtaz tazwok slitaz-base-files tazpkg; do tazwok cook $p done @@ -32,7 +32,7 @@ LC_ALL=POSIX # Set BUILD_HOST to something like $ARCH-tmp-linux-gnu to enable -# of the temporary toolchain. +# the temporary toolchain. BUILD_HOST=$(echo $BUILD_HOST | sed 's/\(.*\)-\(.*\)-linux-gnu/\1-tmp-linux-gnu/') PATH=/tools/bin:/tools/usr/bin:/tools/sbin:/tools/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin @@ -89,10 +89,10 @@ prepare_package report step "Running compilation rules" - # Use compile_rules if there's not function cook_tmp_toolchain in + # Use compile_rules if there's no function cook_tmp_toolchain in # the receipt. Works well if both functions are the same, as - # cook-toolchain use it's own config.site to set different defaults - # pathes. + # cook-toolchain uses its own config.site to set different default + # paths. if grep -q ^cook_tmp_toolchain\(\)$ $WOK/$PACKAGE/receipt; then cook_tmp_toolchain else @@ -104,7 +104,7 @@ report end-sublog done -# Now we erase previous chroot tools and we switch to temporary +# Now we erase previous chroot tools and switch to temporary # toolchain. report step "Setting up temporary toolchain environnment" @@ -140,7 +140,7 @@ esac mkdir -p /bin /usr/bin /usr/lib -# doing a loop so we don't get {bash,cat,echo,pwd,stty} softlink +# Doing a loop so we don't get {bash,cat,echo,pwd,stty} softlink BASIC_APPS="bash cat echo pwd stty" for i in $BASIC_APPS; do ln -s /tools/bin/$i /bin/$i @@ -159,7 +159,7 @@ # Finally, cook final* version of the toolchain packages. # * : recook toolchain against itself minus linux-api-headers # glibc binutils & gcc can be a good idea to make things -# more robust & stable; in some cases it solves dependencies +# more robust & stable; in some cases it solves dependency # loops. # Incoming packages as the only source for packages. @@ -171,7 +171,7 @@ tazwok gen-cooklist ${undigest:+--undigest=$undigest} > /tmp/toolchain.list # Next cook packages one by one. -# Cooking the list doesn't works because sh wouldn't take care +# Cooking the list doesn't work because sh won't take care # of the presence of new executables even if they're first in # $PATH. diff -r 6dc59879adde -r 6d514a2cd9ef chroot-scripts/gen-iso --- a/chroot-scripts/gen-iso Sun Mar 06 20:53:19 2011 +0000 +++ b/chroot-scripts/gen-iso Mon Mar 07 07:14:45 2011 +0000 @@ -1,6 +1,6 @@ #!/bin/sh # Little script to cook flavor in tazwok chroot waiting -# for something more consistent into tazlito. +# for something more consistent in tazlito. [ "$1" ] || { echo "Usage: gen-iso flavorname [gzip]" >&2; exit 1; } source /usr/lib/slitaz/libtaz @@ -33,6 +33,6 @@ clean-chroot report stop else - echo "$SLITAZ_DIR/flavors/$1 doesn't exists." >&2 + echo "$SLITAZ_DIR/flavors/$1 doesn't exist." >&2 exit 1 fi