atualizar repositorios em sources-final e multimadia

This commit is contained in:
manuel 2023-10-29 09:28:03 -01:00
parent b1a73871ff
commit 1be14c4fac
38 changed files with 115 additions and 74 deletions

View File

@ -4,22 +4,22 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="bullseye"
RELEASE="bookworm"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bookworm main contrib non-free
deb-src http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free
EOF
exit 0

View File

@ -4,22 +4,22 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="bullseye"
RELEASE="bookworm"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bookworm main contrib non-free
deb-src http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free
EOF
exit 0

View File

@ -4,22 +4,22 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="bullseye"
RELEASE="bookworm"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bookworm main contrib non-free
deb-src http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free
EOF
exit 0

View File

@ -0,0 +1 @@
../repos

View File

@ -1,2 +0,0 @@
deb http://www.deb-multimedia.org bullseye main non-free
deb-src http://www.deb-multimedia.org bullseye main non-free

View File

@ -1,2 +0,0 @@
deb http://www.deb-multimedia.org bullseye main non-free
deb-src http://www.deb-multimedia.org bullseye main non-free

View File

@ -4,26 +4,26 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="chimaera"
RELEASE="daedalus"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
# Main Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged daedalus main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free
# Security Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-security main contrib non-free
deb http://deb.devuan.org/merged daedalus-security main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free
# Updates Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free
# chimaera-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged chimaera-backports main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-backports main contrib non-free
# daedalus-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free
EOF

View File

@ -0,0 +1,25 @@
#!/bin/sh
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
MEDIUM_PATH="/run/live/medium"
RELEASE="daedalus"
if [ "$1" = "-u" ]; then
umount $CHROOT/$MEDIUM_PATH
rm $CHROOT/etc/apt/sources.list.d/debian-live-media.list
chroot $CHROOT apt-get update
exit 0
fi
# Remove the base sources, we will configure sources in a later phase
rm -f $CHROOT/etc/apt/sources.list.d/base.list
mkdir -p $CHROOT/$MEDIUM_PATH
mount --bind $MEDIUM_PATH $CHROOT/$MEDIUM_PATH
echo "deb [trusted=yes] file:$MEDIUM_PATH $RELEASE main" > $CHROOT/etc/apt/sources.list.d/debian-live-media.list
chroot $CHROOT apt-get update
# Attempt safest way to remove cruft
rmdir $CHROOT/run/live/medium
rmdir $CHROOT/run/live
exit 0

1
my-distro-devuan-32/repos Symbolic link
View File

@ -0,0 +1 @@
../repos

View File

@ -1,2 +0,0 @@
deb http://www.deb-multimedia.org bullseye main non-free
deb-src http://www.deb-multimedia.org bullseye main non-free

View File

@ -1,2 +0,0 @@
deb http://www.deb-multimedia.org bullseye main non-free
deb-src http://www.deb-multimedia.org bullseye main non-free

View File

@ -4,26 +4,26 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="chimaera"
RELEASE="daedalus"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
# Main Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged daedalus main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free
# Security Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-security main contrib non-free
deb http://deb.devuan.org/merged daedalus-security main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free
# Updates Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free
# chimaera-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged chimaera-backports main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-backports main contrib non-free
# daedalus-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free
EOF

View File

@ -0,0 +1,25 @@
#!/bin/sh
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
MEDIUM_PATH="/run/live/medium"
RELEASE="daedalus"
if [ "$1" = "-u" ]; then
umount $CHROOT/$MEDIUM_PATH
rm $CHROOT/etc/apt/sources.list.d/debian-live-media.list
chroot $CHROOT apt-get update
exit 0
fi
# Remove the base sources, we will configure sources in a later phase
rm -f $CHROOT/etc/apt/sources.list.d/base.list
mkdir -p $CHROOT/$MEDIUM_PATH
mount --bind $MEDIUM_PATH $CHROOT/$MEDIUM_PATH
echo "deb [trusted=yes] file:$MEDIUM_PATH $RELEASE main" > $CHROOT/etc/apt/sources.list.d/debian-live-media.list
chroot $CHROOT apt-get update
# Attempt safest way to remove cruft
rmdir $CHROOT/run/live/medium
rmdir $CHROOT/run/live
exit 0

1
my-distro-devuan-64/repos Symbolic link
View File

@ -0,0 +1 @@
../repos

View File

@ -1,2 +0,0 @@
deb http://www.deb-multimedia.org bullseye main non-free
deb-src http://www.deb-multimedia.org bullseye main non-free

View File

@ -1,2 +0,0 @@
deb http://www.deb-multimedia.org bullseye main non-free
deb-src http://www.deb-multimedia.org bullseye main non-free

View File

@ -4,26 +4,26 @@
#
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
RELEASE="chimaera"
RELEASE="daedalus"
cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
# Main Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged daedalus main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus main contrib non-free
# Security Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-security main contrib non-free
deb http://deb.devuan.org/merged daedalus-security main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-security main contrib non-free
# Updates Repo - main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-updates main contrib non-free
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-updates main contrib non-free
# chimaera-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged chimaera-backports main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-backports main contrib non-free
# daedalus-backports, previously on backports.debian.org
deb http://deb.devuan.org/merged daedalus-backports main contrib non-free
#deb-src http://deb.devuan.org/merged daedalus-backports main contrib non-free
EOF

View File

@ -2,7 +2,7 @@
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
MEDIUM_PATH="/run/live/medium"
RELEASE="chimaera"
RELEASE="daedalus"
if [ "$1" = "-u" ]; then
umount $CHROOT/$MEDIUM_PATH

View File

@ -1,2 +1,2 @@
deb https://www.deb-multimedia.org bullseye main non-free
deb-src https://www.deb-multimedia.org bullseye main non-free
deb https://www.deb-multimedia.org bookworm main non-free
deb-src https://www.deb-multimedia.org bookworm main non-free

View File

@ -1,2 +1,2 @@
deb https://www.deb-multimedia.org bullseye main non-free
deb-src https://www.deb-multimedia.org bullseye main non-free
deb https://www.deb-multimedia.org bookworm main non-free
deb-src https://www.deb-multimedia.org bookworm main non-free