From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Injected-Via-Gmane: http://gmane.org/ To: sisyphus@lists.altlinux.org From: Artem Zolochevskiy Date: Tue, 03 Jul 2007 21:31:22 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ppp136-148.tis-dialog.ru User-Agent: KNode/0.10.5 Sender: news Subject: [sisyphus] =?utf-8?b?0L/QvtC/0YvRgtC60LAg0L/QvtC00YXQvtC00LAg0Log?= =?utf-8?q?spt?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 18:29:40 -0000 Archived-At: List-Archive: List-Post: hi all Сегодня предпринял попытку подхода к страшному слову "spt". Для начала попробовал сделать ovz-заготовку с необходимым набором пакетов. Даже получилось. Понравилось. Следующим шагом решил попробовать получить из серверного ропозитория 4.0.1 iso-шник. Вот как делал имеем локальное зеркало 4.0.1 имеем spt-profiles-server-0.4.8-alt1 далее $spt -v --isoname=server.iso \ --apt-conf=/tmp/apt.conf \ -p /etc/spt/profiles/server/installer/ workdir при этом $ cat /tmp/apt.conf /* If you have to ignore system apt.conf* and sources.list* files, just override appropriate apt config values like in this example. */ Dir::Etc::main "/dev/null"; Dir::Etc::parts "/var/empty"; Dir::Etc::SourceList "/tmp/local.list"; Dir::Etc::SourceParts "/var/empty"; $ cat /tmp/local.list rpm file:/var/ftp/pub/ALTLinux/4.0/Server/4.0.1/ i586 main rpm file:/var/ftp/pub/ALTLinux/4.0/Server/4.0.1/ i586 classic итак. всё до поры до времени трещит жеским диском пока не доходит до --cut-- `/var/ftp/pub/ALTLinux/4.0/Server/4.0.1/i586/RPMS.main/zsh-4.3.4-alt1.i586.rpm' -> `/home/artem/workdir/chroot/.in/ALTLinux/RPMS.disk/zsh-4.3.4-alt1.i586.rpm' hsh-run: changed working directory to `/home/artem/workdir' mkdir: created directory `/home/artem/workdir/lockdir' rsync: opendir "/.in/ALTLinux/RPMS.disk/setup-2.2.10-alt1.noarch.rpm" failed: Not a directory (20) IO error encountered -- skipping file deletion rsync error: some files could not be transferred (code 23) at main.c(980) [sender=2.6.9] removed `/home/artem/workdir/lockdir/pid' removed directory: `/home/artem/workdir/lockdir' spt: Fatal failed to run cmd in chroot. --cut-- В чем причина ошибки? И вообще я "верным путём" иду. Верно всё делаю? Заодно вопрос на понимание. Я верно понимаю, что если в использованный мной local.list прописать ещй и репозиторий с updates, то при помощи spt можно делать установочные iso, которые уже будут содержать доступные исправления? -- Artem Zolochevskiy Kaliningrad, Russia JID: az@jabber.org