ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Viacheslav Dubrovskyi <dubrsl@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] systemd и /etc/vconsole.conf
Date: Wed, 05 Mar 2014 11:29:30 +0200
Message-ID: <5316EE7A.60408@gmail.com> (raw)
In-Reply-To: <CAK2uZ2dEc3UDwy07iQk-CaT=ZBLEKSpK4z7R0cz0+95vAHkV2A@mail.gmail.com>

05.03.2014 11:18, diver wrote:
> $ cat /etc/vconsole.conf
> cat: /etc/vconsole.conf: Нет такого файла или каталога
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Вот собственно и вопрос. Это как так получается? :/
Этот файл %ghost
http://git.altlinux.org/gears/s/systemd.git?p=systemd.git;a=blob;f=systemd.spec;h=6ba3deb815cac9549f641f29b5cfc0309ff9df84;hb=sisyphus#l948

http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html

As we mentioned in the Section called The %files List, if a file is 
specified in the %files list, that file will automatically be included 
in the package. There are times when a file should be owned by the 
package but not installed - log files and state files are good examples 
of cases you might desire this to happen.
The way to achieve this, is to use the %ghost directive. By adding this 
directive to the line containing a file, RPM will know about the ghosted 
file, but will not add it to the package.

-- 
WBR,
Viacheslav Dubrovskyi



  reply	other threads:[~2014-03-05  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05  9:18 diver
2014-03-05  9:29 ` Viacheslav Dubrovskyi [this message]
2014-03-05  9:41   ` diver

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=5316EE7A.60408@gmail.com \
    --to=dubrsl@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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