ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vitaly Ostanin <vyt@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Using mkimage for creation chroot
Date: Fri, 23 May 2008 15:37:09 +0400
Message-ID: <4836AC65.7040302@altlinux.org> (raw)
In-Reply-To: <4836A27B.8010409@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

Vitaly Ostanin пишет:
> Michael A. Kangin пишет:
>> В сообщении от Wednesday 21 May 2008 13:17:52 Vitaly Ostanin написал(а):
>>
>>>> Посмотрите например цель live в mkimage-profiles-desktop
>>> Где именно, и в каком бранче? В сизифе и бранчах я такого пакета не
>>> нашёл.
>>>
>>> /people/boyarsh/packages/mkimage-profiles-desktop.git
>> Ну вот этот например, как апстрим.
> 
> Посмотрел, исходники hasher и spt тоже посмотрел, но так и не понял,
> в каком именно месте и как происходит использование .fakedata. Что
> это параметр fakeroot, я понял, но вызовов fakeroot не нашёл.
> 
> Можно меня ткнуть более точно?

Теперь дошло. Внутри hsh-shell права и владельцы файлов уже
системные - через вызовы fakeroot внутри hasher. То есть достаточно
просто вызывать:
hsh-run --rooter <DIR> -- tar  --exclude .fakedata --exclude .in
--exclude .host .

А я ступил и думал, что внутри владельцы те же, что снаружи -
user_a, user_b. Оказывается, при запуске hasher с --rooter права
становятся нужными.

-- 
Regards, Vyt
mailto:  vyt@altlinux.org
JID:     vitaly.ostanin@gmail.com


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

  reply	other threads:[~2008-05-23 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21  8:46 Vitaly Ostanin
2008-05-21  9:02 ` Michael A. Kangin
2008-05-21  9:17   ` Vitaly Ostanin
2008-05-21  9:28     ` Michael A. Kangin
2008-05-23 10:54       ` Vitaly Ostanin
2008-05-23 11:37         ` Vitaly Ostanin [this message]
2008-05-23 13:31         ` Michael A. Kangin
2008-05-25 10:36           ` Vitaly Ostanin

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=4836AC65.7040302@altlinux.org \
    --to=vyt@altlinux.org \
    --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