devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] автоматическая_сборка_ядра
Date: Thu, 5 Nov 2009 12:20:06 +0200
Message-ID: <20091105102006.GY13476@osdn.org.ua> (raw)
In-Reply-To: <4AF2223F.9050108@gmail.com>

On Thu, Nov 05, 2009 at 02:54:23AM +0200, andriy wrote:
> kernel-image-std-pae-2.6.30-alt14.src.rpm из Сизифа.
> Только изменил в нем Version: 2.6.31 и ExclusiveArch: x86_64
> Как могу догадаться так не делается.

Делается, но архитектуру прибивать совершенно незачем
(задаётся при сборке всё равно), а помимо Version:,
ещё стопку действий выполнить надо (в т.ч. сформировать
пригодный конфиг на развёрнутом в сторонке дереве при
помощи make oldconfig и последующего make menuconfig).

> тепер до сборки проходит нормально, но... последний шаг(10) - нет:
> 1. [andriy@Andriy kernel-image]$ git init
> 2. [andriy@Andriy kernel-image]$ git fetch
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.31.y.git
> master:kernel-source
> 3. [andriy@Andriy kernel-image]$ git branch
> kernel-source
> 4. [andriy@Andriy kernel-image]$ mkdir .gear
> 5. [andriy@Andriy kernel-image]$ cp rules .gear/rules
> [andriy@Andriy kernel-image]$ vim .gear/rules (коментую все, що
> крім copy: config-*)
> 6. [andriy@Andriy kernel-image]$ git add kernel-image.spec config-x86_64
> .gear/
> 7. [andriy@Andriy kernel-image]$ git commit -m 'initial gear rules'
> .gear/rules
> [andriy@Andriy kernel-image]$ git commit -m 'initial kernel config'
> config-x86_64
> [andriy@Andriy kernel-image]$ git commit -m 'initial specfile'
> kernel-image.spec
> 8. [andriy@Andriy kernel-image]$ git status
> # On branch master
> # Untracked files:
> # (use "git add <file>..." to include in what will be committed)
> #
> # master/
> # rules

А это что за rules болтаются, из аттача сюда сохранённые?

> 9. [andriy@Andriy kernel-image]$ gear-update-tag -avc
> gear-update-tag: Updated .gear/tags/list
> 10.  [andriy@Andriy kernel-image]$ nice time gear --hasher --
> hsh --target=x86_64 --apt-conf=/etc/apt/apt.conf
> ../hasher/tmpfs
> 
> Selecting libdb4.7-devel for 'libdb4-devel'
> E: Couldn't find package kernel-source-2.6.31

Ну так его тоже собрать сперва надо, см. соответствующий src.rpm
или git.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  reply	other threads:[~2009-11-05 10:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04 16:48 ` Igor Zubkov
2009-11-04 17:08   ` andriy
2009-11-04 20:02 ` Michael Shigorin
2009-11-05  0:54   ` andriy
2009-11-05 10:20     ` Michael Shigorin [this message]
2009-11-05 13:27       ` andriy
2009-11-05 13:37         ` Michael Shigorin
2009-11-05 14:14           ` andriy
2009-11-10 19:52             ` Michael Shigorin
2009-11-10 23:06               ` andriy
2009-11-06 18:58           ` andriy
2009-11-10 19:54             ` Michael Shigorin

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=20091105102006.GY13476@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

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


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