From 86be24b722839e99486a9c26409c14a294e22199 Mon Sep 17 00:00:00 2001 From: Mati Aharoni Date: Wed, 11 Nov 2015 16:31:21 -0400 Subject: [PATCH] Don't manually copy files to the kali chroot --- nethunter-fs/stages/stage3 | 1 - 1 file changed, 1 deletion(-) diff --git a/nethunter-fs/stages/stage3 b/nethunter-fs/stages/stage3 index 5382aa57a5..417d545a45 100644 --- a/nethunter-fs/stages/stage3 +++ b/nethunter-fs/stages/stage3 @@ -7,7 +7,6 @@ mount -o bind /dev/ kali-$architecture/dev/ mount -o bind /dev/pts kali-$architecture/dev/pts # Copy necessary scripts and make executable (/dev/null to supress error msgs for following symlinks) -cp -rf fs/* kali-$architecture/ LANG=C chroot kali-$architecture chmod 755 /usr/bin/* 2> /dev/null LANG=C chroot kali-$architecture chmod 755 /usr/share/mana-toolkit/run-mana/*.sh 2> /dev/null