ALT Linux Team development discussions
 help / color / mirror / Atom feed
* Re: [devel] [#219304] FAILED kernel-image.git=kernel-image-std-def-4.14.93-alt1 ...
  @ 2019-01-14  0:46 ` Dmitry V. Levin
  2019-01-14 10:41   ` Anton V. Boyarshinov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2019-01-14  0:46 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

On Sun, Jan 13, 2019 at 01:58:28PM +0000, Girar Builder awaiter robot wrote:
> http://git.altlinux.org/tasks/219304/logs/events.1.1.log
[...]
> /.out/kernel-modules-kvm-std-def-4.14.93-alt1.x86_64.rpm: kernel module should require only one kernel image
> sisyphus_check: check-kernel ERROR: kernel module violation

В kernel-image.spec используются странные конструкции вида

%package -n kernel-modules-kvm-%flavour
[...]
Prereq: %name = %epoch:%version-%release
Requires(postun): %name = %epoch:%version-%release

rpm-build теперь стал превращать их в
Prereq: %name = %epoch:%version-%release:%disttag
Requires(postun): %name = %epoch:%version-%release
либо
Prereq: %name = %epoch:%version-%release
Requires(postun): %name = %epoch:%version-%release:%disttag

Результат этого превращения не нравится sisyphus_check'у.

Вопрос, не пора ли упростить зависимости в kernel-image.spec?

Если там действительно нужны pre- и postun-, то давайте поменяем их на
Requires(pre,postun): %name = %epoch:%version-%release
или, что эквивалентно,
Requires(pre,postun): %name


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] [#219304] FAILED kernel-image.git=kernel-image-std-def-4.14.93-alt1 ...
  2019-01-14  0:46 ` [devel] [#219304] FAILED kernel-image.git=kernel-image-std-def-4.14.93-alt1 Dmitry V. Levin
@ 2019-01-14 10:41   ` Anton V. Boyarshinov
  2019-01-14 10:50     ` Anton V. Boyarshinov
  0 siblings, 1 reply; 3+ messages in thread
From: Anton V. Boyarshinov @ 2019-01-14 10:41 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

Добрый день

> Вопрос, не пора ли упростить зависимости в kernel-image.spec?
> 
> Если там действительно нужны pre- и postun-, то давайте поменяем их на
> Requires(pre,postun): %name = %epoch:%version-%release
> или, что эквивалентно,
> Requires(pre,postun): %name

Я как раз размышляю над тем, нужны ли они там вообще.

Антон

[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] [#219304] FAILED kernel-image.git=kernel-image-std-def-4.14.93-alt1 ...
  2019-01-14 10:41   ` Anton V. Boyarshinov
@ 2019-01-14 10:50     ` Anton V. Boyarshinov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton V. Boyarshinov @ 2019-01-14 10:50 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

On Mon, 14 Jan 2019 13:41:28 +0300 Anton V. Boyarshinov wrote:

 
> Я как раз размышляю над тем, нужны ли они там вообще.
Судя по всему, эти зависимости надо было удавить вместе с самими
скриптами (заменёнными файлтриггерами) где-то в районе p7.

[-- Attachment #2: Цифровая подпись OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-14 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-14  0:46 ` [devel] [#219304] FAILED kernel-image.git=kernel-image-std-def-4.14.93-alt1 Dmitry V. Levin
2019-01-14 10:41   ` Anton V. Boyarshinov
2019-01-14 10:50     ` Anton V. Boyarshinov

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