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:16:33 +0200
Message-ID: <ZwzvgZZmMQpOvTdr@example.org> (raw)
In-Reply-To: <mwzavvuosk6wtjwnecfym3y5vqwayiblwvo7egmc7x4r4zely5@d5rppy6gkzlg>

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. Разве нет ?

> > Это нужно, чтобы в live и rootfs, собираемых в mkimage, пакеты,
> > установленные по зависимостям, можно было бы удалить при помощи apt-get
> > autoremove.  В свою очередь это требуется для того, чтобы после удаления
> > alterator-setup в rooftfs система чистилась от лишних пакетов, как при
> > обычной установке.
> 
> Когда я размышлял об этой проблеме, я думал, что нужен
> специальный шаг после установки пакетов, чтобы перемакировать
> пакеты с помощью apt-mark auto.
> 
> -- 
>   wbr,
>     iv m.
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel

-- 
Rgrds, legion



  reply	other threads:[~2024-10-14 10:16 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 [this message]
2024-10-14 10:32     ` Антон Мидюков
2024-10-14 10:51       ` Alexey Gladkov

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=ZwzvgZZmMQpOvTdr@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