From patchwork Wed May 31 20:09:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 687298 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1449085wru; Wed, 31 May 2023 13:09:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7t+hZAgBc5VdfwIetpApES98zRaXQAvaIrmlY0sQGAQ0RUGY5diluccLMFLueyEftFR3Vc X-Received: by 2002:a37:542:0:b0:75b:23a1:8e70 with SMTP id 63-20020a370542000000b0075b23a18e70mr5994759qkf.65.1685563764956; Wed, 31 May 2023 13:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685563764; cv=none; d=google.com; s=arc-20160816; b=EqDw2b/3q/VKIFpcuHw5yLU7PN0Hd3+BIGq74vB45bXj3cWf4odWZTZ/pQr1jUzGnv Zy+HShCRitfRuVmDsmBvkseUPSjibZrWAQOOVweuwgifD0Daum7dZYnFWzWWNVtA3r4b jiHEOpf9kn7g+YSd3Dk8By8YIb09WfB6f4kP3iNWSykyYwhZDHqKAGrKHyiSuB72txXN NRDtWC9yqLjOrmDODh4xESke+CqPoT1rfFoTMtw5DaGFjbTkTCn4pFpmApIJ2Bj2qff4 B1A81ndzqb3vn+cbbW5kaTQJmnRS07RsVDvAnyv9y+bBy8IMCNxFJz9wAuUm0aoIL9qT YqhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=DsUa4RJyc5W4pf+d7JH/fhLj8l7nEkIXRqe2U6cf0mE=; b=FZfMYrEIrKtM/ZViytXgRDQsVdECnrQ+bHrpwtCCJqeCkeDHxNDq/z6tFXFvwbAQvi 9t86tkxRMqESAHvL15sQQc6BW7obbZlnntDt3rOhFGx/GesudJgarY3UtEVKj5MMzPNF q0nfAAtbIp4m0fh7oJ5hIypThlYBj6GDFjvxc3l7MOU/l4+QdC5Df3QQBjCoVs5yYd2J YO3u6VDWRoZLqpl4zgnso3jk/du9cSnneo8SVHzoVgXG2VopTCIcdPGC9LSti3i2YLX1 NBUkdwekarRCarR4VTxIiSWsSFUaKZG8zsskRN4G5xraVhQ+/VyLtJVB7zLjY/x2IFLO Z1bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FN4RK6aQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x1-20020a05620a01e100b007593d311c06si8520083qkn.103.2023.05.31.13.09.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 May 2023 13:09:24 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FN4RK6aQ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q4S8E-00054D-23; Wed, 31 May 2023 16:09:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4S8B-0004iF-5i for qemu-devel@nongnu.org; Wed, 31 May 2023 16:09:16 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q4S88-0006ju-AE for qemu-devel@nongnu.org; Wed, 31 May 2023 16:09:14 -0400 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-30ae141785bso28157f8f.3 for ; Wed, 31 May 2023 13:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685563750; x=1688155750; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DsUa4RJyc5W4pf+d7JH/fhLj8l7nEkIXRqe2U6cf0mE=; b=FN4RK6aQKvLtasD8SoJtpTN8mXcdaYMyFog8XHJNJGMzw6xMCKDpBbWmKeHKEGLdRV 3lrMHCuu9Htv9d97DTOEW4qBaoCNqdLxP/lovLoWTcjHFjomnZ8rG+S9CgZREmlUGF0v QcnWQQorzQm4Nxxa5GY0HU3pFqpEnxWzshoTb2BVGAoeYWTqSWu9/OURar6c7kf/c64W PfSpTquloBG0quYGo5UMniZUaPc6b4pjy9z4v6SIyT1HuF/rV8h7sMqSc5QsvOzUW/Y2 HAIaHibIw+n8LwskmDCdtbfdaiVNOTrl+1WISl3RCG/nQUFvGkAMjA+YCvlRMmrDZE1H pC9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685563750; x=1688155750; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DsUa4RJyc5W4pf+d7JH/fhLj8l7nEkIXRqe2U6cf0mE=; b=CdfYLkxEk+Eiw+o4zExob8xOYR9YR41429nbmNPkwvPzlCdNm5R4qjH6crP51VcRiK VGNi4IS055IXxhEhUJZnf3daHntzZpASRC5VCxe0BXbQIce/HyyEU0uoWOIOqLyxQzLn KBtjFy+bQDtRgcce+4jh6enabN8//SGmH/RzV5m7LT3E+ogJ/7rhiAqLrOGl+aRkfLKy bOo0K73tyHxh5EM13H2a7o7THYYHjBMuGEq5zPSCDU+W1xoCbgy0ExHFrOXrKxYdxs8b T9RfOGVAxsN2IvbLV1o7lLTv2lo2mA3Pk5miAkcamwtLHwbYbMXI7nkGpdNDA5xQFrjx JjNw== X-Gm-Message-State: AC+VfDy+ImzmkNPScqn7gKALNB0SQJuVaGt6LhMj2jL1DCUsUq5mrRkH WC8tN3W70eL9kHK8IyV7MFag+A== X-Received: by 2002:a05:6000:1107:b0:306:39e5:f338 with SMTP id z7-20020a056000110700b0030639e5f338mr98507wrw.62.1685563750195; Wed, 31 May 2023 13:09:10 -0700 (PDT) Received: from localhost.localdomain ([176.176.146.12]) by smtp.gmail.com with ESMTPSA id f15-20020adff58f000000b002fae7408544sm7712651wro.108.2023.05.31.13.09.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 31 May 2023 13:09:09 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Thomas Huth , qemu-devel@nongnu.org Cc: Ed Maste , =?utf-8?q?Alex_Benn=C3=A9e?= , Kyle Evans , Li-Wen Hsu , Erik Skultety , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Dani?= =?utf-8?q?el_P_=2E_Berrang=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Warner Losh Subject: [PATCH 0/3] tests/vm/freebsd: Get up-to-date package list from lcitool Date: Wed, 31 May 2023 22:09:03 +0200 Message-Id: <20230531200906.17790-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philmd@linaro.org; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Inspired by this patch from Thomas: https://lore.kernel.org/qemu-devel/20230531090415.40421-1-thuth@redhat.com/ Instead of updating the package list manually, use lcitool vars file. Philippe Mathieu-Daudé (3): tests/vm: Pass project source path to build_image() tests/vm: Introduce get_qemu_packages_from_lcitool_vars() helper tests/vm/freebsd: Get up-to-date package list from lcitool vars file tests/vm/Makefile.include | 1 + tests/vm/basevm.py | 10 +++++++-- tests/vm/centos | 2 +- tests/vm/centos.aarch64 | 2 +- tests/vm/freebsd | 46 +++++---------------------------------- tests/vm/haiku.x86_64 | 2 +- tests/vm/netbsd | 2 +- tests/vm/openbsd | 2 +- tests/vm/ubuntuvm.py | 2 +- 9 files changed, 20 insertions(+), 49 deletions(-)