README.md: Add description of the download_ubuntu.sh script.

This commit is contained in:
Jeremy Gardais 2016-07-06 14:51:38 +02:00
parent fb826abf15
commit cc3d7bd7cd
2 changed files with 12 additions and 9 deletions

View File

@ -13,14 +13,16 @@ Set of scripts to download and generate necessary files to allow differents GNU/
### download_debian.sh
The script will:
* Download Debian Linux kernel and initrd files for all Debian distributions (Stable: Jessie; Testing: Stretch; Unstable: Sid) and for **i386** and **amd64** architectures.
* Offer an example menu file (to use with a TFTP server).
* Store the file 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**; 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).
### download_ubuntu.sh
The script will:
* Store the files to **/var/lib/tftpboot** (default).
* Download Ubuntu Linux kernel and initrd files for the two lasts Ubuntu distributions (LTS-16.04: **xenial**; 15.10: **wily**) and for **i386** and **amd64** architectures.
* Make a symlink to access to the LTS (default_path/installer/ubuntu/lts) instead of it's codename.
### make_debian_initrd_with_firmware.sh

View File

@ -1,15 +1,16 @@
#!/bin/bash
# This script do the following:
# Download last Ubuntu LTS (14.04)
# Download Ubuntu 13.10
# Download last Ubuntu LTS 16.04 (xenial)
# Download Ubuntu 15.10 (wily)
# Make a symlink to access to the last LTS
TFTP_ROOT="/var/lib/tftpboot"
# last Long Term Support distribution name
LTS="trusty"
LTS="xenial"
for DISTRO in saucy ${LTS}; do
for DISTRO in wily ${LTS}; do
for ARCH in amd64 i386; do
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}