Skip to content

Commit b7944cc

Browse files
authored
added bullseye-updates bullseye-security to sources.list
1 parent b770520 commit b7944cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

debian-rpi-sd-builder.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,14 @@ deb http://deb.debian.org/debian/ $MMSUITE main non-free contrib
375375
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
376376
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
377377
deb http://deb.debian.org/debian/ buster-backports main contrib non-free
378+
EOF
379+
systemd-nspawn -q -D ${MNTROOT} -a apt-get -q -y update
380+
elif [ "$MMSUITE" = buster ] then
381+
cat > ${MNTROOT}/etc/apt/sources.list <<EOF
382+
deb http://deb.debian.org/debian bullseye main contrib non-free
383+
deb http://security.debian.org/ bullseye-security main contrib non-free
384+
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
385+
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
378386
EOF
379387
systemd-nspawn -q -D ${MNTROOT} -a apt-get -q -y update
380388
fi

0 commit comments

Comments
 (0)