mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add container check for release and server release
This commit is contained in:
parent
7595efc15f
commit
117095cdd8
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
. /usr/lib/archboot/release.sh
|
||||
[[ -z "${1}" ]] && _usage
|
||||
_root_check
|
||||
_container_check
|
||||
echo "Start release creation in ${1} ..."
|
||||
_create_iso "$@" || exit 1
|
||||
_create_boot || exit 1
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/server.sh
|
||||
_root_check
|
||||
_container_check
|
||||
if echo "${_BASENAME}" | grep -qw riscv64 || echo "${_BASENAME}" | grep -qw aarch64; then
|
||||
_update_pacman_chroot || exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue