summaryrefslogtreecommitdiff
path: root/build64
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-09-26 11:20:16 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-09-26 11:20:16 +0100
commit50528cc875eb7869bf96b5c623adcee009abade1 (patch)
tree76faeaef7377446ae61676d979f64bf5492bdb20 /build64
parent9fa9e4692de2f6d600ebe13fdf0ff80f136df91d (diff)
adapt vasile to kernel 4.1 LTS, and to build.git repo change
Diffstat (limited to 'build64')
-rwxr-xr-xbuild6410
1 files changed, 5 insertions, 5 deletions
diff --git a/build64 b/build64
index 41bea4a..f41ab06 100755
--- a/build64
+++ b/build64
@@ -5,15 +5,15 @@ chrootpreparex64 () {
# if safe, trigger start && break the loop to build packages
# else trigger stop && cleanup && check again
while : true ; do
- if [[ ! -d "$rodir" && ! -d "$rwdir" && ! -d "$overlaydir" ]] ; then
- for i in "$rodir" "$rwdir" "$overlaydir" ; do
+ if [[ ! -d "$rodir" && ! -d "$rwdir" && ! -d "$workdir" && ! -d "$overlaydir" ]] ; then
+ for i in "$rodir" "$rwdir" "$workdir" "$overlaydir" ; do
mkdir "$i"
done
chrootstartx64
break
- elif [[ -d "$rodir" && -d "$rwdir" && -d "$overlaydir" ]] ; then
+ elif [[ -d "$rodir" && -d "$rwdir" && -d "$workdir" && -d "$overlaydir" ]] ; then
chrootstop
- for i in "$rodir" "$rwdir" "$overlaydir" ; do
+ for i in "$rodir" "$rwdir" "$workdir" "$overlaydir" ; do
rm -rf "$i"
done
continue
@@ -33,5 +33,5 @@ main () {
fi
}
-main
+main
exit 0