release: appimage: Fix build script.

- Fix script now that its moved to packaging subdir.
- Tests aren't really necessary within the image,
  since "eris -i" checks eris and tools.
This commit is contained in:
Andrew Hamilton 2021-12-06 14:48:31 +10:00
parent e1e9b89b2a
commit 4b1e141126

View file

@ -8,7 +8,7 @@ import sys
import tempfile
ERIS_PATH = os.path.realpath(os.path.dirname(__file__))
ERIS_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), ".."))
def cmd(command):
@ -70,8 +70,6 @@ def make_ubuntu_base():
def make_app_dir(app_dir, new_paths):
os.mkdir(app_dir)
make_sub_container("ubuntu", app_dir, new_paths)
cmd(f"cp -a {ERIS_PATH}/tests {app_dir}")
cmd(f"cp -a {ERIS_PATH}/test-all {app_dir}")
cmd(f"cp {ERIS_PATH}/packaging/appimage/* {app_dir}")