diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-08-30 09:21:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-08-30 09:21:16 +0100 |
commit | 92b62f115b2634086483b5bbf7ded04615814c2f (patch) | |
tree | d5d24484be5b5f6e28af568ee114dd53567cff2d /build32 | |
parent | 34ba1e37e44f7b7af2f1243dc9dc75a6a9c6ecdb (diff) |
move common functions into libvasile
Diffstat (limited to 'build32')
-rwxr-xr-x | build32 | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -38,29 +38,6 @@ envkogaionstart () { mount -t tmpfs -o nosuid,nodev,noexec none "$overlaydir"/tmp } -envkogaionstop () { - # umount squashfs + overlayfs chroot - umount -l "$overlaydir"/proc > /dev/null 2>&1 - umount -l "$overlaydir"/sys > /dev/null 2>&1 - umount -l "$overlaydir"/dev/pts > /dev/null 2>&1 - umount -l "$overlaydir"/dev/shm > /dev/null 2>&1 - umount -l "$overlaydir"/dev > /dev/null 2>&1 - umount -l "$overlaydir"/tmp > /dev/null 2>&1 - umount -l "$overlaydir"/usr/portage/packages > /dev/null 2>&1 - umount -l "$overlaydir"/mnt > /dev/null 2>&1 - umount -l "$overlaydir" > /dev/null 2>&1 - umount -l "$rodir" > /dev/null 2>&1 -} - -envcheckroot () { - if [[ "$(whoami)" != root ]] ; then - echo "" - echo "You're not root?...No cookies for you, go away !!!" - echo "" - exit 1 - fi -} - envkogaionsquashfsintegrity () { # our bare metal buildserver is x86_64 but we want to build 32bit packages as well # run this script with linux32 to fool it we run i686 and to build 32bit packages |