From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] Re: RFC: test packages
Date: Mon, 1 Aug 2005 07:52:34 +0400
Message-ID: <20050801035234.GK13478@solemn.turbinal.org> (raw)
In-Reply-To: <20050801031259.GJ13478@solemn.turbinal.org>
[-- Attachment #1: Type: text/plain, Size: 1644 bytes --]
On Mon, Aug 01, 2005 at 07:12:59AM +0400, Alexey Tourbin wrote:
> hsh-run с опцией --rooter не монтирует.
>
> $ hsh-run --mountpoints="$sisyphus" --rooter -- ~/build ls
> sources.list
> $ hsh-run --mountpoints="$sisyphus" -- ~/build ls
> hasher-priv: mount: /raid/alt/sisyphus: mount point not supported
> $
>
> То есть у меня пока вообще не монтирует, но это дело наживное... :)
Не понял, как монтировать.
В /etc/hasher-priv/system добавил:
allowed_mountpoints=/raid/ALT/Sisyphus
В /etc/hasher-priv/fstab добавил:
/raid/ALT/Sisyphus /raid/ALT/Sisyphus reiserfs bind,ro 0 0
Идея в том, чтобы замонтировать в чрут /raid/ALT/Sisypus (по тому же
адресу) и завести внутри чрута apt.
#!/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/apt.conf" "$aptbox/etc/apt/sources.list" "$chroot/.in/"
hsh-run --rooter -- "$workdir" \
install /.in/apt.conf /.in/sources.list /etc/apt/
hsh-run --rooter -- "$workdir" \
mkdir -p -- "$sisyphus"
hsh-run --rooter --mountpoints="$sisyphus" -- "$workdir" \
apt-get update
Получаю:
+ hsh-run --rooter --mountpoints=/raid/ALT/Sisyphus -- /home/at/build apt-get update
E: Could not open lock file /home/at/build/aptbox/var/lib/apt/lists/lock - open (2 No such file or directory)
E: Unable to lock the list directory
При этом /raid/ALT/Sisyphus не монтируется:
$ hsh-run --rooter --mountpoints=/raid/ALT/Sisyphus -- /home/at/build \
ls -Al /raid/ALT/Sisyphus
total 0
$
Скажите, я наивный? :)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-08-01 3:52 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 [this message]
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
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=20050801035234.GK13478@solemn.turbinal.org \
--to=at@altlinux.ru \
--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