Comment 3 for bug 320188

Revision history for this message
Oliver Grawert (ogra) wrote :

confirming, this bug forces me to export PATH in a qemu wrapper script (a script called /bin/installer is executed as init in this case), the code example is:

# write installer script to image
cat > $BUILDDIR/installer <<EOF
#!/bin/bash
set -e

export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export LC_ALL=C
/debootstrap/debootstrap --second-stage

....

EOF