Package: vmdebootstrap
Version: 0.7-1
Severity: normal
Tags: patch

Dear Maintainer,

Building an image with i386 arch leads to this error:
E: Couldn't find these debs: linux-image-486

linux-image-486 isn't available in sid. It appears to have been replaced
with linux-image-586.

The attached patch will change the kernel_arch to 586 for i386 builds.
After this change, i386 image builds are successful.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vmdebootstrap depends on:
ii  debootstrap    1.0.70
ii  extlinux       3:6.03+dfsg-7
ii  kpartx         0.5.0-6
ii  mbr            1.1.11-5+b1
ii  parted         3.2-7
ii  python         2.7.9-1
ii  python-cliapp  1.20140719-1
ii  python2.7      2.7.10~rc1-1
pn  python:any     <none>
ii  qemu-utils     1:2.3+dfsg-4

Versions of packages vmdebootstrap recommends:
ii  grub2-common      2.02~beta2-23
ii  python-guestfs    1:1.28.10-1
ii  qemu-system       1:2.3+dfsg-4
ii  qemu-user-static  1:2.3+dfsg-4
ii  squashfs-tools    1:4.2+20130409-2

Versions of packages vmdebootstrap suggests:
pn  u-boot:armhf  <none>

-- no debconf information
diff --git a/vmdebootstrap b/vmdebootstrap
index 49c21c8..5ec2dfc 100755
--- a/vmdebootstrap
+++ b/vmdebootstrap
@@ -424,7 +424,7 @@ class VmDebootstrap(cliapp.Application):  # pylint: disable=too-many-public-meth
 
         if not self.settings['no-kernel']:
             if self.settings['arch'] == 'i386':
-                kernel_arch = '486'
+                kernel_arch = '586'
             elif self.settings['arch'] == 'armhf':
                 kernel_arch = 'armmp'
             else:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to