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

[debian-devel:04501] [Joey Hess <joey@xxxxxxxxxxx>] dpkg multiple arch support (Re: RFC: pentium optimized debian)



こんな提案が出てますけど、これでtowns問題の解決になりません?

--- Begin Message ---
[please follow up to debian-devel only]

Steve Dunham wrote:
> RPM does this.

Yeah, I know, I do maintain rpm. ;-)

> dpkg should too.

I'm feeling less lazy and hackish this morning and am inclinded to agree.
Here's a proposal:

Make /etc/dpkg/arch be a conffile for dpkg. If it is not present, dpkg
behaves exactly as it does now. The contents of the file would look
something like:

i386: i386 pentium all
m68k: m68k all
powerpc: powerpc all
sparc: sparc all

Dpkg will allow any package in the arch's listed after the machine's
architecture to be installed. Note that the ordering of the architectures on
a line is important, as apt can look at that and prefer the architectures
that come first. This means that if you have a pentium, you can change the
first line to:

i386: pentium i386 all

And apt will prefer to install pentium optimized binaries.

I think this would also be useful for the m68k people, who I believe have a
few packages that only work on atari's not on amiga's, they could probably
use something like:

# If your machine is an atari, use this line:
#m68k: m68k-atari m68k all
# If your machine is an amiga, use this line:
m68k: m68k-amiga m68k all

If the sparc 64's can use normal sparc binaries, but normal sparc's cannot
use their binaires, we could have:

sparc-64: sparc-64 sparc all
sparc: sparc all

I think there's a package for the alpha that lets them run i386 linux
binaries, so some people might even use:

alpha: alpha i386 pentium all

What do you think?

-- 
see shy jo


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

--- End Message ---
-- 
ささやま <Kaz.Sasayama@xxxxxxxxxxxxxxx> / 有限会社ハイパーコア
「日本で最初のDebian GNU/Linuxコンサルタント」
* <URL:http://www.debian.org/consultants.html#Japan> を参照