Update script to adapt to the new Debian Stable.
This commit is contained in:
parent
3d051297d4
commit
b39470a49d
|
@ -18,7 +18,7 @@ Set of scripts to download and generate necessary files to allow differents GNU/
|
||||||
### download_debian.sh
|
### download_debian.sh
|
||||||
The script will provide netboot installers for all Debian (>=oldStable) for both **i386** and **amd64** :
|
The script will provide netboot installers for all Debian (>=oldStable) for both **i386** and **amd64** :
|
||||||
* Store the files to **/var/lib/tftpboot** (default).
|
* Store the files to **/var/lib/tftpboot** (default).
|
||||||
* Download Debian Linux kernel and initrd files for all Debian distributions (Stable : **Jessie**; Testing : **Stretch**; oldStable : **Wheezy**; Unstable : **Sid**) and for **i386** and **amd64** architectures.
|
* Download Debian Linux kernel and initrd files for all Debian distributions (Stable : **Stretch**; Testing : **Buster**; oldStable : **Jessie**; oldoldStable : **Wheezy**; Unstable : **Sid**) and for **i386** and **amd64** architectures.
|
||||||
* Offer an example menu file to use with a TFTP server (default_path/installer/debian/menu.cfg.example).
|
* Offer an example menu file to use with a TFTP server (default_path/installer/debian/menu.cfg.example).
|
||||||
|
|
||||||
### download_ubuntu.sh
|
### download_ubuntu.sh
|
||||||
|
@ -31,7 +31,7 @@ The script will provide netboot installers for the latest LTS and latest advance
|
||||||
The script will provide Debian's netboot installers with **additionnals firmwares** for all Debian (>=oldStable) for **amd64** only :
|
The script will provide Debian's netboot installers with **additionnals firmwares** for all Debian (>=oldStable) for **amd64** only :
|
||||||
* Store the files to **/var/lib/tftpboot** (default).
|
* Store the files to **/var/lib/tftpboot** (default).
|
||||||
* Store temp files to **/tmp/tmp.XXXXXXXXXX** (with `mktemp`).
|
* Store temp files to **/tmp/tmp.XXXXXXXXXX** (with `mktemp`).
|
||||||
* Download Debian's initrd files for all Debian distributions (Stable : **Jessie**; Testing : **Stretch**; oldstable : **Wheezy**; Unstable : **Sid**) for **amd64** architecture only.
|
* Download Debian's initrd files for all Debian distributions (Stable : **Stretch**; Testing : **Buster**; oldStable : **Jessie**; oldoldStable : **Wheezy**; Unstable : **Sid**) for **amd64** architecture only.
|
||||||
* Download additionnals firmwares :
|
* Download additionnals firmwares :
|
||||||
* **bnx2** : For Broadcom NetXtremeII network adapters.
|
* **bnx2** : For Broadcom NetXtremeII network adapters.
|
||||||
* **linux-nonfree** : For Tigon network adapters.
|
* **linux-nonfree** : For Tigon network adapters.
|
||||||
|
@ -89,6 +89,9 @@ in-target /bin/sh /tmp/latecommand/post.sh
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
The netboot's installers, at least for Debian, need to be update **after each point realease**. Just think about it if you got any issue during any installation from PXE.
|
The netboot's installers, at least for Debian, need to be update **after each point realease**. Just think about it if you got any issue during any installation from PXE.
|
||||||
|
* Debian : `sudo ./scripts/download_debian.sh`
|
||||||
|
* Debian's initrd with additionnals firmwares : `sudo ./scripts/make_debian_initrd_with_firmware.sh`
|
||||||
|
* Ubuntu : `sudo ./scripts/download_ubuntu.sh`
|
||||||
|
|
||||||
Some tools depends of a static version in their script. So this is the list i check to got their new version :
|
Some tools depends of a static version in their script. So this is the list i check to got their new version :
|
||||||
* [Clonezilla download page][clonezilla download]
|
* [Clonezilla download page][clonezilla download]
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script do the following:
|
# This script do the following:
|
||||||
# Download Debian Stable (Jessie)
|
# Download Debian Stable (Stretch)
|
||||||
# Download Debian Testing (Stretch)
|
# Download Debian Testing (Buster)
|
||||||
# Download Debian oldStable (Wheezy)
|
# Download Debian oldStable (Jessie)
|
||||||
|
# Download Debian oldoldStable (Wheezy)
|
||||||
# Download Debian Unstable (Sid)
|
# Download Debian Unstable (Sid)
|
||||||
# Make an PXE's config file (aka menu.cfg)
|
# Make an PXE's config file (aka menu.cfg)
|
||||||
|
|
||||||
|
@ -13,7 +14,7 @@ TFTP_ROOT="/var/lib/tftpboot"
|
||||||
CONFIG_PXE="${TFTP_ROOT}/installer/debian/menu.cfg.example"
|
CONFIG_PXE="${TFTP_ROOT}/installer/debian/menu.cfg.example"
|
||||||
rm -f ${CONFIG_PXE} && touch ${CONFIG_PXE}
|
rm -f ${CONFIG_PXE} && touch ${CONFIG_PXE}
|
||||||
|
|
||||||
for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
|
for DISTRO in stretch buster jessie wheezy sid; do # For ALL Debian's version
|
||||||
for ARCH in amd64 i386; do # For all classic architecture
|
for ARCH in amd64 i386; do # For all classic architecture
|
||||||
|
|
||||||
# Create and go into directory
|
# Create and go into directory
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script do the following:
|
# This script do the following:
|
||||||
# Download Debian Initrd for Jessie, Stretch, Wheezy and Sid
|
# Download Debian Initrd for Stretch, Buster, Jessie, Wheezy and Sid
|
||||||
# Download firmwares:
|
# Download firmwares:
|
||||||
# bnx2
|
# bnx2
|
||||||
# all non-free (for tigon)
|
# all non-free (for tigon)
|
||||||
# Extract all downloaded files
|
# Extract all downloaded files
|
||||||
# Make a new initrd with the previous firmwares
|
# Make a new initrd with the previous firmwares
|
||||||
|
|
||||||
for DISTRO in jessie stretch wheezy sid; do # For ALL Debian's version
|
for DISTRO in stretch buster jessie wheezy sid; do # For ALL Debian's version
|
||||||
|
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd "${TEMP_DIR}"
|
pushd "${TEMP_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue