mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix release script
This commit is contained in:
parent
b8ef052117
commit
f245a9b42e
3 changed files with 5 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
|||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
source /usr/lib/archboot/functions
|
||||
source /usr/lib/archboot/release_functions
|
||||
export _ARCHBOOT="archboot-arm"
|
||||
_ARCHBOOT="archboot-arm"
|
||||
[[ -z "${1}" ]] && _usage
|
||||
_root_check
|
||||
_aarch64_check
|
||||
|
@ -12,4 +12,3 @@ _create_boot
|
|||
_create_torrent
|
||||
_create_cksum
|
||||
echo "Finished release creation in ${1} ."
|
||||
unset _ARCHBOOT
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
source /usr/lib/archboot/functions
|
||||
source /usr/lib/archboot/release_functions
|
||||
export $1
|
||||
export _ARCHBOOT="archboot"
|
||||
_ARCHBOOT="archboot"
|
||||
[[ -z "${1}" ]] && _usage
|
||||
_root_check
|
||||
_x86_64_check
|
||||
|
@ -13,5 +12,4 @@ _create_boot
|
|||
_create_torrent
|
||||
_create_cksum
|
||||
echo "Finished release creation in ${1} ."
|
||||
unset _ARCHBOOT
|
||||
unset $1
|
||||
|
||||
|
|
|
@ -48,6 +48,6 @@ _generate_locales() {
|
|||
_generate_keyring() {
|
||||
# generate pacman keyring
|
||||
echo "Generate pacman keyring in container ..."
|
||||
systemd-nspawn -D "${_DIR}" pacman-key --init >/dev/null 2>&1
|
||||
systemd-nspawn -D "${_DIR}" pacman-key --populate "${_KEYRING}" >/dev/null 2>&1
|
||||
systemd-nspawn -q -D "${_DIR}" pacman-key --init >/dev/null 2>&1
|
||||
systemd-nspawn -q -D "${_DIR}" pacman-key --populate "${_KEYRING}" >/dev/null 2>&1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue