Upgrade from buster to bullseye

This commit is contained in:
KOSHIKAWA Kenichi 2021-08-26 21:57:59 +09:00
parent ccd1d72e64
commit 8ca448ad1f
4 changed files with 19 additions and 19 deletions

View File

@ -112,9 +112,9 @@ brainux:
mkdir -p brainux mkdir -p brainux
@if [ "$(CI)" = "true" ]; then \ @if [ "$(CI)" = "true" ]; then \
echo "I'm in CI and debootstrap without cache."; \ echo "I'm in CI and debootstrap without cache."; \
sudo debootstrap --arch=armel --foreign buster brainux/; \ sudo debootstrap --arch=armel --foreign bullseye brainux/; \
else \ else \
sudo debootstrap --arch=armel --foreign buster brainux/ http://localhost:65432/debian/; \ sudo debootstrap --arch=armel --foreign bullseye brainux/ http://localhost:65432/debian/; \
fi fi
sudo cp /usr/bin/qemu-arm-static brainux/usr/bin/ sudo cp /usr/bin/qemu-arm-static brainux/usr/bin/
sudo cp ./os-brainux/setup_brainux.sh brainux/ sudo cp ./os-brainux/setup_brainux.sh brainux/

View File

@ -80,7 +80,7 @@ Build Linux
1. Confirm that `linux-brain/arch/arm/boot/zImage` exists. 1. Confirm that `linux-brain/arch/arm/boot/zImage` exists.
Bootstrap Debian 10 (buster) Bootstrap Debian 11 (bullseye)
---------------------------- ----------------------------
1. Run `make ldefconfig lbuild`. 1. Run `make ldefconfig lbuild`.

View File

@ -1,8 +1,8 @@
PRETTY_NAME="Brainux GNU/Linux 10 (buster)" PRETTY_NAME="Brainux GNU/Linux 11 (bullseye)"
NAME="Brainux GNU/Linux" NAME="Brainux GNU/Linux"
VERSION_ID="10" VERSION_ID="11"
VERSION="10 (buster)" VERSION="11 (bullseye)"
VERSION_CODENAME=buster VERSION_CODENAME=bullseye
ID=debian ID=debian
HOME_URL="https://github.com/brain-hackers/README" HOME_URL="https://github.com/brain-hackers/README"
SUPPORT_URL="https://github.com/brain-hackers/buildbrain" SUPPORT_URL="https://github.com/brain-hackers/buildbrain"

View File

@ -20,12 +20,12 @@ else
fi fi
cat <<EOF > /etc/apt/sources.list cat <<EOF > /etc/apt/sources.list
deb http://${REPO}/debian buster main contrib non-free deb http://${REPO}/debian bullseye main contrib non-free
deb-src http://${REPO}/debian buster main contrib non-free deb-src http://${REPO}/debian bullseye main contrib non-free
deb http://${REPO}/debian buster-updates main contrib non-free deb http://${REPO}/debian bullseye-updates main contrib non-free
deb-src http://${REPO}/debian buster-updates main contrib non-free deb-src http://${REPO}/debian bullseye-updates main contrib non-free
deb http://${REPO_SECURITY}/debian-security buster/updates main contrib non-free deb http://${REPO_SECURITY}/debian-security bullseye/updates main contrib non-free
deb-src http://${REPO_SECURITY}/debian-security buster/updates main contrib non-free deb-src http://${REPO_SECURITY}/debian-security bullseye/updates main contrib non-free
EOF EOF
cat <<EOF > /etc/apt/apt.conf.d/90-norecommend cat <<EOF > /etc/apt/apt.conf.d/90-norecommend
@ -104,11 +104,11 @@ EOF
# Get wild # Get wild
cat <<EOF > /etc/apt/sources.list cat <<EOF > /etc/apt/sources.list
deb http://deb.debian.org/debian buster main contrib non-free deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian-security buster/updates main contrib non-free deb http://deb.debian.org/debian-security bullseye/updates main contrib non-free
deb-src http://deb.debian.org/debian-security buster/updates main contrib non-free deb-src http://deb.debian.org/debian-security bullseye/updates main contrib non-free
EOF EOF