ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Dmitriy Khanzhin <dimajin@sandy.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] сборка в tmpfs
Date: Wed, 10 Jan 2007 19:13:00 +0300
Message-ID: <45A5108C.8090107@sandy.ru> (raw)
In-Reply-To: <20070110124918.GE9245@ricom.ru>

Alexey Morsov wrote:
> Привет,
Привет!
> 
> Захотел тут собирать на tmpfs.

Не знаю, правильно или нет, я сделал тупо-влоб :-) :
Подмонтировал каталог ~/BUILD на tmpfs (вот строчка из fstab):
/dev/shm        /home/diman/BUILD     tmpfs   size=768m       0       0

и собираю скриптиком:
hsh ~/BUILD --target=x86_64 \
--apt-config=/home/diman/apt/apt.conf.SS.x86_64 $*

В данном случае для архитектуры x86_64, аналогично и для i586.
Все работает, скорость заметно выше, чем на диске.

> Взял у господина Lost-а скриптик
> 
> morsov@alexey ~/RPM/SRPMS $ cat `which tmphsh`
> #!/bin/sh
> mkdir -p ~/tmp/HSH
> for link in cache repo
> do
>   ln -sf ~/HSH/$link ~/tmp/HSH/
> done
> hsh ~/tmp/HSH --lazy-cleanup "$@
> 
> Но ничего собрать не получается. На этапе загрузки пакетов в хешер
> происходят ошибки:
> 
> vhosts-filesystem-0.2-alt1
> groupadd: unable to open group file
> error: execution of %pre scriptlet from crontab-control-1.1-alt1 failed,
> exit status 10
> error:   install: %pre scriptlet failed (2), skipping
> crontab-control-1.1-alt1
> setproctitle-0.3-alt1
> warning: group crontab does not exist - using root
> warning: group crontab does not exist - using root
> warning: group crontab does not exist - using root
> warning: group crontab does not exist - using root
> warning: group crontab does not exist - using root
> warning: group crontab does not exist - using root
> vixie-cron-4.1.20060426-alt1
> control: No such facility: crontab
> control: No such facility: at
> crontabs-1.8-alt1
> logrotate-3.6.2-alt3
> libkrb5-1.5.1-alt2
> groupadd: unable to open group file
> error: execution of %pre scriptlet from libsasl2-2.1.22-alt1 failed, exit
> status 10
> error:   install: %pre scriptlet failed (2), skipping libsasl2-2.1.22-alt1
> libldap2.3-2.3.30-alt1
> warning: user apache2 does not exist - using root
> warning: group apache2 does not exist - using root
> warning: group apache2 does not exist - using root
> warning: group webmaster does not exist - using root
> 
> Если собирать без tmpfs (просто на диске) все собирается на ура.
> 
> Что это может быть?
> 
> PS: Дома такое возникло - думал память - у меня там после смены проца и
> приложения преродически выпадают. Но на работе комп пашет месяцами и
> ничего не падает :(
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus


-- 
Rgrds, jinn.


      reply	other threads:[~2007-01-10 16:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10 12:49 Alexey Morsov
2007-01-10 16:13 ` Dmitriy Khanzhin [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=45A5108C.8090107@sandy.ru \
    --to=dimajin@sandy.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git