Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755297AbZAEWLZ (ORCPT ); Mon, 5 Jan 2009 17:11:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753226AbZAEWLM (ORCPT ); Mon, 5 Jan 2009 17:11:12 -0500 Received: from terminus.zytor.com ([198.137.202.10]:37429 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001AbZAEWLM (ORCPT ); Mon, 5 Jan 2009 17:11:12 -0500 Message-ID: <4962858F.20207@zytor.com> Date: Mon, 05 Jan 2009 14:11:27 -0800 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.18 (X11/20081119) MIME-Version: 1.0 To: Alain Knaff CC: the arch/x86 maintainers , Linux Kernel Mailing List Subject: Re: tip: bzip2/lzma now in tip:x86/setup-lzma References: <200901042146.n04LkHgP005837@hitchhiker.hitchhiker.org.lu.hitchhiker.org.lu> <4961415C.1050708@zytor.com> <49614243.70102@knaff.lu> <496142E4.8040308@zytor.com> <49614491.7020903@knaff.lu> <49614D1F.8020900@zytor.com> <49615136.9080900@knaff.lu> <4961580A.1020301@zytor.com> <4961A816.40302@knaff.lu> <4961A997.10108@zytor.com> <4961ADC5.6030108@knaff.lu> <49622DE9.2010200@zytor.com> <496240DF.2010102@knaff.lu> <49624F6C.8010103@zytor.com> <4962522F.20804@knaff.lu> <496255B0.1050208@zytor.com> <4962580B.2080806@knaff.lu> <4962612C.8090405@zytor.com> <496284A2.9070003@knaff.lu> In-Reply-To: <496284A2.9070003@knaff.lu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1118 Lines: 27 Alain Knaff wrote: > H. Peter Anvin wrote: >> Well, I think the right thing to do at this stage is to simply compress >> the initramfs with the preferred compression method (and if no >> compression method is provided, with none.) This can be relatively >> simply done with a script, I think. > > Well, the problem is there is really no "preferred" method for the > ramdisk or initramfs. And picking the one from the kernel might not > work, because the user might have chosen to compress the kernel via > bzip2, but only allowed lzma and gzip for the ramdisk. > I'm thinking that with "preferred" we might just use the first one in the priority list "lzma, bzip2, gzip, uncompressed" depending on what is installed in the kernel. Using the kernel method may definitely not work, especially on architectures which don't do this style of kernel compression. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/