j’ai enfin pris le temps de regarder et j’ai trouvé… y avais plusieurs problèmes à résoudre :
sachant que gunzip -c semblait être à l’origine du problème, j’ai cherché à le remplacer par un équivalent: zcat, je me suis mis à la recherche de cet utilitaire de décompression. Comme je ne l’ai pas trouvé avec apt-cache search, j’ai employé apt-file. Mais j’ai dû apporter une modification à mon miroir de dépots local car apt-file ne trouvait pas son bonheur; j’ai simplement créé des liens symboliques sur les fichiers Contents.gz de http://[depotlocal]/debian/dists/wheezy/ vers http://[depotlocal]/debian/dists/wheezy/main (puis contrib et non-free) soit un niveau plus loin dans l’arborescence du dépot. Ce problème réglé j’ai pu trouver le paquet correspondant à l’utilitaire zcat : zutils
log après install de zcat :
apt-get install zutils
de là je remplace à la ligne 77 gunzip -c par zcat du fichier chroot_linux-image :
root@GNU-LINUX:/usr/lib/live/build# nano +77 chroot_linux-image
puis je relance la création de mon image :
root@GNU-LINUX:/machin# lb build
[2014-04-02 21:52:54] lb build
[2014-04-02 21:52:54] lb bootstrap
P: Setting up cleanup function
[2014-04-02 21:52:54] lb bootstrap_cache restore
P: Restoring bootstrap stage from cache…
[2014-04-02 21:52:54] lb bootstrap_cdebootstrap
[2014-04-02 21:52:55] lb bootstrap_debootstrap
P: Begin bootstrapping system…
[2014-04-02 21:52:55] lb testroot
W: skipping bootstrap, already done
[2014-04-02 21:52:55] lb bootstrap_archive-keys
Err localhost wheezy Release.gpg
Temporary failure resolving ‘localhost’
Reading package lists… Done
W: Failed to fetch localhost/debian/dists/wheezy/Release.gpg Temporary failure resolving ‘localhost’
W: Some index files failed to download. They have been ignored, or old ones used instead.
[2014-04-02 21:52:55] lb bootstrap_cache save
P: Saving bootstrap stage to cache…
W: skipping bootstrap_cache.save, already done
P: Begin unmounting filesystems…
P: Saving caches…
Reading package lists… Done
Building dependency tree… Done
[2014-04-02 21:52:55] lb chroot
P: Setting up cleanup function
[2014-04-02 21:52:55] lb chroot_cache restore
[2014-04-02 21:52:56] lb chroot_devpts install
[2014-04-02 21:52:56] lb testroot
P: Begin mounting /dev/pts…
[2014-04-02 21:52:56] lb chroot_proc install
[2014-04-02 21:52:56] lb testroot
P: Begin mounting /proc…
[2014-04-02 21:52:56] lb chroot_selinuxfs install
[2014-04-02 21:52:56] lb testroot
[2014-04-02 21:52:56] lb chroot_sysfs install
[2014-04-02 21:52:56] lb testroot
P: Begin mounting /sys…
[2014-04-02 21:52:56] lb chroot_debianchroot install
P: Configuring file /etc/debian_chroot
W: skipping chroot_debianchroot, already done
[2014-04-02 21:52:56] lb chroot_dpkg install
P: Configuring file /sbin/start-stop-daemon
W: skipping chroot_dpkg, already done
[2014-04-02 21:52:56] lb chroot_tmpfs install
[2014-04-02 21:52:56] lb chroot_sysv-rc install
P: Configuring file /usr/sbin/policy-rc.d
W: skipping chroot_sysv-rc, already done
[2014-04-02 21:52:57] lb chroot_upstart install
[2014-04-02 21:52:57] lb chroot_hosts install
P: Configuring file /etc/hosts
W: skipping chroot_hosts, already done
[2014-04-02 21:52:57] lb chroot_resolv install
P: Configuring file /etc/resolv.conf
W: skipping chroot_resolv, already done
[2014-04-02 21:52:57] lb chroot_hostname install
W: skipping chroot_hostname, already done
[2014-04-02 21:52:57] lb chroot_apt install
P: Configuring file /etc/apt/apt.conf
W: skipping chroot_apt, already done
[2014-04-02 21:52:57] lb chroot_archives chroot install
P: Configuring file /etc/apt/sources.list
W: skipping chroot_archives, already done
[2014-04-02 21:52:57] lb chroot_linux-image
–2014-04-02 21:52:57-- localhost/debian/
Résolution de localhost (localhost)… 127.0.0.1, ::1
Connexion vers localhost (localhost)|127.0.0.1|:80…connecté.
requête HTTP transmise, en attente de la réponse…200 OK
Longueur: 1287 (1,3K) [text/html]
Sauvegarde en : «STDOUT»
100%[==============================================================================================================================>] 1 287 --.-K/s ds 0s
2014-04-02 21:52:57 (62,5 MB/s) - envoi vers sortie standard [1287/1287]
/dists/wheezy/main/Contents-amd64.gz: Schéma manquant.
[2014-04-02 21:52:57] lb chroot_preseed
P: Begin executing local preseeds…
[2014-04-02 21:52:57] lb chroot_package-lists install
P: Begin queueing installation of package lists (install pass)…
[2014-04-02 21:52:57] lb chroot_install-packages install
P: Begin installing packages (install pass)…
Reading package lists… Done
Building dependency tree… Done
E: Unable to locate package linux-image-amd64
P: Begin unmounting filesystems…
P: Saving caches…
Reading package lists… Done
Building dependency tree… Done
Del libgnutls26 2.12.20-8+deb7u1 [618 kB]
Del tzdata 2014a-0wheezy1 [445 kB]
zut, ça n’abouti pas.
suite à quoi j’ai remplacé toujours dans le même fichier le mot squeeze par wheezy et là, la construction d’une image a réussi.
Merci pour m’avoir mis sur la piste jcsm33 