release: Update appimage and docker scripts for new release.
This commit is contained in:
parent
7c3db5dc87
commit
afa6870484
3 changed files with 3 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ set -e
|
||||||
|
|
||||||
|
|
||||||
DOCKER_IMAGE=eris
|
DOCKER_IMAGE=eris
|
||||||
ARGS=( $(getopt -u -o hw:e:t:c: --long help,workers:,editor:,theme:,compression: -- "$@") )
|
ARGS=( $(getopt -u -o hiw:e:t:c: --long help,info,workers:,editor:,theme:,compression: -- "$@") )
|
||||||
if [ "${ARGS[-1]}" == "--" ]; then
|
if [ "${ARGS[-1]}" == "--" ]; then
|
||||||
OPTION_ARGS="${ARGS[@]:0:${#ARGS[@]}-1}" # ARGS[:-1]
|
OPTION_ARGS="${ARGS[@]:0:${#ARGS[@]}-1}" # ARGS[:-1]
|
||||||
DOCKER_ARGS="$DOCKER_IMAGE $OPTION_ARGS"
|
DOCKER_ARGS="$DOCKER_IMAGE $OPTION_ARGS"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import contextlib
|
||||||
import enum
|
import enum
|
||||||
import functools
|
import functools
|
||||||
import importlib
|
import importlib
|
||||||
|
import importlib.util
|
||||||
import importlib.resources
|
import importlib.resources
|
||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ def run_in_container(container, command):
|
||||||
|
|
||||||
def build_ubuntu():
|
def build_ubuntu():
|
||||||
cmd("sudo debootstrap --components=main,restricted,universe,multiverse "
|
cmd("sudo debootstrap --components=main,restricted,universe,multiverse "
|
||||||
"eoan ubuntu.part http://au.archive.ubuntu.com/ubuntu/")
|
"focal ubuntu.part http://au.archive.ubuntu.com/ubuntu/")
|
||||||
run_in_container("ubuntu.part",
|
run_in_container("ubuntu.part",
|
||||||
"ln -sf /lib/systemd/resolv.conf /etc/resolv.conf")
|
"ln -sf /lib/systemd/resolv.conf /etc/resolv.conf")
|
||||||
os.rename("ubuntu.part", "ubuntu")
|
os.rename("ubuntu.part", "ubuntu")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue