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

Завантаження…
Відмінити
Зберегти