瀏覽代碼

Force IPv6.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 年之前
父節點
當前提交
f17b5a84e9
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      builder/build.sh
  2. +1
    -1
      builder/stage0/00-configure-apt/files/sources.list

+ 2
- 2
builder/build.sh 查看文件

@@ -20,7 +20,7 @@ EOF
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages-nr")"
if [ -n "$PACKAGES" ]; then
on_chroot << EOF
apt-get -o APT::Acquire::Retries=3 install --no-install-recommends -y $PACKAGES
apt-get -o Acquire::ForceIPv6=true -o APT::Acquire::Retries=3 install --no-install-recommends -y $PACKAGES
EOF
fi
log "End ${SUB_STAGE_DIR}/${i}-packages-nr"
@@ -30,7 +30,7 @@ EOF
PACKAGES="$(sed -f "${SCRIPT_DIR}/remove-comments.sed" < "${i}-packages")"
if [ -n "$PACKAGES" ]; then
on_chroot << EOF
apt-get -o APT::Acquire::Retries=3 install -y $PACKAGES
apt-get -o Acquire::ForceIPv6=true -o APT::Acquire::Retries=3 install -y $PACKAGES
EOF
fi
log "End ${SUB_STAGE_DIR}/${i}-packages"


+ 1
- 1
builder/stage0/00-configure-apt/files/sources.list 查看文件

@@ -1,3 +1,3 @@
deb http://mirror.umd.edu/raspbian/raspbian buster main contrib non-free rpi
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

Loading…
取消
儲存