diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-09-26 11:20:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-09-26 11:20:16 +0100 |
commit | 50528cc875eb7869bf96b5c623adcee009abade1 (patch) | |
tree | 76faeaef7377446ae61676d979f64bf5492bdb20 /build64 | |
parent | 9fa9e4692de2f6d600ebe13fdf0ff80f136df91d (diff) |
adapt vasile to kernel 4.1 LTS, and to build.git repo change
Diffstat (limited to 'build64')
-rwxr-xr-x | build64 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |