From 6de5e87ccada1c33938cfa0b5aae61fd4d8f6e4a Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 31 Oct 2023 15:32:14 -0400 Subject: [PATCH] Install libsecret-1-dev in cross script Signed-off-by: Timothy Johnson --- src/secrets/scripts/configure-cross.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/secrets/scripts/configure-cross.sh b/src/secrets/scripts/configure-cross.sh index 00c3959c..ac95d023 100755 --- a/src/secrets/scripts/configure-cross.sh +++ b/src/secrets/scripts/configure-cross.sh @@ -7,7 +7,11 @@ set_env() { export PKG_CONFIG_PATH="$CHROOT$1/pkgconfig" } -case "$1" in +CROSS_DEB_ARCH=$1 +dpkg --add-architecture $CROSS_DEB_ARCH +apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libsecret-1-dev:$CROSS_DEB_ARCH + +case "$CROSS_DEB_ARCH" in "aarch64") set_env "/usr/lib/aarch64-linux-gnu" ;;