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

Bug#649399: initramfs-tools: please mark Multi-Arch: foreign



Package: initramfs-tools
Version: 0.99
Severity: wishlist
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch precise

Hi,

It would be useful for initramfs-tools to be marked "Multi-Arch:
foreign", to indicate that it can satisfy dependencies of packages of
other architectures.  Although Debian's dpkg doesn't yet do anything
special with this, it's safe to add this tag in advance of package
manager support.

In Ubuntu, this is an early step in being able to crossgrade from i386
to amd64, because we don't have an -amd64 kernel flavour on i386 and (of
course) our kernel packages depend on initramfs-tools.  While Debian
does have an -amd64 flavour on i386, it still wouldn't hurt to add this
tag.

If you're wondering why this tag is needed on an Architecture: all
package, see the multiarch specification:

  https://wiki.ubuntu.com/MultiarchSpec#Dependencies_involving_Architecture:_all_packages

diff --git a/debian/control b/debian/control
index 75bf493..8ca8827 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Vcs-Git: git://git.debian.org/git/kernel/initramfs-tools.git
 
 Package: initramfs-tools
 Architecture: all
+Multi-Arch: foreign
 Recommends: busybox (>= 1:1.01-3) | busybox-initramfs
 Depends: klibc-utils (>= 1.5.23-2~), cpio, module-init-tools, udev, findutils (>= 4.2.24), ${misc:Depends}
 Suggests: bash-completion

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



Reply to: