i think the following code is responsible:
if [ ! $(which qemu-arm-static) ];then
SECOND_STAGE="/debootstrap/debootstrap --second-stage"
else
mkdir -p $MOUNTPOINT/usr/bin/
cp $(which qemu-arm-static) $MOUNTPOINT/usr/bin/
chroot $MOUNTPOINT debootstrap/debootstrap --second-stage >$DBFIFO 2>&1
&
SECOND_STAGE=""
fi
if i install qemu-kvm-extras-static to have qemu-arm-static, then i can
get past the hang. the difference between the 2 paths is that only the
second sets something to feed into the FIFO. after the if statement is a
loop to read from the FIFO. if the fist path is followed then the read
loop waits for ever.
the simplest fix is to move the read loop inside the else block. i shall
attach a patch
i am not sure why the FIFO is used instead of tee.
** Also affects: project-rootstock
Importance: Undecided
Status: New
--
rootstock hangs at "I: Extracting zlib1g..."
https://bugs.launchpad.net/bugs/556304
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs