FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-20-2011, 04:41 PM
Colin Watson
 
Default 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), ${miscepends}
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
 
Old 11-21-2011, 10:18 AM
Michael Prokop
 
Default 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-
 
Old 02-11-2012, 06:13 PM
Ben Hutchings
 
Default 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
 
Old 02-12-2012, 08:52 AM
Michael Prokop
 
Default 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-
 

Thread Tools




All times are GMT. The time now is 10:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org