Go to parameter.c, line 225 and add the line
pc.arch="i386";
in there, like this:
/* define pc to be clear. */
memset (&pc, 0, sizeof(pbuilderconfig));
pc.arch="i386";
/* default command-line component */
pbuildercommandline[0]="pbuilder";
The problem is, that the pc->arch was empty, so deboostrap was invoked
with emty --arch parameter. By default, I believe it should be "i386".
But then there was another problem:
[EMAIL PROTECTED]:/tmp$ sudo qemubuilder --create
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.000965353 seconds, 1.1 GB/s
mke2fs 1.40.2 (12-Jul-2007)
warning: 256 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
393984 inodes, 786432 blocks
39334 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=805306368
24 block groups
32768 blocks per group, 32768 fragments per group
16416 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
-> Invoking debootstrap
I: Retrieving Release
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: libdb4.6
I: Found additional base dependencies: liblzo2-2
I: Checking component main on http://ftp.cz.debian.org/debian...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
I: Retrieving apt-utils
.....
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting util-linux...
I: Extracting zlib1g...
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.000970893 seconds, 1.1 GB/s
mke2fs 1.40.2 (12-Jul-2007)
warning: 256 blocks unused.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131328 inodes, 262144 blocks
13120 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=268435456
8 block groups
32768 blocks per group, 32768 fragments per group
16416 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
qemu: option '-kernel' requires an argument
and it hangs.
So I am pretty sure I am using it in some unsupported way. I think
there should be an example in the man page how to use it.
Ondrej
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]