X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=scripts%2FBuild-Distro;h=70d501e155e00d0385b44041dfd7f7584d7d5db5;hb=c7b7c7d4ce2f5a6947e42ff37d9584d26eb52ba4;hp=a5c3a9aca06ddaceb4e62509093220181dc7a4ea;hpb=44395e5227c39f31ee6dcebc41fcb9afb70087e5;p=hdw-linux%2Fhdw-linux.git diff --git a/scripts/Build-Distro b/scripts/Build-Distro index a5c3a9a..70d501e 100755 --- a/scripts/Build-Distro +++ b/scripts/Build-Distro @@ -6,7 +6,7 @@ # # define max priority -max=13 +max=18 stages="0 1" no_src_del="" @@ -114,7 +114,7 @@ for stage in $stages; do echo_g "done, `date | awk '{ print $4 }'`" # make binary tar package if [ "$hdw_make_package" = "1" -a \ - "$hdw_status" -ge "2" ] ; then + "$stage" -ge "2" ] ; then echo -n "creating binary package ..." if [ -d binaries/{$hdw_arch}-${hdw_arch_opt}/$package ] ; then echo -n " (deleting old first)" @@ -248,7 +248,7 @@ EOT exit 1 fi # remove buildorder files - rm -f $root/usr/src/hdw-linux/build_order* + rm -f $root/chroot.sh # last message echo echo_w "you should now have build your hdw-linux distro"