add example on how to add additional apt sources

main
parent 16c7276921
commit 2d758ba576
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -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<HOOKS> 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

Loading…
Cancel
Save