ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <snmon@server.by>
To: community@altlinux.ru
Subject: Re: [Comm] Как наложить патч на ядро ALM 2.2 : последовательность действий
Date: Sat, 20 Sep 2003 19:22:55 +0300
Message-ID: <20030920162255.GB13313@server.by> (raw)
In-Reply-To: <3F6C07C6.1020505@rmts.donpac.ru>

On Sat, Sep 20, 2003 at 11:54:46AM +0400, Прокопьев Евгений wrote:
> Здравствуйте!
> 
> Задача: есть установленные в ~/RPM исходники ядра ALM 2.2 
> (kernel24-2.4.20-alt5.src.rpm)  и патч 
> ebtables-v2.0.003_vs_2.4.20.diff.gz (аналог iptables, обеспечивающий те 
> же функции не на уровне ip, а на уровне ethernet). Необходимо собрать 
> *.rpm ядра с поддержкой ebtables.
> 
> На содежимое linux-2.4.20.tar.bz2 этот патч накладывается без проблем.
> 
> Правильно ли я понимаю, что для меня достаточно предпринять следующие 
> действия:
> 
> 1. Скопировать патч в SOURCES
Да.
> 2. Подравить спек (как?)
Давно это было и у меня есть alt7.
В kernel24.spec, в описании патчей после строки Patch6002: ...
добавить строчку

Patch6005: ebtables-v2.0.003_vs_2.4.20.diff.gz

и после строки %patch6002 -p1
добавить
%patch6005 -p1

Только после всех патчей, которые там есть, могут появиться проблемы.

> 3. Найти файл c конфигурацией ядра ALM и загрузить его в make xconfig 
> (где этот файл?)
Файл лежит в SOURCES
kernel-2.4.20-%target-(smp или up).config

> 4. Добавить в make xconfig поддержку ebtables и сохранить файл
> 5. Набрать rpm -bb kernel-2.4-stable.spec и ждать ...
rpm -ba kernel24.spec
Там будет и make oldconfig, про новые опции должно спросить.

> 
> Если все верно, то требуется помощь по пунктам 2,3 , а если нет, то 
> помощь требуется тем более :)
> 
> -- 
> С уважением, Прокопьев Евгений



  reply	other threads:[~2003-09-20 16:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-20  7:54 Прокопьев Евгений
2003-09-20 16:22 ` Alex Yustasov [this message]
2003-09-23 15:39 ` [Comm] " Michael Shigorin
2003-09-24  4:58   ` [Comm] " Alexey Novikov

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=20030920162255.GB13313@server.by \
    --to=snmon@server.by \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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