Skip to content

arm64 support #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions overlay/usr/local/sbin/tkldev-setup
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ alternate branch checked out, they will be skipped (unless -f|--force used).
Env vars:

FAB_PATH Fab PATH (default: $FAB_PATH)
FAB_ARCH Fab architecture (default: $FAB_ARCH)
BT_PATH Buildtasks PATH (default: $BT_PATH)
RELEASE Release to target - e.g. debian/bookworm (default: $RELEASE)
ARCH Arch to target (default: $ARCH)
Expand Down Expand Up @@ -70,11 +71,11 @@ unset FORCE

export RELEASE="${RELEASE:-${distro}/$(lsb_release -s -c)}"
export CODENAME="$(basename $RELEASE)"
export ARCH="${ARCH:-$(dpkg --print-architecture)}"
export FAB_ARCH="${FAB_ARCH:-$(dpkg --print-architecture)}"
export BRANCH="${tkl_ver::2}.x"
IMAGES="http://mirror.turnkeylinux.org/turnkeylinux/images"
FAB_PATH="${FAB_PATH:-/turnkey/fab}"
BOOTSTRAP_NAME="bootstrap-${CODENAME}-${ARCH}"
BOOTSTRAP_NAME="bootstrap-${CODENAME}-${FAB_ARCH}"
BOOTSTRAP_PATH="$FAB_PATH/bootstraps/${CODENAME}"
BT_PATH="${BT_PATH:-/turnkey/buildtasks}"
BT_VERIFY="$BT_PATH/bin/signature-verify"
Expand Down Expand Up @@ -186,7 +187,7 @@ for app in $APPS; do
clone_or_update turnkeylinux-apps/$app $FAB_PATH/products/$app
done

if [[ "${ARCH}" == "amd64" ]]; then
if [[ "${FAB_ARCH}" == "amd64" ]]; then
clone_or_update turnkeylinux/cdroots $FAB_PATH/cdroots $BRANCH
fi

Expand Down