Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-archlinux32-package24
1 files changed, 2 insertions, 22 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 1ce64ee..544019d 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -24,9 +24,6 @@ git_repo_path='/usr/src/archlinux32/packages'
upstream_git_path='/usr/src/archlinux/packages'
upstream_community_git_path='/usr/src/archlinux/community'
archlinuxewe_git_path=~erich/'archlinuxewe'
-vagrant_path=$(
- readlink -f ~/"virtual-boxes/archlinux32-test"
-)
base_dir=$(
dirname "$(
readlink -f "$0"
@@ -127,18 +124,10 @@ case "${pkgname}" in
;;
esac
-if ssh -o ConnectTimeout=1 arch32-test true; then
- vm_is_running=true
-else
- vm_is_running=false
-fi
-
-if ! ${vm_is_running}; then
- cd "${vagrant_path}"
- vagrant up
+if ! ssh arch32-test 'rm -rf --one-file-system "'"${pkgname}"'"'; then
+ >&2 echo 'arch32-test vm is not running'
fi
-ssh arch32-test 'rm -rf --one-file-system "'"${pkgname}"'"'
case ${update_path} in
'archlinuxewe')
@@ -488,12 +477,3 @@ case ${update_path} in
esac
ssh arch32-test 'rm -rf --one-file-system '"${pkgname}"
-
-if ! ${vm_is_running}; then
- ssh arch32-test 'sudo poweroff'
- err=$?
- if [ ${err} -eq 255 ]; then
- err=0
- fi
- exit ${err}
-fi