ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] apt, hasher, spt и инсталлер
@ 2007-08-13 14:46 Eugene Prokopiev
  2007-08-13 15:08 ` Damir Shayhutdinov
  0 siblings, 1 reply; 7+ messages in thread
From: Eugene Prokopiev @ 2007-08-13 14:46 UTC (permalink / raw)
  To: Devel

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

Пытаюсь собрать специализированный инсталлер. У меня есть есть несколько 
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 закомментирован 
(да, это тоже вызвало бы вопрос, но хоть какие-то следы логики были бы 
заметны).

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-13 22:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-13 14:46 [devel] apt, hasher, spt и инсталлер Eugene Prokopiev
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

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