From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B5824204E for ; Sat, 18 Oct 2025 02:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760754719; cv=none; b=gqK4B8nbiNB5EnMD5KQvXUP18kDLE4vfxgqDXpQCrXYXBA4KoxOpyg6TJQEMuyM7LBoxlIrfacYODARETYLSASRDRGSTiEqtVF0e3u2Yrie7OzHqZ0VgPy6U5H9TeapZLKtwDCwXLnAaKpOodGubnCbK++dWKT+oe3ag5kF8mQA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760754719; c=relaxed/simple; bh=wu52NIub6rDuiep9igLUexI5kMcHJxlkcAAZRvWgke8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dZFyjdy1VByzQw0U80yjGoS+qtep+UUInCuj5/umTmew2mxTfD7z8udseFGJCP2D+8C31wEfBbkdytiIIdLLKAHGOa7Tg14s0NTkmwJ6hUWeo/7ivS5HiOx0cBIyG1EInW9dfzNpLE73O9x+J30ViWfLeU2CLW3LV7aBonP2AFU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=bJAmDhoU; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="bJAmDhoU" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=kdEVj27fxVC3q1lSMmILALaH0Jo6chOylqNWHCS7lic=; b=bJAmDhoUzMIfJxRlUOz7lvsRVb f1Yr2xfS69JMGS4yZP7cnnANQysknb4GHysKcdUH13AVvuBlXCEMbEoClG1AhxKrGLqmUh3pVsF5n /LoVk2K9a4PFBj2DlOlC4qDqI6dM3vbMHKJhapsLhHP5UaVkp4sm1yjK9FfCzaUJokkOchTUKxbUF lm/+6W1lgAEceeZNrJEmM8kSWX19yqus97DJIu4JhORPwbPix/+TehEGWknBhj4dS2QCBioLSYOdo R6IcfOwJ1MplZw3Dh16ZJrNJm0YCGtYEoGiwZMcF0ZeoQmzylPlKy+l8C90Qsu0jA/x+Ezi+Kl0Ar ssG/cWtw==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9wjc-00000009OeJ-3qRH; Sat, 18 Oct 2025 02:31:56 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 1/8] guestfs: Fix Debian 13 (Trixie) APT sources file path Date: Fri, 17 Oct 2025 19:31:46 -0700 Message-ID: <20251018023154.2239688-2-mcgrof@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251018023154.2239688-1-mcgrof@kernel.org> References: <20251018023154.2239688-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Debian 13 (Trixie) changed from using a single /etc/apt/sources.list file to the new DEB822 format in /etc/apt/sources.list.d/debian.sources. This was causing virt-customize to fail during base image creation with: virt-customize: error: libguestfs error: source '/etc/apt/sources.list' does not exist (or cannot be read) Add a conditional default for GUESTFS_DISTRO_SOURCE_AND_DEST_FILE that uses the new path for Debian Trixie while preserving the old path for other Debian versions. Generated-by: Claude AI Signed-off-by: Luis Chamberlain --- kconfigs/Kconfig.guestfs | 1 + 1 file changed, 1 insertion(+) diff --git a/kconfigs/Kconfig.guestfs b/kconfigs/Kconfig.guestfs index 52506a3b..01f68eec 100644 --- a/kconfigs/Kconfig.guestfs +++ b/kconfigs/Kconfig.guestfs @@ -64,6 +64,7 @@ config GUESTFS_DISTRO_SOURCE_AND_DEST_FILE string depends on GUESTFS_COPY_SOURCES_FROM_HOST_TO_GUEST output yaml + default "/etc/apt/sources.list.d/debian.sources" if GUESTFS_DEBIAN_TRIXIE default "/etc/apt/sources.list" if GUESTFS_DEBIAN endif -- 2.51.0