Files
qrtr/ci/debian.cross-compile.sh
Luca Weiss 3edda0ebec ns: Drop qrtr-ns
The qrtr-ns has been superceded by the in-kernel nameserver since
multiple years. If anybody wants to do archeology, they can find qrtr-ns
with old releases / in the git history. Drop it and remove quite some
code.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
2025-11-21 13:16:29 +01:00

26 lines
548 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz>
# Copyright (c) 2021 Canonical Ltd.
# Copyright (c) 2023 Linaro Ltd
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
# <krzk@kernel.org>
#
set -ex
if [ -z "$ARCH" ]; then
echo "missing \$ARCH!" >&2
exit 1
fi
dpkg --add-architecture $ARCH
apt update
apt install -y --no-install-recommends \
libc6-dev:${ARCH} \
gcc-`dpkg-architecture -a ${ARCH} -q DEB_TARGET_GNU_TYPE`
echo "Install finished: $0"