[Vserver] vserver-build.debootstrap fix for athlon64 running ia32

From: Achim Stäbler <achim_at_dasrockt.net>
Date: Tue 07 Feb 2006 - 03:27:04 GMT
Message-ID: <43E81388.2000206@dasrockt.net>

hi list,

i had some troubles installing debian via debootstrap into an arch linux
host system. although i have an athlon 64 i'm still running arch in ia32
mode. the vanilla vserver build -m debootstrap... command refused to do
anything after downloading debootstrap because it was unable to identify
my system architecture. i fixed line 96 of vserver-build.debootstrap to
  read

arch=$(arch 2>/dev/null) || arch=

since the uname command preceding that yielded something like
"AuthenticAMD" for my specific setup--which is of course not a valid
architecture to pass to debootstrap --arch. i think using uname -m would
be a valid choice, too.
after that, the vserver build process continued as expected.

achim.
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Feb 7 03:33:04 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 07 Feb 2006 - 03:33:07 GMT by hypermail 2.1.8