mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
move _ARCH to common
This commit is contained in:
parent
2d3f093c03
commit
4518d59b28
9 changed files with 3 additions and 8 deletions
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_ARCH="aarch64"
|
||||
. /etc/archboot/defaults
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/container.sh
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_ARCH="aarch64"
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/release.sh
|
||||
[[ -z "${1}" ]] && _usage
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#! /bin/bash
|
||||
_ARCH="aarch64"
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/server.sh
|
||||
_root_check
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_ARCH="riscv64"
|
||||
. /etc/archboot/defaults
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/container.sh
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_ARCH="riscv64"
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/release.sh
|
||||
[[ -z "${1}" ]] && _usage
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#! /bin/bash
|
||||
_ARCH="riscv64"
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/server.sh
|
||||
_root_check
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_ARCH="x86_64"
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/release.sh
|
||||
[[ -z "${1}" ]] && _usage
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#! /bin/bash
|
||||
_ARCH="x86_64"
|
||||
. /usr/lib/archboot/common.sh
|
||||
. /usr/lib/archboot/server.sh
|
||||
_root_check
|
||||
|
|
|
@ -8,10 +8,13 @@ _KEYRING="archlinux-keyring"
|
|||
if echo ${_BASENAME} | grep -qw aarch64; then
|
||||
_ARCHBOOT="archboot-arm"
|
||||
_KEYRING="${_KEYRING} archlinuxarm-keyring"
|
||||
_ARCH="aarch64"
|
||||
elif echo ${_BASENAME} | grep -qw riscv64; then
|
||||
_ARCHBOOT="archboot-riscv"
|
||||
_ARCH="riscv64"
|
||||
else
|
||||
_ARCHBOOT="archboot"
|
||||
_ARCH="x86_64"
|
||||
fi
|
||||
_PACMAN_MIRROR="/etc/pacman.d/mirrorlist"
|
||||
_PACMAN_CONF="/etc/pacman.conf"
|
||||
|
|
Loading…
Reference in a new issue