Parcourir la source

D

tags/v4.0.0-beta.1
Luigi Freitas Cruz il y a 4 ans
Parent
révision
d292a6c390
3 fichiers modifiés avec 12 ajouts et 9 suppressions
  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 Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer