[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513498: which_deb: i386 is hardcoded in several places, fails on amd64



On Thu, Jan 29, 2009 at 04:37:02PM +0000, Enrico Zini wrote:

> The reason is because which_deb returns no output.  which_deb has:
> 
>   if ($pkg eq "debootstrap") {
>       $pkgdata = grab_bin_info($pth, "i386", $pkg);
>   
>   } elsif ($pkg eq "silo") {
>       $pkgdata = grab_bin_info($pth, "sparc", $pkg);
>   
>   } elsif ($pkg eq "syslinux") {
>       $pkgdata = grab_bin_info($pth, "i386", "syslinux-common");
>       if (length($pkgdata) < 3) {
>           $pkgdata = grab_bin_info($pth, "i386", "syslinux");
>       }
>   } elsif ($pkg eq "yaboot") {
>       $pkgdata = grab_bin_info($pth, "powerpc", $pkg);
>   }
> 
> If I change the 'i386' for debootstrap with 'amd64', then that part
> works.  Again I can't say how serious this is because it still fails
> later on, and I'm still debugging.

The last problem was boot-amd64 not finding the boot loader.  It was
again the fault of which_deb, which needed changing the remaining 'i386'
lines with 'amd64'.

With this work-around, and the one in #513497, I've finally been able to
build a CD.

Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: