summaryrefslogtreecommitdiff
path: root/build32
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 /build32
parent9fa9e4692de2f6d600ebe13fdf0ff80f136df91d (diff)
adapt vasile to kernel 4.1 LTS, and to build.git repo change
Diffstat (limited to 'build32')
-rwxr-xr-xbuild328
1 files changed, 4 insertions, 4 deletions
diff --git a/build32 b/build32
index 7c84de6..01729b9 100755
--- a/build32
+++ b/build32
@@ -5,15 +5,15 @@ chrootpreparex86 () {
# 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
chrootstartx86
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