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...
This commit is contained in:
parent
34f638595a
commit
c0e5a61eb9
1 changed files with 0 additions and 16 deletions
16
polystrap.sh
16
polystrap.sh
|
@ -121,22 +121,6 @@ if [ -r "$PLATFORM/root" ]; then
|
||||||
cp --recursive --dereference $PLATFORM/root/* $ROOTDIR/
|
cp --recursive --dereference $PLATFORM/root/* $ROOTDIR/
|
||||||
fi
|
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
|
# preseed debconf
|
||||||
echo "I: preseed debconf" >&2
|
echo "I: preseed debconf" >&2
|
||||||
if [ -r "$PLATFORM/debconfseed.txt" ]; then
|
if [ -r "$PLATFORM/debconfseed.txt" ]; then
|
||||||
|
|
Loading…
Reference in a new issue