Hi, Here you go: a run of the ARM qemubuilder, create option (strange characters may be present due to me trying to scroll with the mouse in screen).
Attached is also the second patch needed for --build to work, and a typo fix in the command-line invocation. Kind regards, JB
arm-create-log.gz
Description: GNU Zip compressed data
commit 3273584ed2a2081d11e89b86a024a0d16fd274ec Author: Jean-Baptiste Note <[EMAIL PROTECTED]> Date: Thu Sep 6 00:29:44 2007 +0200 [fixlet] fix typo in memory size printing diff --git a/qemubuilder.c b/qemubuilder.c index a7a455f..a41854f 100755 --- a/qemubuilder.c +++ b/qemubuilder.c @@ -385,7 +385,7 @@ static int fork_qemu(const char* hda, const char* hdb, const struct pbuilderconf exit(1); } - asprintf(&mem, "%i\n", pc->memory_megs); + asprintf(&mem, "%i", pc->memory_megs); asprintf(&append_command, "root=/dev/%sa init=/pbuilder-run console=%s",
commit b2496710835fcde2a9c97eeb8d24c6983bb3eca9 Author: Jean-Baptiste Note <[EMAIL PROTECTED]> Date: Thu Sep 6 00:29:13 2007 +0200 [arm fix] still more eth0 fixes diff --git a/qemubuilder.c b/qemubuilder.c index 09b9a74..a7a455f 100755 --- a/qemubuilder.c +++ b/qemubuilder.c @@ -484,7 +484,9 @@ static int run_second_stage_script "echo ' -> qemu-pbuilder second-stage' \n" //TODO: copy hook scripts //"mount -n /proc /proc -t proc\n" // this is done in first stage. - "dhclient eth0\n" + "ifconfig -a\n" + "export IFNAME=`/sbin/ifconfig -a | grep eth | head -n1 | awk '{print $1}'`\n" + "dhclient $IFNAME\n" "cp $PBUILDER_MOUNTPOINT/hosts /etc/hosts\n" "cp $PBUILDER_MOUNTPOINT/resolv.conf /etc/resolv.conf\n" "cp $PBUILDER_MOUNTPOINT/hostname /etc/hostname\n"