ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Konstantin Lepikhov <lakostis@altlinux.org>
To: ALT Linux Devel Mailing List <devel@lists.altlinux.org>
Subject: [devel] Q: странное поведение rpm
Date: Thu, 25 Nov 2021 09:05:08 +0100
Message-ID: <YZ9DtHbMk3/opxO4@lks.home> (raw)

Привет!

Пытаюсь я тут запаковать некую проприетарную фигню для собственных нужд и
столкнулся со странным поведением 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.


             reply	other threads:[~2021-11-25  8:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25  8:05 Konstantin Lepikhov [this message]
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

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=YZ9DtHbMk3/opxO4@lks.home \
    --to=lakostis@altlinux.org \
    --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