scripts/ Use deb.debian.org fastly instead of ftp.fr
This commit is contained in:
parent
b0d6c5f152
commit
d519e12ffd
|
@ -30,10 +30,10 @@ for DISTRO in buster bullseye stretch jessie sid; do # For ALL Debian's version
|
||||||
pushd ${DEBIAN_INSTALLER_DIR}/${DISTRO}/${ARCH} > /dev/null
|
pushd ${DEBIAN_INSTALLER_DIR}/${DISTRO}/${ARCH} > /dev/null
|
||||||
|
|
||||||
# Download files
|
# Download files
|
||||||
#wget http://ftp.fr.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/linux -O linux
|
#wget http://deb.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/linux -O linux
|
||||||
#wget http://ftp.fr.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/initrd.gz -O initrd.gz
|
#wget http://deb.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/initrd.gz -O initrd.gz
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/linux -O linux
|
wget --quiet http://deb.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/linux -O linux
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/initrd.gz -O initrd.gz
|
wget --quiet http://deb.debian.org/debian/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/debian-installer/${ARCH}/initrd.gz -O initrd.gz
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
# Config file
|
# Config file
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
# From latecommand - Debian's preseed
|
# From latecommand - Debian's preseed
|
||||||
deb http://ftp.fr.debian.org/debian/ bullseye main non-free contrib
|
deb http://deb.debian.org/debian/ bullseye main non-free contrib
|
||||||
deb-src http://ftp.fr.debian.org/debian/ bullseye main non-free contrib
|
deb-src http://deb.debian.org/debian/ bullseye main non-free contrib
|
||||||
|
|
||||||
deb http://security.debian.org/debian-security bullseye/updates main contrib non-free
|
deb http://security.debian.org/debian-security bullseye/updates main contrib non-free
|
||||||
deb-src http://security.debian.org/debian-security bullseye/updates main contrib non-free
|
deb-src http://security.debian.org/debian-security bullseye/updates main contrib non-free
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# From latecommand - Debian's preseed
|
# From latecommand - Debian's preseed
|
||||||
deb http://ftp.fr.debian.org/debian/ buster main non-free contrib
|
deb http://deb.debian.org/debian/ buster main non-free contrib
|
||||||
deb-src http://ftp.fr.debian.org/debian/ buster main non-free contrib
|
deb-src http://deb.debian.org/debian/ buster main non-free contrib
|
||||||
|
|
||||||
deb http://security.debian.org/debian-security buster/updates main contrib non-free
|
deb http://security.debian.org/debian-security buster/updates main contrib non-free
|
||||||
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
|
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# From latecommand - Debian's preseed
|
# From latecommand - Debian's preseed
|
||||||
deb http://ftp.fr.debian.org/debian/ sid main non-free contrib
|
deb http://deb.debian.org/debian/ sid main non-free contrib
|
||||||
deb-src http://ftp.fr.debian.org/debian/ sid main non-free contrib
|
deb-src http://deb.debian.org/debian/ sid main non-free contrib
|
||||||
|
|
|
@ -23,8 +23,8 @@ for DISTRO in buster bullseye stretch jessie sid; do # For ALL Debian's version
|
||||||
pushd "${TEMP_DIR}" > /dev/null
|
pushd "${TEMP_DIR}" > /dev/null
|
||||||
|
|
||||||
# Download and uncompress original initrd
|
# Download and uncompress original initrd
|
||||||
#wget http://ftp.fr.debian.org/debian/dists/${DISTRO}/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
#wget http://deb.debian.org/debian/dists/${DISTRO}/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/dists/${DISTRO}/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
wget --quiet http://deb.debian.org/debian/dists/${DISTRO}/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
|
||||||
mkdir "${TEMP_DIR}"/mkinitrd
|
mkdir "${TEMP_DIR}"/mkinitrd
|
||||||
pushd "${TEMP_DIR}"/mkinitrd/ > /dev/null
|
pushd "${TEMP_DIR}"/mkinitrd/ > /dev/null
|
||||||
zcat ../initrd.gz | cpio -iv
|
zcat ../initrd.gz | cpio -iv
|
||||||
|
@ -32,28 +32,28 @@ for DISTRO in buster bullseye stretch jessie sid; do # For ALL Debian's version
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
||||||
# Download bnx2's firmware and uncompress it
|
# Download bnx2's firmware and uncompress it
|
||||||
#wget http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.43_all.deb
|
#wget http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.43_all.deb
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.43_all.deb
|
wget --quiet http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-bnx2_0.43_all.deb
|
||||||
dpkg-deb -x firmware-bnx2_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
dpkg-deb -x firmware-bnx2_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
||||||
|
|
||||||
# Download tigon(all non-free)'s firmware and uncompress it
|
# Download tigon(all non-free)'s firmware and uncompress it
|
||||||
#wget http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-linux-nonfree_0.43_all.deb
|
#wget http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-linux-nonfree_0.43_all.deb
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-linux-nonfree_0.43_all.deb
|
wget --quiet http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-linux-nonfree_0.43_all.deb
|
||||||
dpkg-deb -x firmware-linux-nonfree_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
dpkg-deb -x firmware-linux-nonfree_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
||||||
|
|
||||||
# Download myricom for IBM
|
# Download myricom for IBM
|
||||||
#wget http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-myricom_0.43_all.deb
|
#wget http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-myricom_0.43_all.deb
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-myricom_0.43_all.deb
|
wget --quiet http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-myricom_0.43_all.deb
|
||||||
dpkg-deb -x firmware-myricom_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
dpkg-deb -x firmware-myricom_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
||||||
|
|
||||||
# Download qlogic
|
# Download qlogic
|
||||||
#wget http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-qlogic_0.43_all.deb
|
#wget http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-qlogic_0.43_all.deb
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-qlogic_0.43_all.deb
|
wget --quiet http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-qlogic_0.43_all.deb
|
||||||
dpkg-deb -x firmware-qlogic_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
dpkg-deb -x firmware-qlogic_0.43_all.deb "${TEMP_DIR}"/mkinitrd
|
||||||
|
|
||||||
# Download iwlwifi
|
# Download iwlwifi
|
||||||
#wget --quiet http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20190717-2_all.deb -O firmware-iwlwifi_all.deb
|
#wget --quiet http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20190717-2_all.deb -O firmware-iwlwifi_all.deb
|
||||||
wget --quiet http://ftp.fr.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20210315-2_all.deb -O firmware-iwlwifi_all.deb
|
wget --quiet http://deb.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20210315-2_all.deb -O firmware-iwlwifi_all.deb
|
||||||
dpkg-deb -x firmware-iwlwifi_all.deb "${TEMP_DIR}"/mkinitrd
|
dpkg-deb -x firmware-iwlwifi_all.deb "${TEMP_DIR}"/mkinitrd
|
||||||
|
|
||||||
# Make a new initrd
|
# Make a new initrd
|
||||||
|
|
Loading…
Reference in New Issue