Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#######
#
# E-scripts on creating customized Debian CDs
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
#   (find-eev-quick-intro)
#   http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/debian-cd.e>
#           or at <http://angg.twu.net/e/debian-cd.e.html>.
#        See also <http://angg.twu.net/emacs.html>,
#                 <http://angg.twu.net/.emacs[.html]>,
#                 <http://angg.twu.net/.zshrc[.html]>,
#                 <http://angg.twu.net/escripts.html>,
#             and <http://angg.twu.net/>.
#
#######




# (find-es "float")

# «.apt-move»		(to "apt-move")
# «.jigdo-0.7.0»	(to "jigdo-0.7.0")
# «.jigdo-at-puc»	(to "jigdo-at-puc")





#####
#
# apt-move
# 2004mar07
#
#####

# «apt-move»  (to ".apt-move")
# (find-status "apt-move")
# (find-vldifile "apt-move.list")
# (find-fline "/usr/doc/apt-move/")

# (find-man "8 apt-move")
# (find-fline "/usr/doc/apt-move/README")
# (find-fline "/usr/doc/apt-move/examples/SAMPLE.exclude")

# (find-fline "/usr/bin/apt-move")
# (find-fline "/usr/bin/apt-move" "\nrunsync() {")
# (find-fline "/usr/bin/apt-move" "\nlistbinsync() {")
# (find-fline "/usr/bin/apt-move" "\nlistbin() {")
# (find-fline "/usr/bin/apt-move" "\nprocbin() {")
# (find-fline "/usr/share/apt-move/move1")
# (find-fline "/usr/share/apt-move/move2")
# (find-fline "/usr/share/apt-move/move3")

# (find-fline "/usr/doc/apt-move/changelog.gz")
# (find-fline "/usr/doc/apt-move/changelog.ancient.gz")

# (find-fline "/etc/apt-move.conf")
# (find-fline "~/debian-cd/apt-move.conf")
# (find-fline "/newdebian/etc/apt-move.conf")
#*
cd /newdebian/etc/
if [[ ! -e apt-move.conf.orig ]]; then
  cp -v apt-move.conf apt-move.conf.orig
fi
cp -v ~/debian-cd/apt-move.conf .

#*
# (find-man "8 apt-move")
#*
apt-move get
#*
apt-move -t move
#*
apt-move move
#*
apt-move -t sync
#*
apt-move sync
#*
laf /var/cache/apt/archives/
#*
rm -Rv /float/mirrors/debian/.apt-move
rm -Rv /float/mirrors/debian/dists
#*

# (find-fline           "/etc/apt/sources.list")
# (find-fline "/newdebian/etc/apt/sources.list")

# (find-fline "/float/mirrors/debian/")
# (find-fline "/float/mirrors/debian/dists/woody/main/binary-i386/")





# (find-available "debian-cd")

# (find-status "debian-cd")
# (find-vldifile "debian-cd.list")
# (find-fline "/usr/doc/debian-cd/")

# (find-fline "/usr/share/debian-cd/tools/boot/woody/boot-i386")
# (find-fline "/usr/share/debian-cd/tools/add_packages")
# (find-fline "/usr/share/debian-cd/tools/scanpackages")
# (find-fline "/usr/share/debian-cd/tools/woody/")

# (find-fline "/usr/share/debian-cd/tasks/Debian_woody")
# (find-fline "/usr/share/debian-cd/tasks/")

# (find-status "apt-utils")
# (find-vldifile "apt-utils.list")
# (find-fline "/usr/doc/apt-utils/")
# (find-man "1 apt-ftparchive")

# (find-man "1 apt-extracttemplates")
# (find-man "1 apt-sortpkgs")

# (find-status "debootstrap")
# (find-vldifile "debootstrap.list")
# (find-fline "/usr/doc/debootstrap/")


cd /hdb2/woodycds/
cdrecord -v dev=0,0,0 blank=all debian-30r2-i386-binary-1_NONUS.iso





