Package: qemubuilder
Version: 0.37
Severity: important
Hello,
mke2fs's behaviour in French locale is to ask for (o/n) instead of (y/n) for
confirmation. Therefore, piping yes to the process is of no use, and
qemubuilder aborts using fr_FR locale.
The correct way to do this would be, imho, and according to the manpage, to
force mke2fs with -F.
( -F -F is required to do very nasty things).
diff --git a/qemubuilder.c b/qemubuilder.c
index 71db170..a33facb 100755
--- a/qemubuilder.c
+++ b/qemubuilder.c
@@ -186,7 +186,7 @@ static int create_ext3_block_device(const char* filename,
int gigabyte)
free(s); s=NULL;
- if (0>asprintf(&s, "yes | mke2fs -j -O sparse_super %s", filename))
+ if (0>asprintf(&s, "mke2fs -F -j -O sparse_super %s", filename))
{
/* out of memory */
ret=-1;
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.1 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=locale: Cannot set LC_CTYPE to
default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages qemubuilder depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii pbuilder 0.171 personal package builder for Debia
ii qemu 0.9.0-2 fast processor emulator
qemubuilder recommends no packages.
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]