No longer manage Wheezy initrd

This commit is contained in:
Jeremy Gardais 2020-03-17 17:07:32 +01:00
parent b78de6d7b4
commit 2f47067534
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 6 additions and 3 deletions

View File

@ -1,12 +1,15 @@
#!/bin/bash
# This script do the following:
# Download Debian Initrd for Stretch, Buster, Jessie, Wheezy and Sid
# Download Debian Initrd for Buster, Stretch, Jessie and Sid
# Download firmwares:
# bnx2
# all non-free (for tigon)
# Myricom for IBM
# qlogic
# iwlwifi (Intel WiFi for user's laptop)
# Extract all downloaded files
# Make a new initrd with the previous firmwares
# Make a new initrd with the previous firmwares with XZ format
if command -v in.tftpd > /dev/null; then
source /etc/default/tftpd-hpa
@ -14,7 +17,7 @@ else
TFTP_DIRECTORY="/srv/tftp"
fi
for DISTRO in stretch buster jessie wheezy sid; do # For ALL Debian's version
for DISTRO in buster stretch jessie sid; do # For ALL Debian's version
TEMP_DIR=$(mktemp -d)
pushd "${TEMP_DIR}" > /dev/null