瀏覽代碼

D

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

+ 10
- 6
builder/build.sh 查看文件

@@ -20,9 +20,11 @@ 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 --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES
apt-get -m --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES || true
sleep 25
apt-get -m --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES || true
sleep 25
apt-get --ignore-missing --fix-missing install --no-install-recommends -y $PACKAGES
EOF
fi
log "End ${SUB_STAGE_DIR}/${i}-packages-nr"
@@ -32,9 +34,11 @@ 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 --ignore-missing --fix-missing install -y $PACKAGES
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install -y $PACKAGES
apt-get -o APT::Acquire::Retries=3 --ignore-missing --fix-missing install -y $PACKAGES
apt-get -m --ignore-missing --fix-missing install -y $PACKAGES || true
sleep 25
apt-get -m --ignore-missing --fix-missing install -y $PACKAGES || true
sleep 25
apt-get --ignore-missing --fix-missing install -y $PACKAGES
EOF
fi
log "End ${SUB_STAGE_DIR}/${i}-packages"


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

@@ -1,4 +1,3 @@
deb http://www.mirrorservice.org/sites/archive.raspbian.org/raspbian
f buster main
deb http://archive.raspberrypi.org/debian/ buster main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ buster main

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

@@ -1,3 +1,3 @@
deb rsync://mirrors.ocf.berkeley.edu/raspbian/raspbian buster main contrib non-free rpi
deb http://mirrors.ocf.berkeley.edu/raspbian/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…
取消
儲存