[pve-devel] [PATCH dab-pve-appliances 3/3] pmg: trixie: use pmg-repository only during installation

Stoiko Ivanov s.ivanov at proxmox.com
Tue Sep 30 16:51:30 CEST 2025


This patch depends on the changes for dab, which enable providing a
debian repository only for installation, without it being added to the
resulting container.

this seemed a bit more elegant, than the sed-script for removing
one deb822 entry in a file with multiple entries.

Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 debian-13-trixie-pmg-9-64/Makefile | 1 -
 debian-13-trixie-pmg-9-64/dab.conf | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian-13-trixie-pmg-9-64/Makefile b/debian-13-trixie-pmg-9-64/Makefile
index 35dc127..ab0bc6a 100644
--- a/debian-13-trixie-pmg-9-64/Makefile
+++ b/debian-13-trixie-pmg-9-64/Makefile
@@ -26,7 +26,6 @@ all: info/init_ok ${CVD_FILES}
 	    unrtf \
 	    ;
 	rm ${BASEDIR}/proxmox_install_mode
-	sed -i '/^deb.*\.proxmox\.com\/.*$$/d;$${/^$$/d;}' ${BASEDIR}/etc/apt/sources.list
 	cp ${CVD_FILES} ${BASEDIR}/var/lib/clamav/
 	dab finalize --compressor zstd-max
 
diff --git a/debian-13-trixie-pmg-9-64/dab.conf b/debian-13-trixie-pmg-9-64/dab.conf
index a17a1f7..019933e 100644
--- a/debian-13-trixie-pmg-9-64/dab.conf
+++ b/debian-13-trixie-pmg-9-64/dab.conf
@@ -3,7 +3,7 @@ CacheDir: ../cache
 Source: http://ftp.debian.org/debian SUITE main contrib
 Source: http://ftp.debian.org/debian SUITE-updates main contrib
 Source: http://security.debian.org/debian-security SUITE-security main contrib
-Source: http://download.proxmox.com/debian/pmg/ SUITE pmg-no-subscription
+Install-Source: http://download.proxmox.com/debian/pmg/ SUITE pmg-no-subscription
 Architecture: amd64
 Name: proxmox-mail-gateway-9.0-standard
 Version: 9.0-beta1
-- 
2.39.5





More information about the pve-devel mailing list