diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-11-18 18:09:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-11-18 18:09:48 +0000 |
commit | da7769eb337baf8cc5b288acb6b797bf50132f7f (patch) | |
tree | 923df9a9010ba19df581ecaa2483cdc6962e6b82 /makepkg | |
parent | 0f4c653ab18eedc704efe87f6a3b7aa74e79f6ff (diff) |
merge makeiso and makepkg scripts into libvasile
Diffstat (limited to 'makepkg')
-rwxr-xr-x | makepkg | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/makepkg b/makepkg deleted file mode 100755 index d8590b5..0000000 --- a/makepkg +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -chrootprepare () { - # check our environment for sanity - # 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 "$workdir" && ! -d "$overlaydir" ]] ; then - for i in "$rodir" "$rwdir" "$workdir" "$overlaydir" ; do - mkdir "$i" - done - chrootstart - break - elif [[ -d "$rodir" && -d "$rwdir" && -d "$workdir" && -d "$overlaydir" ]] ; then - chrootstop - for i in "$rodir" "$rwdir" "$workdir" "$overlaydir" ; do - rm -rf "$i" - done - continue - fi - done -} - -main () { - chrootchecksum - chrootprepare - chrootoverlays - chrootbuildsystem - chrootdevtree - chrootbuild - chrootx64 - chrootstop -} - -main -exit 0 |