*Gleydson* opa
*Gleydson* melhor falar no PVT
<edrx> oi
<edrx> ok
*Gleydson* se vc quiser mandar a lista de pacotes
*Gleydson* posso tentar gerar o ISo pra vc :)
*Gleydson* daria muito mais trabalho tentar passar tudo q precisa pra gerar o CD e poderia demorar muito
<edrx> posso preparar e mandar pra voce... mas eu preferia que voce fizesse algo que vai dar ate' bem menos trabalho: voce me desse uma nocao de quais sao os pacotes e programas que voce usaria pra fazer isso...
*Gleydson* os programas eu passo, é facinho
*Gleydson* os passos que são chatos :)
*Gleydson* você primeiro precisa ter um mirror funcional da Debian, não pode ser via
*Gleydson* debmirror, tem q ser real mesmo, com indices, tools, diretório doc, etc
<edrx> certo... e ai' entra o apt-move...
*Gleydson* depois vc remove os pacotes não essenciais do sistema, deixa somente os requeridos e essenciais e vai adicionando as 
*Gleydson* dependências, etc
*Gleydson* nunca usei o apt-move, mas vou dar uma olhada nele qualuer hora dessas
*Gleydson* :)
<edrx> ah, eu achei que todo mundo usava ele :)
<edrx> mas, confesso, eu nao sei usar ele direito...
*Gleydson* pra dizer a verdade, nem sei o q ele faz :)
* Gleydson dando um man no apt-move
*Gleydson* ah... não serve nao
*Gleydson* ele usa a forma debian/dists, etc...
*Gleydson* hoje a Debian usa o pool para arquivos
*Gleydson* humm, mas pro CD funciona sim, deixa pra lá :-)
*Gleydson* voce entao pega os pacotes que precisa + dependências e copia tudo para a 
<edrx> ops - que que sera' que as maquinas dos repositorios usam?
*Gleydson* árvore de diretórios do pool
*Gleydson* elas usam um esquema mais elaborado para distribuir os arquivso no diretório de pool, é um aplicativo em python, se não me engano
<edrx> vou perguntando no #debian enquanto eu falo com voce...
ERC> /join #debian
*Gleydson* um exemplo: lá eles precisam saber que programas precisam para gerar o Packages da Woody, sendo que somente alguns arquivos do pool são da woody, e lá tembe tem arquvios da sid e testing :)
*Gleydson* blz
*Gleydson* bom, depois de copiar os arquivos para o diretório pool e gerar o apt-ftparchive
<edrx> e ai' imagino que voce tenha scripts pra todos esses passos... mas, como tods o scripts que a gente faz pra uso proprio e a gente nao imagina que ninguem mais va' usar, eles sao uma bagunca... :)
<edrx> oba, eu nunca tinha ouvido falar de apt-ftparchive... so' do dpkg-scanpackges, que parece fazer so' um subset das operacoes do apt-ftparchive...
<edrx> voce usa o debian-cd?
ERC> 




#####
#
# jigdo-0.7.0
# 2003dec29
#
#####

# «jigdo-0.7.0»  (to ".jigdo-0.7.0")
#*
rm -Rv ~/usrc/jigdo-0.7.0/
mkdir  ~/usrc/
cd     ~/usrc/
tar -xvjf $S/http/home.in.tum.de/~atterer/jigdo/jigdo-0.7.0.tar.bz2
cd ~/usrc/jigdo-0.7.0/
# ./configure |& tee oc
./configure --with-gui=no |& tee oc
make |& tee om

#*
# (code-c-d "jigdo" "~/usrc/jigdo-0.7.0/")
# (find-jigdofile "")
# (find-jigdofile "doc/")
lynx ~/usrc/jigdo-0.7.0/doc/debian-jigdo-mini-howto.html

#*
http://home.in.tum.de/~atterer/jigdo/jigdo-0.7.0.tar.bz2
http://www.debian.org/CD/jigdo-cd/
http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/
http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-1_NONUS.jigdo
http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-1.jigdo
http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/source/woody-src-1_NONUS.jigdo
http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/source/woody-src-1.jigdo
http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/source/debian-update-3.0r2.01-src.jigdo

#*
rm -Rv /tmp/jigdos/
mkdir /tmp/jigdos/
cd $S/http/non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/
for i in *.jigdo; do
  j=$(basename $i .jigdo); echo $j; zcat $j.jigdo > /tmp/jigdos/$j.txt
done

cd $S/http/non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/source/
for i in *.jigdo; do
  j=$(basename $i .jigdo); echo $j; zcat $j.jigdo > /tmp/jigdos/$j.txt
done
# (find-fline "/tmp/")

cd /tmp/jigdos/

#*
cd /tmp/jigdos/
(grep emacs *.txt
 grep elisp *.txt
) | l -S
#*
psnec http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-1_NONUS.template

cd ~/tmp/
wget http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-1_NONUS.template
md5sum woody-i386-1_NONUS.template

#*
mkdir /hdb2/woodycds
cd    /hdb2/woodycds
cp -v $S/http/non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-1_NONUS.{jigdo,template} .

cat > $EEG <<'%%%'
woody-i386-1_NONUS.jigdo
/hdd7/CDS/woodybin1
http://http.us.debian.org/debian
/hdd5/var_cache_apt_archives/
%%%

cd    /hdb2/woodycds
PATH=$PATH:$HOME/usrc/jigdo-0.7.0/src/ eeg \
  ~/usrc/jigdo-0.7.0/scripts/jigdo-lite
#*




#####
#
# jigdo at puc
# 2004jan07
#
#####

# «jigdo-at-puc»  (to ".jigdo-at-puc")
#*
psne http://atterer.net/jigdo/jigdo-bin-0.7.0.tar.bz2
bunzip2 jigdo-bin-0.7.0.tar.bz2
gzip jigdo-bin-0.7.0.tar
#*
cd /export/scratch/edrx/
rm -Rv jigdo-bin-0.7.0/
tar -xvzf $S/http/atterer.net/jigdo/jigdo-bin-0.7.0.tar.gz

#*
mkdir -p /export/scratch/edrx/jigdo/i386/
cd       /export/scratch/edrx/jigdo/i386/
wget http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-{2,3,4,5,6,7}.jigdo
wget http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-{3,5,6}.template
#*










#  Local Variables:
#  coding:               utf-8-unix
#  End: