ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: ALT Linux Sisyphus <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] В hsh не смог собрать postfix с tls
Date: Tue, 17 May 2005 15:50:49 +0400
Message-ID: <200505171550.49362.serpiph@nikiet.ru> (raw)
In-Reply-To: <20050517110625.GA6333@basalt.office.altlinux.org>

В сообщении от 17 Май 2005 15:06 Dmitry V. Levin написал:
> $ hsh -V |grep -w version
> hsh version 1.0.15
> $ hsh -h |grep -wA1 query-repackage
>   --query-repackage                 repackage the source before query for
>                                     requirements;
>
> Это новый ключик, даёт тот же эффект примерно тем же способом, что и
> вышеприведённый пример, но только делает всё, как это водится, внутри
> сборочной среды.

Хорошо, а можно сделать ключ ещё и для ДОБАВЛЕНИЯ к уже полученному списку 
пакетов дополнительных? Например, функциональность пакета (или опции сборки) 
зависит от ещё каких-то пакетов, но их в BuildRequires не ввели из-за 
каких-то особенностей? А тут для собственной проверки добавил параметр вида 
--pkg-add-build-list='интересуемый_пакет' и проверил полученный пакет без 
дополнительной сборки src.rpm (который может случайно затереть уже 
имеющийся). Или функциональность специально ограничена (для использования 
--pkg-build-list необходимо самому определить, что уже требуется для 
сборки)?

А очистка каталогов (пусть корень сборочной среды 
будет /home/chroot) /home/chroot/cache и /home/chroot/repo по необходимости? 
Кажется, всего-то делов придумать название ключей и в первом случае вызвать 
команду вида

rm -rf /home/chroot/cache

а в другом - 

/usr/share/hasher/rmchroot <что-то там>

Зато всё будет в одном месте, то бишь вызываться _ЕДИНООБРАЗНО_, и не нужно 
будет каждый раз ломать голову, что надо делать при появлении ошибок вида

$ hsh /home/chroot postfix-2.1.5-alt3.i586.rpm
Components: hasher
Processing pkglists... hasher done
Processing srclists...  hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
error: failed dependencies:
        net-tools < 0:1.60-alt9 conflicts with coreutils-5.3.1-alt0.4
        net-tools < 0:1.60-alt10 conflicts with hostinfo-2.2-alt2
install: packages installation failed.
$

(из-за того, что в  кэше лежит старый net-tools) и в какой каталог в этот раз 
запаковали rmchroot (и так ли на этот раз она называется) для удаления с 
полгигабайта установленных пакетов. А так решением будет:

hsh --clean-cache /home/chroot

и

hsh --clean-chroot /home/chroot

Ведь есть же такое у apt (команда 'apt-get clean').

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


  reply	other threads:[~2005-05-17 11:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-14 10:29 Epiphanov Sergei
2005-05-14 10:38 ` Alexey I. Froloff
2005-05-14 10:50   ` Epiphanov Sergei
2005-05-17 11:06   ` Dmitry V. Levin
2005-05-17 11:50     ` Epiphanov Sergei [this message]
2005-05-17 11:56       ` Konstantin Klimchev
2005-05-17 12:14       ` Dmitry V. Levin
2005-05-17 12:53         ` Epiphanov Sergei
2005-05-17 13:05           ` Led
2005-05-17 13:20           ` [sisyphus] [JT] " Michael Shigorin
2005-05-17 13:49           ` [sisyphus] " Dmitry V. Levin
2005-05-17 14:05             ` Led
2005-05-17 14:27               ` Led
2005-05-17 21:17                 ` Dmitry V. Levin
2005-05-14 12:14 ` [sisyphus] б hsh МЕ ЯЛНЦ ЯНАПЮРЭ postfix Я tls Alexey Gladkov
2005-05-14 12:34   ` Epiphanov Sergei
2005-05-14 12:36   ` Epiphanov Sergei
2005-05-15  7:52     ` [sisyphus] " Konstantin A. Lepikhov
2005-05-16  7:04       ` Epiphanov Sergei

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=200505171550.49362.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --cc=sisyphus@altlinux.ru \
    /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