From 426abef09dbc35684c9179a2049652f527605bf4 Mon Sep 17 00:00:00 2001 From: josch Date: Thu, 30 Jun 2011 21:03:41 +0200 Subject: [PATCH] copying qemu-user-static into rootfs is a relic from the days of a real chroot - no idea how it survived the change for so long... --- polystrap.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/polystrap.sh b/polystrap.sh index 5564854..e89d58c 100755 --- a/polystrap.sh +++ b/polystrap.sh @@ -121,22 +121,6 @@ if [ -r "$PLATFORM/root" ]; then cp --recursive --dereference $PLATFORM/root/* $ROOTDIR/ fi -# copy qemu usermode binary -QEMUARCH= -if [ $ARCH != "`dpkg --print-architecture`" ]; then - case $ARCH in - alpha|i386|m68k|mips|mipsel|ppc64|sh4|sh4eb|sparc|sparc64) - QEMUARCH=$ARCH;; - arm*) QEMUARCH=arm;; # for arm, armel, armeb, armhf - amd64) QEMUARCH=x86_64;; - lpia) QEMUARCH=i386;; - powerpc) QEMUARCH=ppc;; - *) echo "unknown architecture: $ARCH" >&2; exit 1;; - esac -fi -echo "I: copy qemu-$QEMUARCH-static into $ROOTDIR" >&2 -cp `which qemu-$QEMUARCH-static` $ROOTDIR/usr/bin - # preseed debconf echo "I: preseed debconf" >&2 if [ -r "$PLATFORM/debconfseed.txt" ]; then