From 2d758ba5762c787d5644ac6c1de9bb7df7b8f07d Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 23 Oct 2023 11:52:28 +0200 Subject: [PATCH] add example on how to add additional apt sources --- mmdebstrap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index f9b76a7..47aa8c8 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -6693,6 +6693,10 @@ installed. At that point, the chroot directory does not contain any executables and thus cannot be chroot-ed into. See section B for more information. +Example: add additional apt sources entries on top of the default ones: + + --setup-hook='echo "deb http..." > "$1"/etc/apt/sources.list.d/custom.list' + Example: Setup chroot for installing a sub-essential busybox-based chroot with --variant=custom --include=dpkg,busybox,libc-bin,base-files,base-passwd,debianutils