ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: devel-distro@lists.altlinux.org
Subject: Re: [devel-distro] Детектирование VM в installer-alterator-pkg
Date: Mon, 7 Jul 2025 22:26:40 +0300
Message-ID: <60dcbb7f-7974-4f94-84e0-46b0fb9a2c35@gmail.com> (raw)
In-Reply-To: <5910229.DvuYhMxLoT@zerg.malta.altlinux.ru>



On 7/7/25 17:22, Sergey V Turchin wrote:
> On Friday, 20 June 2025 23:21:53 MSK Leonid Krivoshein wrote:
>
> [...]
>> lspcu входит в любую базовую систему:
>>
>> hypervisor="$(env LANG=C lspcu |sed -n -E '/^Hypervisor vendor:\s+//p')"
> Врёт на VirtualBox в отличии от systemd-detect-virt. На видеокарте
> обманывается, видимо.
>
> [...]

Я уже ранее смотрел код: все, кроме VirtualBox, определяются под обычным 
пользователем и только в случае VB нужен root, причём, так сделано из-за 
хака под Windows 10, на котором иначе программа просто падает. Но 
установщик, по идее, и так уже под root'ом должен работать.


-- 
WBR, Leonid Krivoshein.



  reply	other threads:[~2025-07-07 19:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-20 12:55 Jqt4
2025-06-20 13:05 ` Anton Midyukov
2025-06-20 14:11 ` [devel-distro] " Sergey
2025-06-20 16:01   ` [devel-distro] " Alexey Shabalin
2025-06-20 20:21     ` Leonid Krivoshein
2025-06-23  8:39       ` Jqt4
2025-07-07 14:22       ` [devel-distro] " Sergey V Turchin
2025-07-07 19:26         ` Leonid Krivoshein [this message]
2025-06-21 10:32     ` Sergey

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=60dcbb7f-7974-4f94-84e0-46b0fb9a2c35@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=devel-distro@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 Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

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


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