aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-08-06 03:28:21 +0200
committerSven Gothel <[email protected]>2021-08-06 03:28:21 +0200
commit213aa304cd1b8350f1dd2036cb5dfc1e5ed1e9d6 (patch)
treea1e020f2bbea8f35f902c612eaceb5fd9ba60e19 /scripts
parente1dca8cd8ef265dcaaceaa579737828e92ea9065 (diff)
Only use raspberry.org package source for Raspi-armhf is explicitly chosen via `PREFER_RASPI_SOURCE=1`
This change reworked commit 53b2203c5d25f86faf6ac4711b0a7e370bf8689e, i.e. reverts if PREFER_RASPI_SOURCE is not set to `1`
Diffstat (limited to 'scripts')
-rw-r--r--scripts/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common b/scripts/common
index e41cd95..4ff9a96 100644
--- a/scripts/common
+++ b/scripts/common
@@ -18,7 +18,7 @@ bootstrap(){
BOOTSTRAP_ARGS+=(--arch ${TARGET_ARCH})
BOOTSTRAP_ARGS+=(--include gnupg)
BOOTSTRAP_ARGS+=(--components "main,contrib,non-free")
- if [ "${TARGET_RASPI}" = "1" -a "${TARGET_ARCH}" = "armhf" ]; then
+ if [ "${USE_RASPI_SOURCE}" = "1" ]; then
BOOTSTRAP_ARGS+=(--keyring "${STAGE_DIR}/files/raspberrypi.gpg")
fi
BOOTSTRAP_ARGS+=("$@")