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=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=wZNvZ7ErSjYBpoVve2C5/PpSqpvEK2ute+gA+HtjOEs=; b=gaKlaxo5D24Hb/6DjpCFvNZ7NpSZAxtji7o5W3FC70bwh1hib/R5+W0RQAoY1IAtVl hbw15bLiifQyezUUJYo/eeDCj5NIKCSn7zHTqomeyjkuGozbB+MB9H+Owbq/T39T4pqI +Ua7o8LoXfX3OT5zu+7q1sCzK0C1M927zLzww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=uIDbAZZo5DN5izLJSFOBnFd15i9c/wkA797NHZ+ig+na8wrY0COwtE/xZJdHlPMud/ gTqVq4PdzNeDsD2iure0jMw55Q4N9RVIqHxciaRppC26RxeCZV4IiuzQawi7uk/eyI3c 1iRz3uciTBuc2U1suaJE1aR+YmWXOKQNqJIek= Message-ID: <4AF2223F.9050108@gmail.com> Date: Thu, 05 Nov 2009 02:54:23 +0200 From: andriy User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; uk; rv:1.9.1.5pre) Gecko/20091019 Thunderbird/3.0pre MIME-Version: 1.0 To: "devel@ where you _can_ ask" References: <4AF19209.10203@gmail.com> <20091104200214.GQ13476@osdn.org.ua> In-Reply-To: <20091104200214.GQ13476@osdn.org.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [newbies] =?utf-8?b?0LDQstGC0L7QvNCw0YLQuNGH0LXRgdC60LDRj1/RgdCx?= =?utf-8?b?0L7RgNC60LBf0Y/QtNGA0LA=?= X-BeenThere: devel-newbies@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: "devel@ where you _can_ ask" List-Id: "devel@ where you _can_ ask" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 00:48:36 -0000 Archived-At: List-Archive: On 04.11.09 22:02, Michael Shigorin wrote: > Ну так бранч-то этот у меня лежит... напомните потом, > пока сделаю локальный 2.6.31.y -- может, уже готовые > диффы пришлю. > > >> А что с этим делать: >> t-hard:~/git/kernel-image> cp -a ~/git/_kernel-image/.gear/rules .gear/rules >> ? >> > attached > Дурацкий был у меня вопрос, там было написано: cat .gear/rules copy: config-* diff: v2.6.27:. v2.6.27.25:. name=linux-2.6.27.25.patch diff: v2.6.27.25:. fix-vm_deadlock:. name=fix-vm_deadlock.patch diff: v2.6.27.25:. fix-core-getline:. name=fix-core-getline.patch Система у меня - 2.6.30-std-def-alt10 #1 SMP Mon Aug 17 17:09:21 UTC 2009 x86_64 GNU/Linux соотвественно config ядра брал из /boot, а kernel-image.spec из архива kernel-image-std-pae-2.6.30-alt14.src.rpm из Сизифа. Только изменил в нем Version: 2.6.31 и ExclusiveArch: x86_64 Как могу догадаться так не делается. тепер до сборки проходит нормально, но... последний шаг(10) - нет: 1.[andriy@Andriy kernel-image]$ git init Initialized empty Git repository in /storage/mike-kernel/kernel-image/.git/ 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 remote: Counting objects: 1270609, done. remote: Compressing objects: 100% (215867/215867), done. remote: Total 1270609 (delta 1055712), reused 1257208 (delta 1046687) Receiving objects: 100% (1270609/1270609), 270.05 MiB | 453 KiB/s, done. Resolving deltas: 100% (1055712/1055712), done. >>From git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.31.y ...................................... 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 [master (root-commit) c701602] initial gear rules 1 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 .gear/rules [andriy@Andriy kernel-image]$ git commit -m 'initial kernel config' config-x86_64 [master 52c92ee] initial kernel config 1 files changed, 4622 insertions(+), 0 deletions(-) create mode 100644 config-x86_64 [andriy@Andriy kernel-image]$ git commit -m 'initial specfile' kernel-image.spec [master 1359cd4] initial specfile 1 files changed, 2940 insertions(+), 0 deletions(-) create mode 100644 kernel-image.spec 8. [andriy@Andriy kernel-image]$ git status # On branch master # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # new file: .gear/rules~ # # Untracked files: # (use "git add ..." to include in what will be committed) # # master/ # 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 [andriy@Andriy kernel-image]$ nice time gear --hasher -- hsh --target=x86_64 --apt-conf=/etc/apt/apt.conf ../hasher/tmpfs <86>Nov 5 00:38:54 userdel[10138]: delete user `rooter' <86>Nov 5 00:38:54 groupadd[10139]: new group: name=rooter, gid=501 <86>Nov 5 00:38:54 useradd[10140]: new user: name=rooter, uid=501, gid=501, home=/root, shell=/bin/bash <86>Nov 5 00:38:54 userdel[10142]: delete user `builder' <86>Nov 5 00:38:55 groupadd[10143]: new group: name=builder, gid=502 <86>Nov 5 00:38:55 useradd[10144]: new user: name=builder, uid=502, gid=502, home=/usr/src, shell=/bin/bash <13>Nov 5 00:38:59 rpmi: rpm-build-kernel-0.99.1-alt1 installed Reading Package Lists... Building Dependency Tree... rpm-build-kernel is already the newest version. Selecting libdb4.7-devel for 'libdb4-devel' E: Couldn't find package kernel-source-2.6.31 hsh-install: failed to calculate package file list. hsh-install: Failed to generate package file list. Command exited with non-zero status 1 16.45user 6.35system 3:48.71elapsed 9%CPU (0avgtext+0avgdata 0maxresident)k 288672inputs+803808outputs (853major+479815minor)pagefaults 0swaps