Permalink
Browse files

Update repo to reflect the recent changes

  • Loading branch information...
inferillum committed Oct 30, 2018
1 parent 1814961 commit fdd74100f959786c4f503ee047d8b3cc152cc44e
Showing with 2 additions and 2 deletions.
  1. +2 −2 nethunter-fs/stages/stage1
@@ -25,7 +25,7 @@ update-binfmts --enable "qemu-$qemu_arch"
echo "[+] Starting debootstrap (download)..."
tries=0
max_tries=5
while ! debootstrap --foreign --download-only --verbose --arch $build_arch kali-rolling "$rootfs" http://repo.kali.org/kali; do
while ! debootstrap --foreign --download-only --verbose --arch $build_arch kali-rolling "$rootfs" http://http.kali.org/kali; do
((tries++))
if [ $tries -ge $max_tries ]; then
echo "[!] Error, maximum retries ($max_tries) reached, could not download packages!"
@@ -36,7 +36,7 @@ while ! debootstrap --foreign --download-only --verbose --arch $build_arch kali-
done

echo "[+] Starting debootstrap (install)..."
debootstrap --foreign --verbose --arch $build_arch kali-rolling "$rootfs" http://repo.kali.org/kali
debootstrap --foreign --verbose --arch $build_arch kali-rolling "$rootfs" http://http.kali.org/kali

echo "[+] Installing qemu-$qemu_arch-static interpreter to rootfs"
cp "/usr/bin/qemu-$qemu_arch-static" "$rootfs/usr/bin/"

0 comments on commit fdd7410

Please sign in to comment.