summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-08 11:00:21 +0200
committerErich Eckner <git@eckner.net>2021-04-08 11:00:21 +0200
commit78e0eee2f9c8f4f1a191dd8c30a9f66deded040d (patch)
treef254f36998351c92999aa218fffcf341591ef48a /update-archlinux32-package
parent0f99f1f81016d250644ce84a7410fe3344fe44c6 (diff)
downloaddevops-78e0eee2f9c8f4f1a191dd8c30a9f66deded040d.tar.xz
update-archlinux32-package: remove vagrant stuff
Diffstat (limited to 'update-archlinux32-package')
-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