Your message dated Sat, 10 Mar 2012 10:00:07 +0900
with message-id <87y5r9xobs.dancerj%[email protected]>
and subject line patch applied
has caused the Debian Bug report #660823,
regarding qemubuilder: Gnu Hurd support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
660823: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660823
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemubuilder
Severity: wishlist
Tags: patch
Hi,
I tried to use qemubuilder with hurd-i386 but it failed to pass proper
architecture to kvm/qemu after bootstrapping:
"Your architecture hurd-i386 does not seem to be supported"
Although I couldn't quite make it work yet, the above error can be dealt with
attached patch.
Patched qemubuilder correctly "forking qemu" after bootstrap stage if run with
ARCHITECTURE=hurd-i386
Perhaps more work will be necessary to support Gnu Hurd but at least this is a
small step forward.
Thank you.
Regards,
Dmitry.
Author: Dmitry Smirnov <[email protected]>
Last-Update: 2012-02-22
Forwarded: no
Description: partial support for Gnu Hurd "hurd-i386"
This patch help to set qemu/kvm arch for "hurd-i386"
architecture to prevent error
"Your architecture hurd-i386 does not seem to be supported"
--- a/qemuarch.c
+++ b/qemuarch.c
@@ -121,8 +121,10 @@
return "qemu-system-mips";
else if (!strcmp(arch, "mipsel"))
return "qemu-system-mipsel";
- else if (!strcmp(arch, "i386") ||
- !strcmp(arch, "amd64"))
+ else if (!strcmp(arch, "i386")
+ || !strcmp(arch, "amd64")
+ || !strcmp(arch, "hurd-i386")
+ )
{
/* we're leaking this memory, but don't care too much */
char* host_arch = get_host_dpkg_arch();
@@ -143,6 +145,8 @@
else
return "qemu-system-x86_64";
}
+ else if (!strcmp(arch, "hurd-i386"))
+ return "qemu";
else if (!strcmp(arch, "powerpc"))
return "qemu-system-ppc";
else if (!strcmp(arch, "sparc"))
@@ -160,7 +164,8 @@
!strcmp(arch, "armel"))
return "versatilepb";
else if (!strcmp(arch, "i386") ||
- !strcmp(arch, "amd64"))
+ !strcmp(arch, "hurd-i386") ||
+ !strcmp(arch, "amd64"))
return "pc";
else if (!strcmp(arch, "mips")||
!strcmp(arch, "mipsel"))
signature.asc
Description: This is a digitally signed message part.
--- End Message ---
--- Begin Message ---
--- End Message ---