From: Yuri Sedunov <aris@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] hasher config
Date: Sun, 28 Mar 2021 14:25:30 +0300
Message-ID: <f5c837c16a30d144b87ab4b24b20b3878c837698.camel@altlinux.org> (raw)
In-Reply-To: <788fd869-ab1b-5921-1a4f-6574f695ac39@altlinux.org>
В Вс, 28/03/2021 в 13:47 +0300, Денис Назаров пишет:
> 28.03.2021 12:40, Leonid Krivoshein пишет:
> > Добрый день!
> >
> >
> > 28.03.2021 10:54, Денис Назаров пишет:
> > > Добрый день!
> > >
> > >
> > > Можно ли при сборке передавать hasher'у какой конфиг использовать
> > > (вместо стандартного ~/.hasher/config)?
> > >
> > >
> > > Сейчас у меня для разных веток свои конфиги sisyphus-config,
> > > p9-config и я просто в ~/.hasher/ создаю симлинк с именем config
> > > на
> > > нужный. Может как-то можно избежать этого, передавая параметр?
> >
> > Да, при локальной сборке через gear-hsh после "--" можно передавать
> > опции hasher, например --apt-config=$HOME/.hasher/p9-config , нечто
> > похожее на сборочнице реализовано через ssh build -b p9 ...
>
> Так похоже слишком много вручную параметров надо передавать, а если
> архитекрутра ещё и qemu требует.
Когда-то была прописана кучка alias'ов типа:
$ alias BP9i586 HSH-armh
alias BP9i586='hsh --number=2 "$HASHER_WORKDIR_9" --repo=$REPO_9 --
mountpoints=/proc --target=i586 --apt-
conf=/home/aris/.apt/apt.conf.M90-i586'
alias HSH-armh='hsh "$HASHER_WORKDIR" --with-qemu=arm --repo=$REPO --
mountpoints=/proc --target=armh --apt-conf=/home/aris/.apt/apt.conf-
armh'
Как раз, чтоб не плясать вокруг ~/.hasher/config.
--
Yuri N. Sedunov
next prev parent reply other threads:[~2021-03-28 11:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-28 7:54 Денис Назаров
2021-03-28 9:40 ` Leonid Krivoshein
2021-03-28 10:47 ` Денис Назаров
2021-03-28 11:20 ` Leonid Krivoshein
2021-03-28 11:25 ` Yuri Sedunov [this message]
2021-03-28 11:39 ` Денис Назаров
2021-03-28 20:01 ` Денис Назаров
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=f5c837c16a30d144b87ab4b24b20b3878c837698.camel@altlinux.org \
--to=aris@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