ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@mivlgu.murom.ru>
To: "Любимов А.В." <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Re: rpm -b what?
Date: Thu Mar 14 19:37:04 2002
Message-ID: <20020314164721.GE13065@vcserver.mivlgu.ru> (raw)
In-Reply-To: <11311464314.20020314183334@mtu-net.ru>

On Thu, Mar 14, 2002 at 18:33:34 +0300, Serge Skorokhodov wrote:
> Здравствуйте!
> 
> ЛАВ> On Thu, 14 Mar 2002 15:41:13 +0200
> ЛАВ> "Michael Shigorin" <mike@lic145.kiev.ua> wrote:
> 
> >> On Thu, Mar 14, 2002 at 02:28:21PM +0300, Serge Skorokhodov wrote:
> >> > Если размер буфера по крайней мере понятно как менять (поменять и
> >> > снова закатать в тарбол), то исходники acpi имеются только в виде
> >> > диффов:(. Что делать: править дифф?
> >> Можно и так.
> 
> ЛАВ> а что мешает сделать так. 
> 
> ЛАВ> rpm -bp kernel
> 
> ЛАВ> cd ../build/...
> ЛАВ> копируем в темп 
> ЛАВ> правим
> ЛАВ> diff старое новое
> ЛАВ> добавляем патч в папку sources и спек
> ЛАВ> собираем.
> 
> Надо попробовать, но я пока в этих технологиях плаваю:) И
> собирать ядро приходится на ночь ставить:( А хотелось бы просто
> модуль поправить и мейкануться. Это можно, кстати? Ведь конфиг
> прежний. А потом ядро впихнуть "старым казачим способом"? Вот
> только как тогда модули в систему устанавливать?

Думаю, для тестового режима ручной способ вполне пойдет.  В процессе
ковыряния с некоторыми модулями я делал так: после правки запускал make
modules (к сожалению, в нужном каталоге так запустить нельзя - приходится
запускать сверху, так что обходится в поисках изменений все дерево).
Потом обновившийся модуль засовывался руками в /lib/modules/... на место
старого; depmod -a; далее перезагружаем модуль.

Если меняются и куски, встраиваемые внутрь ядра - придется еще сделать
make bzImage и поставить новое ядро.

Ну а когда заработает, можно будет и diff сделать.



  parent reply	other threads:[~2002-03-14 19:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13  9:32 [mdk-re] " Serge Skorokhodov
2002-03-14 11:28 ` [mdk-re] " Michael Shigorin
2002-03-14 15:26   ` Serge Skorokhodov
2002-03-14 16:56     ` Michael Shigorin
2002-03-14 17:27       ` Любимов А.В.
2002-03-14 18:52         ` Re[2]: " Serge Skorokhodov
2002-03-14 19:31           ` Любимов А.В.
2002-03-14 19:37           ` Sergey Vlasov [this message]
2002-03-14 20:59             ` Serge Skorokhodov
2002-03-15 15:50               ` Sergey Vlasov

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=20020314164721.GE13065@vcserver.mivlgu.ru \
    --to=vsu@mivlgu.murom.ru \
    --cc=mandrake-russian@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