Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#649399: initramfs-tools: please mark Multi-Arch: foreign (http://www.linux-archive.org/debian-kernel/600575-bug-649399-initramfs-tools-please-mark-multi-arch-foreign.html)

Colin Watson 11-20-2011 04:41 PM

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]



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111120174109.GG3159@riva.dynamic.greenend.org.uk ">http://lists.debian.org/20111120174109.GG3159@riva.dynamic.greenend.org.uk

Michael Prokop 11-21-2011 10:18 AM

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

* Colin Watson [Sun Nov 20, 2011 at 05:41:09PM +0000]:

> 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.
[...]

I've added it to the mika/multi_arch_foreign branch in
initramfs-tools.git so it's scheduled for review and inclusion in
the upcoming initramfs-tools release.

Thanks for your patch!

regards,
-mika-

Ben Hutchings 02-11-2012 06:13 PM

Bug#649399: initramfs-tools: please mark Multi-Arch: foreign
 
On Sun, 2011-11-20 at 17:41 +0000, Colin Watson wrote:
> 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.
[...]

This is also relevant to Debian now.

Max, please apply this patch.

Ben.

--
Ben Hutchings
The generation of random numbers is too important to be left to chance.
- Robert Coveyou

Michael Prokop 02-12-2012 08:52 AM

Bug#649399: initramfs-tools: please mark Multi-Arch: foreign
 
* Ben Hutchings [Sat Feb 11, 2012 at 07:13:10PM +0000]:
> On Sun, 2011-11-20 at 17:41 +0000, Colin Watson wrote:

> > 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.
> [...]

> This is also relevant to Debian now.

> Max, please apply this patch.

Colin's patch is already applied on our i-t.git, I'll upload a new
i-t release in the next few days.

regards,
-mika-


All times are GMT. The time now is 07:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.