From: "Alexey I. Froloff" <sir_raorn@immo.ru>
To: ALTLinux devel <devel@altlinux.ru>
Subject: Re: [devel] Q: rpm, %post и XXX.d/...
Date: Wed, 29 Oct 2003 16:41:52 +0300
Message-ID: <20031029134152.GQ6596@inferno.immo> (raw)
In-Reply-To: <20031029133322.GA21758@basalt.office.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
* Dmitry V. Levin <ldv@altlinux.org> [031029 16:35]:
> > > > Вопрос простой - кто виноват и что делать? Если переносить вызов
> > > > скрипта в другую секцию, то куда? С одной стороны должны
> > > > отрабатывать ситуации новой установки, апгрейда и удаления
> > > > пакета, с другой стороны не хочется запускать одно и то же
> > > > несколько раз за операцию...
> > > Боюсь, что пример a la update-menus - это единственное, что будет работать.
> > update-menus.cc:wait_dpkg()? Так он же кажется не работает с rpm
> > судя по коду... И по моему там ещё есть race...
> Я имел в виду %update_menus/%clean_menus и способ их запуска.
Ну честно говоря я свои скрипты делал именно по образу и подобию
update_menus...
Проблема в другом - в момент выполнения %post в некоем каталоге,
с которым работает update-XXX, могут находиться файлы, которые
есть только в предыдущей версии этого пакета и они будут тоже
обработаны.
--
Regards, Sir Raorn.
-------------------
Ждать можно бесконечно долго: похоже, что вы единственный, у кого
наблюдаются проблемы такого рода.
-- ldv in sisyphus@
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-10-29 13:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-29 12:25 Alexey I. Froloff
2003-10-29 12:49 ` Dmitry V. Levin
2003-10-29 13:25 ` Alexey I. Froloff
2003-10-29 13:33 ` Dmitry V. Levin
2003-10-29 13:41 ` Alexey I. Froloff [this message]
2003-10-29 13:47 ` Dmitry V. Levin
2003-10-29 14:50 ` Alexey I. Froloff
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=20031029134152.GQ6596@inferno.immo \
--to=sir_raorn@immo.ru \
--cc=devel@altlinux.ru \
/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