ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <snmon@server.by>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] u: kernel-feat-swsusp-alt2 и suspend-alt3
Date: Sat, 25 Oct 2003 13:06:36 +0300
Message-ID: <20031025100636.GA6901@server.by> (raw)
In-Reply-To: <20031024193057.GB2439@sirius.home>

On Fri, Oct 24, 2003 at 11:30:57PM +0400, Sergey Vlasov wrote:
<skip>

> > Общее впечатление от патча - он сломан. Весь.
> > 
> > 1. kernel-feat-swsusp-2003.10.16-alt2 с инкрементным патчем внутри
> > (2.0rc1 against 2.4.22 + 2.0rc2 against 2.0rc1) в принципе не патчит
> > ванильное 2.4.22 ядро. А вот обычный (не инкрементный) патч 2.0-rc2
> > (http://prdownloads.sourceforge.net/swsusp/swsusp-2.0-rc2-whole.bz2?download) 

Если честно, то я об этом не думал. 

> > патчит нормально.
> > 2. XFS-ные куски патча не прикладываются, если не приложен сам XFS-патч,
> > а video-splash-ные - без video-splash.
> 
> Для таких случаев в kernel-build-tools уже предусмотрено условное
> приложение патчей.  В данном случае, например, патчи
> 04_swsusp-xfs-option-patch и 05_swsusp-xfs-option-fix следует
> переложить в подкаталог 04_kernel-feat-fs-xfs, а патч
> 06_swsusp-1.1-rc10-bootsplash-option - в подкаталог
> 06_kernel-feat-drivers-video-splash.  При этом одновременно будет
> обеспечен и правильный порядок приложения патчей - независимо от
> порядка %add_patch_list сначала будут применены патчи, на которые есть
> такие условные зависимости.

Попробовал. В kernel-feat-fs-xfs в /include/linux/sched.h добавляется
#define PF_FSTRANS. swsusp патчи для "xfs-есть" и "xfs-нет" будут разные.
То что получилось пока, лежит на 
http://snmon.at.tut.by/swsusp/kernel-feat-swsusp-2003.10.16-alt3.src.rpm
Сегодня уже больше ничего не смогу сделать.
Если так пройдет, то наверно получится сделать, чтобы можно было прикладывать
на ванильное ядро и ядро с feat-fix-ами.




      reply	other threads:[~2003-10-25 10:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23 13:45 Alex Yustasov
2003-10-23 15:08 ` [devel] " Michael Shigorin
2003-10-24 18:42 ` [devel] " Andrey Rahmatullin
2003-10-24 19:30   ` Sergey Vlasov
2003-10-25 10:06     ` Alex Yustasov [this message]

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=20031025100636.GA6901@server.by \
    --to=snmon@server.by \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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