ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@lists.altlinux.org
Subject: [devel] mkimage broke too | was: kernel-image girar install check vs make-initrd
Date: Tue, 14 Dec 2010 17:40:13 +0200
Message-ID: <20101214154013.GA10089@osdn.org.ua> (raw)
In-Reply-To: <4D07882E.2010607@altlinux.com>

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 <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2010-12-14 15:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-10 14:39 [devel] " Michail Yakushin
2010-12-10 14:52 ` Dmitry V. Levin
2010-12-10 15:11   ` Michail Yakushin
2010-12-10 15:56     ` Alexey Gladkov
2010-12-10 16:02       ` Michail Yakushin
2010-12-10 16:06         ` Alexey Gladkov
2010-12-10 16:28           ` Michail Yakushin
2010-12-10 18:37             ` Anton Farygin
2010-12-14 14:58         ` Michael Shigorin
2010-12-14 15:07           ` Anton Farygin
2010-12-14 15:40             ` Michael Shigorin [this message]
2010-12-14 17:04               ` [devel] [SOLVED] Re: mkimage broke too Michael Shigorin
2011-05-12 17:57             ` [devel] kernel-image girar install check vs make-initrd Evgeny Sinelnikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101214154013.GA10089@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git