diff options
author | Sven Gothel <[email protected]> | 2021-08-06 03:28:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-08-06 03:28:21 +0200 |
commit | 213aa304cd1b8350f1dd2036cb5dfc1e5ed1e9d6 (patch) | |
tree | a1e020f2bbea8f35f902c612eaceb5fd9ba60e19 /scripts | |
parent | e1dca8cd8ef265dcaaceaa579737828e92ea9065 (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/common | 2 |
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+=("$@") |