From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02BB7158064 for ; Fri, 3 May 2024 08:43:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5AF74E2A93; Fri, 3 May 2024 08:43:35 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E7C4E2A8F for ; Fri, 3 May 2024 08:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714725814; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GUrIULfGKpVKYk9tavzfObO9ayGkR3mzfQMfSb1fqlA=; b=O7T4J3wMKz1SQ+9njussv2DY+I0bUJ3pN1NtLdKZWAwR/Erb67Yqfq6DYgrv7GcKPR1efj fy+CM1JduoRFnxwZS/OONLP1sGsuB9weIRHqgKnI4cuxVUnpcWa52MnB0eeJWPtger5ao3 8InP2Kq3yiqAKt7adVI32pYoEsMH0FA= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-691-URWXqt08P-u14Bu4030pzQ-1; Fri, 03 May 2024 04:43:32 -0400 X-MC-Unique: URWXqt08P-u14Bu4030pzQ-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-41d979ae1b8so9920965e9.3 for ; Fri, 03 May 2024 01:43:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714725811; x=1715330611; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GUrIULfGKpVKYk9tavzfObO9ayGkR3mzfQMfSb1fqlA=; b=QD2fbzP5H4VedwHzBqBdiaxHqU2cxpUaCxiqfohXJBBNFedn6Ow16bZ4ZHGvY6/aAj De6yUFz8xn0eOIilBFLRSpj4wO3BRn4MUqXEdAs1qkreE5hiGEQFek4AzI1GvFCJfJvR h3UfS8Wd54sQqZSw+NEWoviwFLWMKTMqb6c4XJQTFFE/GtMAdSV+EJA+4ygTJTZ22vup wdZrnzKgf5chO4II/moUlzUbB7PtvoSH685rNFeQPTijkgGGxIZTgsq6ysDXv8EjZ/Xu iTONB3EO+cINC8dDQjLgsUg3mUst4FzGfu90CNqsycn97x1vkpNgROHAWJhFlg7MQZmq 3TSg== X-Gm-Message-State: AOJu0Yx9NZZiq045pyYCg0JzWqK0v+yZtueDC1tiakJwNPfF3V6/oIB7 Lz53TQsQN/0wGr6JCxewIMAdVqPl3Ss0Mqvq9j9dZR0ZkZn3FWSNErs5C5Rlbh8e4glh21cOWsO VzWCgVbN99w70MvtuM9M1UjiyuBQWlSojySwLGcxvWkhNCWD5s0UDKgPEtKtKc4i9JVcZfAb+bE jH2cMD2ddL/hFQxT/WL7tf+oOP1tNbEaRkHGXuz8atgTTW X-Received: by 2002:a05:600c:1d9d:b0:41a:aad8:e393 with SMTP id p29-20020a05600c1d9d00b0041aaad8e393mr1610506wms.30.1714725810871; Fri, 03 May 2024 01:43:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGE0f2RxGfv8DvtVpJQ0bG9KmPt0YehnVLlxRWOkgjRRoMmIZODGgxdhQ6vcapb7YKz64HkYg== X-Received: by 2002:a05:600c:1d9d:b0:41a:aad8:e393 with SMTP id p29-20020a05600c1d9d00b0041aaad8e393mr1610496wms.30.1714725810444; Fri, 03 May 2024 01:43:30 -0700 (PDT) Received: from [10.43.3.102] (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id i14-20020a05600c354e00b004169836bf9asm8566553wmq.23.2024.05.03.01.43.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 May 2024 01:43:29 -0700 (PDT) Message-ID: <4b8eace8-9988-468e-ab5d-639b25ec63a4@redhat.com> Date: Fri, 3 May 2024 10:43:29 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-dev] Gentoo identification in Primary Volume Descriptor of ISOs To: gentoo-dev@lists.gentoo.org, Ben Kohler Cc: gentoo-releng@lists.gentoo.org References: From: =?UTF-8?B?TWljaGFsIFByw612b3puw61r?= In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 5dd0fe53-1956-4599-88c7-e914b38e45c1 X-Archives-Hash: 509d93eb04f95b204c6bec3fdfee1d4f On 5/2/24 22:48, Ben Kohler wrote: > > On 5/2/24 06:15, Michal Prívozník wrote: >> Hi, >> >> I've noticed (thanks to an issue reported against Libvirt [1]), that >> neither minimal installation ISO nor liveGUI ISO contain anything inside >> their Primary Volume Descriptors that would hint the ISO contains >> Gentoo. This is unfortunate a bit, because matching VolumeID is exactly >> how tools like libosinfo detect distro on given ISO [2] and then can >> recommend some values when creating VMs with that ISO. In this specific >> case, minimal amount of memory required to even boot the ISO (yeah, it >> currently reports 256MiB which is too small for anything really). >> >> Is there any chance this could be fixed, e.g. by reporting something in >> VolumeID? >> >> Michal >> >> 1: https://gitlab.com/libvirt/libvirt/-/issues/600 >> 2: >> https://gitlab.com/libosinfo/osinfo-db/-/blob/main/data/os/gentoo.org/gentoo-rolling.xml.in?ref_type=heads >> >> > Hi Michal, > > Thanks for bringing this to our attention.  Relatively recently, our ISO > build tool catalyst started using grub-mkrescue to prepare the > bootloaders and create the iso [1], and we seem to have lost the volume > IDs at that time.  I've just added a -volid parameter back in [2] which > should restore the volume IDs we were using before and should match what > libosinfo is expecting.  The change should apply to our next weekly > autobuilds. Awesome! Thank you. And speaking of things that slip our attention. When trying to get a link to this e-mail thread I've noticed at least gentoo-dev archives on archives.gentoo.org are stuck in 2023: https://archives.gentoo.org/gentoo-dev/ I'm not sure where to report this, so I'm hoping this will find the right recipient. Thanks once again. Michal