mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +02:00
common: separate handling of aarch64 and amd64 images, for now
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -4,14 +4,18 @@
|
||||
|
||||
common=$(dirname "$(readlink -f "$0")")
|
||||
|
||||
imgdir=$1
|
||||
arch=$2
|
||||
signkey=$3
|
||||
# Temporary, separate handling of aarch64 and amd64 images.
|
||||
# Best would be to have the same for both, i.e., boot GNS3
|
||||
# with u-boot.
|
||||
if [ "$BR2_ARCH" = "aarch64" ]; then
|
||||
# shellcheck disable=SC2034
|
||||
imgdir=$1
|
||||
arch=$2
|
||||
signkey=$3
|
||||
|
||||
$common/sign.sh $arch $signkey
|
||||
$common/mkfit.sh
|
||||
$common/mkmmc.sh
|
||||
|
||||
if [ "$BR2_ARCH" = "x86_64" ]; then
|
||||
"$common/mkgns3a.sh"
|
||||
$common/sign.sh $arch $signkey
|
||||
$common/mkfit.sh
|
||||
$common/mkmmc.sh
|
||||
elif [ "$BR2_ARCH" = "x86_64" ]; then
|
||||
"$common/mkgns3a.sh"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user