ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] mkimage inside systemd-nspawn and hardlinks
Date: Thu, 14 Jan 2016 12:03:40 +0100
Message-ID: <20160114110340.GH2495@comp-core-i7-2640m-0182e6.brq.redhat.com> (raw)
In-Reply-To: <20160114104145.GA15109@imap.altlinux.org>

On Thu, Jan 14, 2016 at 01:41:45PM +0300, Michael Shigorin wrote:
> On Thu, Jan 14, 2016 at 11:58:21AM +0300, Eugene Prokopiev wrote:
> > Хочется использовать mkimage внутри systemd-nspawn, однако последний
> > совершенно (насколько я понял) не умеет fs.protected_hardlinks = 0.
> > Можно ли как-нибудь mkimage научить использовать в этом случае копии?
> 
> Можно.

Миш, давай лучше сделаем ключ или переменную окружения, чтобы можно было   
отключить линки. Для примитивных образов копирование будет не так          
критично.
 
> > 2 mike@: кажется у тебя был даже патч на эту тему?
> 
> Был, но что-то я его найти нигде не могу, в т.ч. в почте.
> 
> Смысл в том, чтоб заменить cp -l на просто cp или вообще
> (если тебе надо "на вчера"), или в случае облома теста
> (такой патч я действительно делал, но legion@ высказался
> сильно против него по причине резкого -- порой в разы --
> роста ресурсоёмкости и я согласился, что для выпекания
> образов разумней вывалиться и объяснить, как настроить
> систему).

Собственно следствий будет два: размер сборочной среды и время сборки. Оба
параметра на больших образах сильно возрастут.

-- 
Rgrds, legion



  reply	other threads:[~2016-01-14 11:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14  8:58 Eugene Prokopiev
2016-01-14 10:41 ` Michael Shigorin
2016-01-14 11:03   ` Alexey Gladkov [this message]
2016-01-14 16:54     ` Michael Shigorin
2016-01-15  5:41   ` Eugene Prokopiev

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=20160114110340.GH2495@comp-core-i7-2640m-0182e6.brq.redhat.com \
    --to=legion@altlinux.ru \
    --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