From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 Date: Tue, 14 Dec 2010 17:40:13 +0200 From: Michael Shigorin To: devel@lists.altlinux.org Message-ID: <20101214154013.GA10089@osdn.org.ua> Mail-Followup-To: devel@lists.altlinux.org References: <4D023B91.9040300@altlinux.ru> <20101210145252.GF14262@altlinux.org> <4D024339.6070406@altlinux.ru> <4D024DC8.7010909@altlinux.ru> <4D024F16.1030701@altlinux.ru> <20101214145834.GA1876@osdn.org.ua> <4D07882E.2010607@altlinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4D07882E.2010607@altlinux.com> User-Agent: Mutt/1.4.2.1i Subject: [devel] mkimage broke too | was: kernel-image girar install check vs make-initrd X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2010 15:33:06 -0000 Archived-At: List-Archive: List-Post: On Tue, Dec 14, 2010 at 06:07:26PM +0300, Anton Farygin wrote: > >вот так всё-таки шибко хакообразно: > >http://git.altlinux.org/people/boyarsh/packages/?p=mkimage-profiles-desktop.git;a=blob;f=profiles/scripts.d/80-make-initfs;h=5980f53f7442972c0858f648a4a4265ea562e44b;hb=75a8e8516cd26b955e34357dc3fef01155d6bb4a > Исправлено в гите уже. Если ты про "workaround for mkimage kernel detection algoritm": http://git.altlinux.org/people/rider/packages/?p=mkimage-profiles-desktop.git;a=commitdiff;h=97a87063af6a11b3541594500082a2821626f946 -- то всё-таки лучше бы в mkimage исправлять (legion@ в курсе). Где-то так: --- if [ -L /boot/vmlinuz ]; then kimage="\$(readlink -ev /boot/vmlinuz)" else kimage="\$(find /boot -type f -name 'vmlinuz-*' | head -1)" fi kver="\${kimage#/boot/vmlinuz-}" --- -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/