[technique] quick_lede.sh bug
Émile
al at md2t.eu
Lun 5 Déc 18:56:12 CET 2016
En pj le log
Précision : je suis sous sid.
Merci pour vos réponses !
--
Chiffrons nos mails ! https://emailselfdefense.fsf.org/fr/index.html
Ma clef PGP : https://tila.im/~al/al@md2t.eu-0x45BEC774-pub.asc
Le 05/12/2016 à 18:13, tth via technique a écrit :
> script foo.txt
-------------- section suivante --------------
Le script a débuté sur lun. 05 déc. 2016 18:52:46 CET
[01;32mal at karma[00m:[01;34m~/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral[00m$ lsssh ttn-factures-jitsi [10Ppano[C[12 at pano.tetaneutral.net[Cudo ./quick_lede.sh 91.224.148.186 tl-wr841-v11[9P./quick_841n_ttn_lede.sh 91.224.148.186sudo ./quick_lede.sh 91.224.148.186 tl-wr841-v11
Mot de passe :
password: $1$jgzhF4a5$tle34LYO4tVym8TQEdOPT0
ip4: 91.224.148.186
ip6: 2a03:7220:8080:ba00::1/56
Enter to continue:
rm -rf /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/tmp /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/bin/targets/ar71xx/generic
make[1]: Entering directory '/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64'
echo 'Building images for ar71xx - TP-LINK TL-WR841N/ND v11'
Building images for ar71xx - TP-LINK TL-WR841N/ND v11
echo 'Packages: luci luci-mod-admin-full ip kmod-leds-gpio base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-ath9k kmod-gpio-button-hotplug libc libgcc logd mtd netifd odhcp6c odhcpd opkg swconfig uboot-envtools uci uclient-fetch wpad-mini'
Packages: luci luci-mod-admin-full ip kmod-leds-gpio base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-ath9k kmod-gpio-button-hotplug libc libgcc logd mtd netifd odhcp6c odhcpd opkg swconfig uboot-envtools uci uclient-fetch wpad-mini
echo
rm -rf /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx
mkdir -p /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/bin/targets/ar71xx/generic /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/tmp /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl
if [ ! -f "/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/packages/Packages" ] || [ ! -f "/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/packages/Packages.gz" ] || [ "`find /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/packages -cnewer /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/packages/Packages.gz`" ]; then \
echo "Package list missing or not up-to-date, generating it.";\
make package_index; \
else \
mkdir -p /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/tmp; \
IPKG_NO_SCRIPT=1 IPKG_TMP="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/tmp/ipkgtmp" IPKG_INSTROOT="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx" IPKG_CONF_DIR="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/tmp" IPKG_OFFLINE_ROOT="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx" /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg -f /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/repositories.conf --force-depends --force-overwrite --force-postinstall --cache /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl --lists-dir ../../../../../../../../../../home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl --offline-root /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx --add-dest root:/ --add-arch all:100 --add-arch mips_34kc:200 update || true; \
fi
Downloading file:custom/Packages.
Updated list of available packages in /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/../../../../../../../../../../home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl/custom.
Downloading file:mirror/Packages.
Updated list of available packages in /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/../../../../../../../../../../home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl/mirror.
Downloading file:packages/Packages.
Updated list of available packages in /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx/../../../../../../../../../../home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl/imagebuilder.
make package_install
make[2]: Entering directory '/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64'
Installing packages...
IPKG_NO_SCRIPT=1 IPKG_TMP="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/tmp/ipkgtmp" IPKG_INSTROOT="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx" IPKG_CONF_DIR="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/tmp" IPKG_OFFLINE_ROOT="/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx" /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg -f /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/repositories.conf --force-depends --force-overwrite --force-postinstall --cache /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl --lists-dir ../../../../../../../../../../home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/dl --offline-root /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_34kc_musl-1.1.15/root-ar71xx --add-dest root:/ --add-arch all:100 --add-arch mips_34kc:200 install /home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64/packages/libc_1.1.15-1_mips_34kc.ipk
Installing libc (1.1.15-1) to root...
Installing libgcc (5.4.0-1) to root...
Downloading file:mirror/libgcc_5.4.0-1_mips_34kc.ipk.
Makefile:142: recipe for target 'package_install' failed
make[2]: *** [package_install] Segmentation fault
make[2]: Leaving directory '/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64'
Makefile:113: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
make[1]: Leaving directory '/home/al/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral/lede-imagebuilder-ar71xx-generic.Linux-x86_64'
Makefile:193 : la recette pour la cible « image » a échouée
make: *** [image] Erreur 2
Images:
ls: impossible d'accéder à 'lede-imagebuilder-ar71xx-generic.Linux-x86_64/firmware/wr*.bin': Aucun fichier ou dossier de ce type
[01;32mal at karma[00m:[01;34m~/Documents/Assos/Tetaneutral/tp-link-firmware-sauce-tetaneutral[00m$ exit
Script terminé sur lun. 05 déc. 2016 18:53:11 CET
Plus d'informations sur la liste de diffusion technique