From: Vitaly Ostanin <vyt@vzljot.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: depmod failed on the custom kernel
Date: Sun, 20 Apr 2003 00:48:41 +0400
Message-ID: <3EA1B629.8010503@vzljot.ru> (raw)
In-Reply-To: <20030419235543.1c945455.avl@l14.ru>
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
Алексей Любимов пишет:
> On Sat, 19 Apr 2003 17:44:03 +0400
> "Peter V. Saveliev" <peet@eltel.net> wrote:
>
>
>>...
>>
>>Приспичило собирать своё ядро (нужна была поддержка serial console и
>>vserver).
>>
>>Последовательность действий была такая:
>>
>>$ rpm -ihv kernel24-2.4.20-alt7.src.rpm
>>$ cd /usr/src/RPM/SOURCES
>>// установил исходники
>
>
> выключить ненужные патчи и
> rpm -bp kernel24.spec
>
>
>>$ cp /home/peet/patch-2.4.20ctx-17 .
>>// патч vserver.
>>// название совсем не по ALT, но это пока проба пера :)
>>
>>$ cd ../SPECS $ mcedit kernel24.spec
>>// добавил патч, проследил, с кем конфликтует, убрал конфликтную цепочку
>>
>>$ rpmbuild -ba kernel24.spec
>>// прервал до make, но после применения патчей (кстати, это, наверное,
>>// можно сделать ключами...)
>
>
> положить ратч в ../SOURCES
>
> в начале спека добавить
> %patchXXX: kernel-vserver.patch.gz
>
> в
> в нужном месте секции prepare добавить %patchXXX -p 1
Можно -p1 без пробела. Для экономии времени советую добавить
%patchXXX перед всеми остальными, чтобы отвались другие
конфликтующие, а не нужный XXX. Лучше сразу посмотреть, не патчит
ли патч конфиг ядра (если да, вписать добавленные параметры в
нужный конфиг), иначе при сборке задаст вопрос про неизвестный
параметр и будет наивно ждать ответа.
Да, старая схема сборки ядра - это интим...
<skipped/>
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: Type: application/pgp-signature, Size: 252 bytes --]
next prev parent reply other threads:[~2003-04-19 20:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-19 13:44 [sisyphus] " Peter V. Saveliev
2003-04-19 19:55 ` "Алексей Любимов"
2003-04-19 20:48 ` Vitaly Ostanin [this message]
2003-04-20 19:06 ` [sisyphus] " Peter V. Saveliev
2003-04-20 19:05 ` [sisyphus] " Peter V. Saveliev
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=3EA1B629.8010503@vzljot.ru \
--to=vyt@vzljot.ru \
--cc=sisyphus@altlinux.ru \
/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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git