ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Mikhail Efremov <sem@altlinux.ru>
To: devel-distro@lists.altlinux.org
Cc: shigorin@gmail.com
Subject: Re: [devel-distro] i-f-*disable*
Date: Fri, 25 Nov 2011 15:13:49 +0400
Message-ID: <20111125151349.678afa35@c203.office.altlinux.ru> (raw)
In-Reply-To: <20111125105337.GB11418@osdn.org.ua>

On Fri, 25 Nov 2011 12:53:37 +0200 Michael Shigorin wrote:
> On Fri, Nov 25, 2011 at 01:26:10AM +0000, QA Team Robot wrote:
> > installer-feature-hdd-pm-disable - Installer hook for disable pm-utils script
> > * Thu Nov 24 2011 Mikhail Efremov <sem@altlinux> 0.1-alt1
> > - Initial build.
> 
> > # Disable harddrive script from pm-utils.
> > # HDD should be managed by power manager via udisks.
> > touch "$destdir/etc/pm/power.d/harddrive"
> 
> Может, получится вынести этот скрипт в подпакет
> (или просто вынести), чем вырубать его хуком слева?

Не все используют udisks. Мне кажется вполне удобным иметь все скрипты
pm-utils в одном пакете, все-таки. А для отключения "лишних" хуков
способ с помещением файла в /etc/pm вполне удобен.
А вообще надо бы посмотреть внимательно на все эти скрипты, там может
что-то еще конфликтовать с работой power manager/udisks/upower.
Причем возможно, что разные power managers могут иметь разный набор
возможностей и вступать в конфликт с разными скриптами из pm-utils. Не
все же их выносить в отдельные подпакеты.
Совсем отказаться от использования pm-utils не вариант, это уж очень
удобный инструмент.

-- 
WBR, Mikhail Efremov


  reply	other threads:[~2011-11-25 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 10:53 ` Michael Shigorin
2011-11-25 11:13   ` Mikhail Efremov [this message]
2011-11-25 11:19     ` Michael Shigorin

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=20111125151349.678afa35@c203.office.altlinux.ru \
    --to=sem@altlinux.ru \
    --cc=devel-distro@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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 Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-distro


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git