From ef24db95152e138f2a0385bc33d37ad69dd091f3 Mon Sep 17 00:00:00 2001 From: Eddie Cai Date: Thu, 17 Mar 2022 09:50:32 +0800 Subject: [PATCH 1/3] modify parameter to debootstrap set arch for user, use cache dir, remove keyring Signed-off-by: Eddie Cai --- scripts/common | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/common b/scripts/common index e476f0f..8197fc4 100644 --- a/scripts/common +++ b/scripts/common @@ -8,10 +8,10 @@ bootstrap(){ local BOOTSTRAP_ARGS=() export http_proxy=${APT_PROXY} - - BOOTSTRAP_ARGS+=(--arch armhf) + BOOTSTRAP_ARGS+=(--arch ${ARCH}) BOOTSTRAP_ARGS+=(--components "main,contrib,non-free") - BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/raspberrypi.gpg") + BOOTSTRAP_ARGS+=(--cache-dir "${WORK_DIR}/cache") + # BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/debian.gpg") BOOTSTRAP_ARGS+=(--exclude=info) BOOTSTRAP_ARGS+=(--include=ca-certificates) BOOTSTRAP_ARGS+=("$@") -- 2.20.1