From 086b8d21bfd139731188342b1abdb922fc4b446f Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 26 Jul 2022 01:09:03 -0400 Subject: [PATCH] Remove lxd-build-appimage.sh --- lxd-build-appimage.sh | 74 ------------------------------------------- 1 file changed, 74 deletions(-) delete mode 100755 lxd-build-appimage.sh diff --git a/lxd-build-appimage.sh b/lxd-build-appimage.sh deleted file mode 100755 index 400fec55a..000000000 --- a/lxd-build-appimage.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/bash -ex - -############################################################### -# Uses LXD to create an Ubuntu focal container and produce # -# a reasonably portable AppImage of Metaforce. # -############################################################### - -VERSION=${VERSION:-local} -CONTAINER_NAME=metaforce-ci - -# Set up container, deleting existing if necessary -if lxc info $CONTAINER_NAME >& /dev/null -then - lxc delete $CONTAINER_NAME --force -fi -lxc init ubuntu:20.04 $CONTAINER_NAME - -# Inject build script -lxc file push - $CONTAINER_NAME/root/dobuild.sh </dev/null; do echo 'Waiting for network...'; sleep 1; done" - -# Run build script -lxc exec $CONTAINER_NAME -t -- bash /root/dobuild.sh - -# Retrieve AppImage -lxc file pull $CONTAINER_NAME/URDE-$VERSION-$(uname -m).AppImage . - -# Cleanup -lxc delete $CONTAINER_NAME --force