ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] E: libomniORB-4.1.0-alt6beta1.src.rpm has been rejected from	the incoming
Date: Wed, 22 Feb 2006 19:09:36 +0300
Message-ID: <20060222160936.GA15102@basalt.office.altlinux.org> (raw)
In-Reply-To: <20060222154451.GA14756@basalt.office.altlinux.org>

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

On Wed, Feb 22, 2006 at 06:44:51PM +0300, Dmitry V. Levin wrote:
> On Wed, Feb 22, 2006 at 06:15:02PM +0300, Sergey Vlasov wrote:
> > Не знаю, в каком месте hasher делает "export target",
> 
> Не делает.  Но даже если бы делал, то это не имеет значения, поскольку
> переменные среды, в которой работает hsh, не попадают к процессам,
> работающим в чруте.

Вспомнил.  Сборочный скрипт, запускаемый в чруте, определяет эту переменную:

===
# Build the package.
purge_chroot_out

create_entry_header
cat >>"$entry" <<__EOF__
mkdir -p $verbose -m700 -- "\$TMPDIR"
packager=\$(rpmquery -p --qf '%{PACKAGER}' "$(quote_arg "$sname")")
cat >>/usr/src/.rpmmacros <<EOF
%packager \$packager
EOF

target="$(quote_arg "${target:-$def_target}")" /.host/rebuild "$(quote_arg "$sname")"
find /usr/src/RPM/SRPMS/ -mindepth 1 -maxdepth 1 -type f -name \*.src.rpm -print0 |
	xargs -r0 mv -f $verbose --target-directory=/.out/ --
find /usr/src/RPM/RPMS/ -mindepth 2 -maxdepth 2 -type f -name \*.rpm -print0 |
	xargs -r0 mv -f $verbose --target-directory=/.out/ --
__EOF__

mountpoints="$required_mountpoints" \
    chrootuid2 &&
	Verbose "rebuild of \`$sname' complete." ||
	Fatal "rebuild of \`$sname' failed."
===

Но рассчитывать на то, что переменная target будет или не будет
экспортирована, нельзя.


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-02-22 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-22  9:56 ` Sergey N. Yatskevich
2006-02-22 15:15   ` Sergey Vlasov
2006-02-22 15:44     ` Dmitry V. Levin
2006-02-22 16:09       ` Dmitry V. Levin [this message]
2006-02-22 16:31       ` Sergey Vlasov

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=20060222160936.GA15102@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@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 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