ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: bars sc <barssc@mail.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Сборка модуля ядра
Date: Tue, 6 Oct 2015 21:28:43 +0300
Message-ID: <561412DB.2080706@mail.ru> (raw)
In-Reply-To: <20151006135844.418bfbc2@boyarsh.office.altlinux.ru>

06.10.2015 13:58, Anton V. Boyarshinov пишет:
> On Mon, 5 Oct 2015 18:20:09 +0300 bars sc wrote:
>
>> Подскажите как правильно пересобрать модуль ядра в бранчи.
> Ни в бранчах, ни в Сизифе, в спеках модулей ядра не должно быть ничего
> подобного:
>
> %define flavour un-def
> BuildRequires(pre): kernel-headers-modules-un-def
>
> Посмотрите, как сделаны другие модули, один и тот же шаблон
> используется для сборки модулей для разных ядер. Ситуация, когда в spec
> файле и даже в его имени в явном виде указан flavour ядра недопустима.
>
Где-то явно делаю неправильно, поправьте пожалуйста:
1)git clone git://git.altlinux.org/gears/k/kernel-modules-fglrx-std-def 
modules
2)cd modules
3)git checkout -b template/fglrx/sisyphus
4)git add *.spec (исправленный)
5)git commit -a
6)km-create-tag -k std-def fglrx
7)git remote add public git.alt:packages/kernel-modules.git (заранее 
вытянута git.altlinux.org/gears/k/kernel-modules-fglrx-std-def)
8)git push --all public
9)git push --tags public
В этом случае при сборке ругается

E: Couldn't find package kernel-headers-modules-@kflavour@

Второй вариант:
1)git clone git://git.altlinux.org/people/boyarsh/packages/kernel-modules.git modules
2)git checkout -b template/fglrx/sisyphus origin/template/fglrx/sisyphus
3)git add *.spec
4)cd  modules&&  km-create-tag-k  std-def fglrx
5)git remote add public git.alt:packages/kernel-modules.git (заранее вытянут)
6)git push --all public
7)git push --tags public
В этом случае при сборке
error: kernel-modules.git tag `sisyphus/kernel-modules-fglrx-std-def-15.201.1151-alt2' is not inherited from /gears/k/kernel-modules-fglrx-std-def.git branch `sisyphus'



  reply	other threads:[~2015-10-06 18:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-26 21:05 bars sc
2015-09-27  1:17 ` Hihin Ruslan
2015-09-27  9:20   ` bars sc
2015-09-27 11:48     ` bars sc
2015-09-27 12:01       ` Hihin Ruslan
2015-09-27 12:46 ` Michael Shigorin
2015-09-27 13:04   ` bars sc
2015-09-27 13:23     ` Hihin Ruslan
2015-09-27 13:37       ` bars sc
2015-09-27 13:42         ` Hihin Ruslan
2015-09-27 15:23     ` Michael Shigorin
2015-09-27 15:35       ` bars sc
2015-10-05  9:50         ` Anton V. Boyarshinov
2015-10-05 15:20           ` bars sc
2015-10-06 10:53             ` Anton V. Boyarshinov
2015-10-06 10:58             ` Anton V. Boyarshinov
2015-10-06 18:28               ` bars sc [this message]
2015-10-07  9:29                 ` Anton V. Boyarshinov
2015-10-07  9:34                   ` bars sc
2015-10-08  9:51                     ` Anton V. Boyarshinov
2015-10-06 20:27               ` Michael Shigorin
2015-10-05 17:40       ` bars sc

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=561412DB.2080706@mail.ru \
    --to=barssc@mail.ru \
    --cc=devel@lists.altlinux.org \
    /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