From: Yuriy Kashirin <uka@altlinux.ru> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Сборка инсталлятора Date: Fri, 6 Apr 2007 12:23:55 +0300 Message-ID: <200704061223.56623.uka@altlinux.ru> (raw) In-Reply-To: <679044850704060059j4531bac4w9148a996798e446d@mail.gmail.com> On Пятница 06 апреля 2007, Damir Shayhutdinov wrote: > > > > > > apt-get install spt-profiles-server > > > spt -p /etc/spt/profiles/server/installer ~/hsh > > > > Даже на howto не тянет. :) > > А spt откуда брать? Если из Сизифа - то у меня не получилось > собрать. Я вчера попытался пособирать инсталер, с ходу тоже не получилось. Выяснилась такая вещь. После нескольких минут работы spt вывалился, ругаясь примерно так: /usr/bin/spt-sh-functions: line 205: /apt-get: No such file or directory spt: Fatal calculated package file list is not local and apt-get does not support APT::Get::PrintLocalFile option. spt: Fatal Failed to generate package file list. Происходит такое, когда spt доходит до COPYONLY компонентов профиля. Строка 205 файла /usr/bin/spt-sh-functions относится к функции print_uris и начинается с: if ! out="$("$aptbox/apt-get" Судя по всему $aptbox в этом месте ничем не инициализирована, потому в выводе и присутствует: /apt-get: No such file or directory В начале функции комментарий: # assumed: defined aptbox При этом нигде (ни в spt, ни в spt-sh-functions) я не нашел инициализации этой переменной. Вопрос: как предполагалось ее инициализировать? Пока подправил spt-sh-functions так: print_uris() { local out [ -d "$tmpdir/aptbox" ] || gen_aptbox "$tmpdir" >/dev/null 2>&1 + local aptbox="$tmpdir/aptbox" В таком варианте инсталятор сервера собрался (попробовать результат пока не успел) Как же все таки правильно? > Если из гита - тогда вопрос - а почему оно до сих пор не в > Сизифе? Вроде бы в сизифе сейчас то, что и гите... -- Best regards Yuriy Kashirin
next prev parent reply other threads:[~2007-04-06 9:23 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-04-05 17:44 Денис Смирнов 2007-04-05 18:37 ` Alexey I. Froloff 2007-04-05 21:37 ` Dmitry V. Levin 2007-04-06 7:59 ` Damir Shayhutdinov 2007-04-06 9:23 ` Yuriy Kashirin [this message] 2007-04-06 14:13 ` Michael Shigorin 2007-04-06 9:58 ` Dmitry V. Levin 2007-04-06 18:26 ` Damir Shayhutdinov 2007-04-06 18:47 ` Dmitry V. Levin 2007-04-06 20:32 ` Anton Farygin 2007-04-06 20:44 ` Michael Shigorin 2007-04-06 18:03 ` Michael Shigorin
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=200704061223.56623.uka@altlinux.ru \ --to=uka@altlinux.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