Commit 98e1b25d authored by Elena Grandi's avatar Elena Grandi
Browse files

Building ISOs with live-wrapper

parent aa2cfe27
......@@ -15,6 +15,7 @@ Il presente manuale è una guida alla manutenzione ed allo sviluppo della distri
metapacchetti
fuss-server
fuss-client
iso
nuova-versione-debian
......
***
ISO
***
A partire da FUSS 9 (Debian stretch) si generano delle ISO live
(complete di installer testuale e grafico) usando ``live-wrapper``.
Vengono usate le versioni presenti in Debian buster, ovvero ad agosto
2018::
live-wrapper (0.7)
vmdebootstrap (1.11-1)
Build
=====
Setup
-----
* Su un'installazione di Debian buster o successive, installare
live-wrapper::
# apt install live-wrapper
* Copiare il file ``/usr/share/vmdebootstrap/common/customise.lib`` per
modificarlo::
# cp /usr/share/vmdebootstrap/common/customise.lib fuss-customise.lib
e cambiare la funzione ``prepare_apt_source`` come segue::
# ensure you pass the replacement mirror and suite
prepare_apt_source() {
# handle the apt source
mv ${rootdir}/etc/apt/sources.list.d/base.list ${rootdir}/etc/apt/
echo "deb $1 $2 main contrib non-free" > ${rootdir}/etc/apt/sources.list
echo "deb-src $1 $2 main contrib non-free" >> ${rootdir}/etc/apt/sources.list
echo "deb http://archive.fuss.bz.it/ stretch main" >> ${rootdir}/etc/apt/sources.list
wget -qO ${rootdir}/tmp/fuss-apt.key https://archive.fuss.bz.it/apt.key
chroot ${rootdir} apt-key add /tmp/fuss-apt.key
chroot ${rootdir} apt -qq -y update > /dev/null 2>&1
}
Build
-----
Per generare la ISO di FUSS 9 per architettura amd64, lanciare il
seguente comando::
lwr -o fuss9-live-amd64.iso -d stretch --architecture=amd64 --customise=./fuss-customise.lib -m http://ftp.de.debian.org/debian/ -e "fuss-client fuss-kids fuss-children fuss-education fuss-graphics fuss-language-support fuss-multimedia fuss-extra-multimedia fuss-net fuss-office fuss-various"
Per generare la ISO di FUSS 9 per architettura i386, lanciare il
seguente comando::
lwr -o fuss9-live-i386.iso -d stretch --architecture=i386 --customise=./fuss-customise.lib -m http://ftp.de.debian.org/debian/ -e "fuss-client fuss-kids fuss-children fuss-education fuss-graphics fuss-language-support fuss-multimedia fuss-extra-multimedia fuss-net fuss-office fuss-various"
Vedi anche
==========
* https://live-wrapper.readthedocs.io/en/latest/
* https://wiki.debian.org/vmdebootstrap
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment