ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: странное поведение rpm
@ 2021-11-25  8:05 Konstantin Lepikhov
  2021-11-25  8:13 ` alexei
  2021-11-25  8:45 ` Leonid Krivoshein
  0 siblings, 2 replies; 21+ messages in thread
From: Konstantin Lepikhov @ 2021-11-25  8:05 UTC (permalink / raw)
  To: ALT Linux Devel Mailing List

Привет!

Пытаюсь я тут запаковать некую проприетарную фигню для собственных нужд и
столкнулся со странным поведением rpm:

$ rpm2cpio ../Perimeter81_0.2.29.480.rpm | cpio -idmuv --no-absolute-filenames
...

$ ll opt/Perimeter81/artifacts/
total 79376
drwxr-xr-x 2 lakostis lakostis       40 Nov 25 08:57 ./
drwxr-xr-x 8 lakostis lakostis     4096 Nov 25 08:57 ../
-rwxr-xr-x 1 lakostis lakostis 40337092 Nov 25 08:57 daemon-creator
-rwxr-xr-x 1 lakostis lakostis 40936023 Nov 25 08:57 daemon

В спеке в секции %install я объявляю %brp_strip_none %pdata/artifacts/*
где %pdata это путь до вот этих файлов

Но при упаковке rpm на выходе эти 2 файла превращаются в один, причем
одинаковой длины!

$ rpm2cpio perimeter81-0.2.29.480-alt0.1.x86_64.rpm|cpio -idmuv --no-absolute-filenames
...

$ ll usr/lib64/Perimeter81/artifacts/
total 77692
drwxr-xr-x 2 lakostis lakostis       40 Nov 25 09:03 ./
drwxr-xr-x 7 lakostis lakostis     4096 Nov 25 09:03 ../
-rwxr-xr-x 1 lakostis lakostis 39772216 Nov 25 09:03 daemon-creator
-rwxr-xr-x 1 lakostis lakostis 39772216 Nov 25 09:03 daemon

Как так? ))

-- 
WBR et al.


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

end of thread, other threads:[~2021-11-25 16:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-25  8:05 [devel] Q: странное поведение rpm Konstantin Lepikhov
2021-11-25  8:13 ` alexei
2021-11-25  8:40   ` Konstantin Lepikhov
2021-11-25  8:45 ` Leonid Krivoshein
2021-11-25  8:56   ` Konstantin Lepikhov
2021-11-25  9:04     ` Konstantin Lepikhov
2021-11-25  9:22       ` Leonid Krivoshein
2021-11-25  9:46         ` Konstantin Lepikhov
2021-11-25 10:25           ` Leonid Krivoshein
2021-11-25 10:30             ` Konstantin Lepikhov
2021-11-25 11:22               ` Leonid Krivoshein
2021-11-25 11:34                 ` Konstantin Lepikhov
2021-11-25 13:13                   ` Leonid Krivoshein
2021-11-25 13:29                     ` Konstantin Lepikhov
2021-11-25 15:50                       ` Leonid Krivoshein
2021-11-25 11:55               ` Dmitry V. Levin
2021-11-25 12:15                 ` Konstantin Lepikhov
2021-11-25 12:28                   ` Dmitry V. Levin
2021-11-25 13:22                     ` Leonid Krivoshein
2021-11-25 13:26                     ` Konstantin Lepikhov
2021-11-25 16:47                       ` [devel] Q: странное поведение rpm (debuginfo) Vitaly Chikunov

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