From: Michael Shigorin <mike@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Опакечивание в /opt vs "FHS violation"
Date: Fri, 1 May 2015 18:57:12 +0300
Message-ID: <20150501155712.GA19034@imap.altlinux.org> (raw)
In-Reply-To: <5543A016.2030103@gmail.com>
On Fri, May 01, 2015 at 06:47:34PM +0300, Motsyo Gennadi aka Drool wrote:
> А есть ли какое-то культурное решение для опакечивания чужих
> бинарников в пакет (исходников нет), при условии, что там
> бинарники и ресурсы ложатся в /opt? Для себя я могу отключить
> эту проверку, но может есть какое-то правильное решение для
> таких неправильных продуктов?
Если пути прибиты внутри -- боюсь, выкладывать сбоку.
В принципе есть ещё вариант с распихиванием в /usr/libexec
(/etc по части настроек, /var по записи) и созданием симлинка
из /opt в %post с удалением в %preun, но это жёсткий мухлёж.
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
next prev parent reply other threads:[~2015-05-01 15:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-01 15:47 Motsyo Gennadi aka Drool
2015-05-01 15:57 ` Michael Shigorin [this message]
2015-05-01 20:31 ` Motsyo Gennadi aka Drool
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=20150501155712.GA19034@imap.altlinux.org \
--to=mike@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