From: "Dmitriy L. Kruglikov" <Dmitriy.Kruglikov@orionagro.com.ua> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: Re: [devel] Сборка сервера из профиля. Date: Mon, 7 May 2007 18:00:15 +0300 Message-ID: <20070507180015.4aa5ec96@shadow.orionagro.com.ua> (raw) In-Reply-To: <200705071318.12330.yura@emict.com> На календаре было: Понедельник, 07 Май 2007 года, Yuriy Kashirin писал(а) в сообщении: YK == Yuriy Kashirin YK> > Куда подевалось $aptbox перед /apt-get ? YK> YK> Сталкивался и я с таким пару недель назад (spt-0.6.0-alt1): YK> http://lists.altlinux.org/pipermail/devel/2007-April/044512.html YK> YK> С тех пор, правда, переключился на другие здачи, доразбираться руки не YK> дошли... Ну, как бы день потерял, теперь за 20 минут быстро долетаю... Для начала, провел сборку из сетевого репо и ключиком --no-cleanup После чего перегенерил локальный репо и прописал его как file ... Мысль по ходу дела: Почему бы в /etc/apt не положить отдельный sources.list.SPT, и все действия SPT ориентировать на него, а не на sources.list ? Проблема в том, что при использовании сетевого репозитория можно нарваться на обновление репозитория во время сборки, на обрыв соединения и т.д. ... Отдельный sources.list.SPT поставлять в составе пакета spt, поставлять пустым, с примерами и пояснениями, акаждый собирающий заполнит его сам, по примерам. После этого внес некоторые изменения в /usr/bin/spt cat spt.diff *** spt.orig 2007-04-23 01:35:29 +0300 --- spt 2007-05-07 17:44:52 +0300 *************** *** 159,160 **** --- 159,161 ---- IDENT="packages" VENDOR="ALTLinux" COPYONLY= INSTALLDIR= NOIMAGE= EXTRAOPTS= FILES= OUT= + echo "==> Stage: $cmd. Component: $comp. Building..." *************** *** 175,176 **** --- 176,178 ---- done + echo "===> In stage $cmd all components builded." } *************** *** 292,293 **** --- 294,297 ---- outdir="$workdir/out" + ## Added DKR + aptbox="$workdir/aptbox" Собственно, тут добавлено несколько информационных выхлопов, а вся проблема была в aptbox="$workdir/aptbox" После этого все заработало ... Теперь у меня из данного профиля собирается свой образ... Завтра еще с другими профилями проверю ... -- Best regards, Dmitriy L. Kruglikov .--. Dmitriy.Kruglikov_at_gmail_dot_com |@_@ | DKR6-RIPE |!_/ | XMPP:dkr6@jabber.ru // \ \ (| | ) /'\_ _/`\ Powered by Linux \___)=(___/ -- Мысль -- Everything that you know is wrong, but you can be straightened out.
prev parent reply other threads:[~2007-05-07 15:00 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-05-07 9:12 Dmitriy L. Kruglikov 2007-05-07 9:31 ` Michael Shigorin 2007-05-07 9:36 ` Dmitriy L. Kruglikov 2007-05-07 9:45 ` Michael Shigorin 2007-05-07 9:55 ` Dmitriy L. Kruglikov 2007-05-07 9:58 ` Michael Shigorin 2007-05-07 10:03 ` Dmitriy L. Kruglikov 2007-05-07 10:18 ` Yuriy Kashirin 2007-05-07 15:00 ` Dmitriy L. Kruglikov [this message]
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=20070507180015.4aa5ec96@shadow.orionagro.com.ua \ --to=dmitriy.kruglikov@orionagro.com.ua \ --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