ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: Devel@lists.altlinux.org
Subject: [devel] apt, hasher, spt и инсталлер
Date: Mon, 13 Aug 2007 18:46:42 +0400
Message-ID: <46C06ED2.2090909@stc.donpac.ru> (raw)

Здравствуйте!

Пытаюсь собрать специализированный инсталлер. У меня есть есть несколько 
git-репозитариев, из которых пакеты собираются в местный apt-репозитарий:

$ ls -R ~/hasher/repo/
/home/test/hasher/repo/:
SRPMS.hasher  x86_64

/home/test/hasher/repo/SRPMS.hasher:
alterator-install2-server-0.9.2-alt1.src.rpm  etcskel-2.0.11-alt2.src.rpm
alterator-install2-server-0.9.2-alt2.src.rpm  rootfiles-alt-alt10.src.rpm

/home/test/hasher/repo/x86_64:
base  RPMS.hasher

/home/test/hasher/repo/x86_64/base:
pkglist.hasher.bz2  release  release.hasher  srclist.hasher.bz2

/home/test/hasher/repo/x86_64/RPMS.hasher:
alterator-install2-server-0.9.2-alt2.x86_64.rpm 
alterator-install-common-server-0.9.2-alt2.x86_64.rpm 
rootfiles-alt-alt10.noarch.rpm
alterator-install3-server-0.9.2-alt2.x86_64.rpm 
etcskel-2.0.11-alt2.noarch.rpm

Этот репозиторий прописан так:

$ cat /etc/apt/sources.list.d/sources.list
rpm file:/home/test/hasher/repo x86_64 hasher
#rpm file:/home/test/hasher/repo noarch hasher

rpm 
file:/network/ats-manager/data/distrib/linux/alt-linux-sisyphus-current 
x86_64 classic
rpm 
file:/network/ats-manager/data/distrib/linux/alt-linux-sisyphus-current 
noarch classic

Собираю инсталлер с помощью spt, в логе вижу:

$ grep alterator-install3-server ~/spt/smallserver/log
`/network/ats-manager/data/distrib/linux/alt-linux-sisyphus-current/x86_64/RPMS.classic/alterator-install3-server-0.9.3-alt1.x86_64.rpm' 
-> 
`/home/test/spt/smallserver/chroot/.in/ALTLinux/RPMS.base/alterator-install3-server-0.9.3-alt1.x86_64.rpm'
$ grep rootfiles ~/spt/smallserver/log
`/home/test/hasher/repo/x86_64/RPMS.hasher/rootfiles-alt-alt10.noarch.rpm' 
-> `chroot/.in/rootfiles-alt-alt10.noarch.rpm'
rootfiles-alt-alt10
`/home/test/hasher/repo/x86_64/RPMS.hasher/rootfiles-alt-alt10.noarch.rpm' 
-> `chroot/.in/rootfiles-alt-alt10.noarch.rpm'
rootfiles-alt-alt10
`/home/test/hasher/repo/x86_64/RPMS.hasher/rootfiles-alt-alt10.noarch.rpm' 
-> 
`/home/test/spt/smallserver/chroot/.in/ALTLinux/RPMS.base/rootfiles-alt-alt10.noarch.rpm'

Т.е. rootfiles берется из моего репозитария, а alterator-install3-server 
- из сизифа (на самом деле это бранч 4, но это вряд ли важно). Почему?

Я бы меньше удивился, если бы было наоборот, т.к. noarch закомментирован 
(да, это тоже вызвало бы вопрос, но хоть какие-то следы логики были бы 
заметны).

-- 
С уважением,
Прокопьев Евгений



             reply	other threads:[~2007-08-13 14:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-13 14:46 Eugene Prokopiev [this message]
2007-08-13 15:08 ` Damir Shayhutdinov
2007-08-13 15:21   ` Eugene Prokopiev
2007-08-13 16:12     ` Pavlov Konstantin
2007-08-13 18:00       ` Eugene Prokopiev
2007-08-13 18:22         ` Michael Shigorin
2007-08-13 22:14         ` 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=46C06ED2.2090909@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --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