ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.org>
Subject: [devel] Re: RFC: test packages
Date: Mon, 1 Aug 2005 22:01:49 +0400
Message-ID: <20050801180149.GQ13478@solemn.turbinal.org> (raw)
In-Reply-To: <20050801124835.GB2637@basalt.office.altlinux.org>

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

On Mon, Aug 01, 2005 at 04:48:35PM +0400, Dmitry V. Levin wrote:
> On Mon, Aug 01, 2005 at 12:03:45PM +0400, Alexey Tourbin wrote:
> > On Mon, Aug 01, 2005 at 07:12:59AM +0400, Alexey Tourbin wrote:
> > > hsh-run с опцией --rooter не монтирует.
> > 
> > То есть монтирование поддерживается только в chrootuid2.sh,
> > но не в chrootuid1.sh.  Какой в этом смысл?
> 
> Монтирование в chrootuid1.sh просто было ненужно.
> Наверное, можно добавить.

Апт в чруте у меня завёлся.  Для этого я сделал два изменения в
hasher-priv: монтирование в chrootuid1.sh и отключение tolower в
config.c.

--- config.c-	2005-07-23 00:39:32 +0000
+++ config.c	2005-08-01 17:37:50 +0000
@@ -244,8 +244,8 @@ parse_mountpoints (const char *value, co
 	char   *targets = xstrdup (value);
 	char   *target;
 
-	for (target = targets; *target; ++target)
-		*target = tolower (*target);
+//	for (target = targets; *target; ++target)
+//		*target = tolower (*target);
 	allowed_mountpoints = xstrdup (targets);
 
 	for (target = targets ? strtok (targets, " \t,") : 0; target;

Всё-таки монтируемые каталоги case-sensitive.
Теперь отрабатывает следующий скрипт:

#!/bin/sh -ef
sisyphus="/raid/ALT/Sisyphus"
workdir="$HOME/build"
aptbox="$workdir/aptbox"
chroot="$workdir/chroot"

hsh --no-stuff --initroot-only "$workdir"
hsh-install "$workdir" apt

install "$aptbox"/etc/apt/sources.list "$chroot"/.in/
install -d -g ${USER}_a "$chroot/$sisyphus"

hsh-run --rooter -- "$workdir" \
	install /.in/sources.list /etc/apt/
hsh-run --rooter --mountpoints="$sisyphus" -- "$workdir" \
	apt-get update
hsh-run --mountpoints="$sisyphus" -- "$workdir" \
	apt-get source rpm


Заканчивается всё вот чем:
E: Archive directory /var/cache/apt/archives/partial is missing.
E: Unable to find a source package for rpm-4.0.4-alt41.src.rpm

То есть там в чруте права на /var/cache/apt rooter:rooter и группы rpm
нету.

> -- 
> ldv

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

  reply	other threads:[~2005-08-01 18:01 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06  0:34 [devel] " Alexey Tourbin
2005-04-06  6:06 ` Anton Farygin
2005-04-06 10:40   ` Dmitry V. Levin
2005-04-06 14:44     ` [devel] " Alexey Tourbin
2005-04-06 15:00       ` Nick S. Grechukh
2005-07-23 23:32       ` Dmitry V. Levin
2005-08-01  2:04         ` Alexey Tourbin
2005-08-01  3:12           ` Alexey Tourbin
2005-08-01  3:52             ` Alexey Tourbin
2005-08-01  4:45               ` Alexey Tourbin
2005-08-01  8:03             ` Alexey Tourbin
2005-08-01 12:48               ` Dmitry V. Levin
2005-08-01 18:01                 ` Alexey Tourbin [this message]
2005-08-08 13:43                   ` Dmitry V. Levin
2005-08-01 18:38                 ` Alexey Tourbin
2005-08-08 13:38                   ` Dmitry V. Levin
2005-08-01 12:47           ` Dmitry V. Levin
2005-08-01 19:10             ` Alexey Tourbin
2005-08-01 19:19               ` Alexey Tourbin
2005-08-01 21:07                 ` Денис Смирнов
2005-08-01 21:20                   ` Alexey Tourbin
2005-08-01 21:36                     ` Konstantin A. Lepikhov
2005-08-02  5:29                       ` Alexey Tourbin
2005-08-02  6:06                         ` [devel] vserver Michael Shigorin
2005-08-02  7:04                           ` [devel] vserver, hasher, uml Alexey Tourbin
2005-08-02  9:00                             ` [devel] " Vitaly Ostanin
2005-08-02  9:31                               ` Alexey Tourbin
2005-08-02 10:26                                 ` Konstantin A. Lepikhov
2005-08-02 11:53                                   ` [devel] [JT] " Michael Shigorin
2005-08-02 11:56                                 ` [devel] " Vitaly Ostanin
2005-08-02 13:54                             ` [devel] " Денис Смирнов
2005-08-02 14:03                               ` [devel] " Vitaly Ostanin
2005-08-02 22:17                                 ` Денис Смирнов
2005-08-08 13:55                             ` [devel] " Dmitry V. Levin
2005-08-02 13:51                       ` [devel] Re: RFC: test packages Денис Смирнов
2005-08-02 14:06                         ` Vitaly Ostanin
2005-08-02 14:31                           ` Konstantin A. Lepikhov
2005-08-02 14:40                             ` Vitaly Ostanin
2005-08-02 15:11                               ` [devel] merging kernels Michael Shigorin
2005-08-02 16:46                                 ` Andrey Rahmatullin
2005-08-08 13:54                       ` [devel] Re: RFC: test packages Dmitry V. Levin
2005-08-08 13:53               ` Dmitry V. Levin

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=20050801180149.GQ13478@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=devel@altlinux.org \
    --cc=devel@altlinux.ru \
    /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