ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] hasher: пакеты, установленные по зависимостям
Date: Mon, 14 Oct 2024 12:51:18 +0200
Message-ID: <Zwz3pkKC-UqVKHIp@example.org> (raw)
In-Reply-To: <da963d95-bcb8-4b55-b51d-84cf9defff73@ya.ru>

On Mon, Oct 14, 2024 at 01:32:22PM +0300, Антон Мидюков wrote:
> 14.10.2024 13:16, Alexey Gladkov пишет:
> > On Mon, Oct 14, 2024 at 01:58:01PM +0400, Ivan A. Melnikov wrote:
> >> On Mon, Oct 14, 2024 at 10:47:17AM GMT, Антон Мидюков wrote:
> >>> Здравствуйте
> >>>
> >>> Все пакеты, которые ставятся в hasher считаются apt'ом установленными
> >>> вручную. То есть все пакеты, вытянутые по зависимостям, тоже.  Это
> >>> поведение как-то можно изменить?
> >>
> >> hasher формирует список пакетов "снаружи" chroot'а; внутри
> >> chroot'а все пакеты ставятся одинаково, через rpmi; на этом
> >> этапе уже нет информации о том, какие пакеты были указаны явно,
> >> а какие вытянуты по зависимостям.
> > 
> > А какая разница указаны ли пакеты явно или нет ? Они же все теперь часть
> > live образа или rootfs. Их всех можно пометить как auto. Разве нет ?
> 
> apt-get autoremove их всех удалит тогда.
> Нужно отметить apt-mark auto только те пакеты, которых не было на входе hsh-install
> Мы не можем это пофиксить в mki-install, то есть в mimage непосредственно?

Да как раз можем. В mki-image-install мы вычисляем список пакетов, который
потом передаётся hsh-install.

-- 
Rgrds, legion



      reply	other threads:[~2024-10-14 10:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14  7:47 Антон Мидюков
2024-10-14  9:57 ` Alexey Gladkov
2024-10-14  9:58 ` Ivan A. Melnikov
2024-10-14 10:16   ` Alexey Gladkov
2024-10-14 10:32     ` Антон Мидюков
2024-10-14 10:51       ` Alexey Gladkov [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=Zwz3pkKC-UqVKHIp@example.org \
    --to=legion@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